castor
  1. castor
  2. CASTOR-1349

java.lang.StackOverflowError when marshalling an object with vectors without mapping file

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: 0.9.9, 0.9.9.1, 1.0 M1, 1.0 M2, 1.0 M3
    • Fix Version/s: None
    • Component/s: XML
    • Labels:
      None
    • Environment:
      IBM AIX 5.2, JDK 1.3.1. Windows 2000 Server SP4, JDK 1.3.1 and 1.4.2_03
    • Number of attachments :
      1

      Description

      Hi,

      We are trying to marshall an object that contains a vector, without using a mapping file. Using a simple object, the isn't problems, but using a more complex one, class Marshaller falls into loop and fail with a StackOverFlowException.

      I attached a test code (eclipse project).

      Regards,

        Activity

        Hide
        Werner Guttmann added a comment -

        Hi, would it be possible if you provides us with a unified patch relative to src/bugs ?

        Show
        Werner Guttmann added a comment - Hi, would it be possible if you provides us with a unified patch relative to src/bugs ?
        Hide
        Werner Guttmann added a comment -

        In other words, I really appreciate your efforts to provide us with a working sample that shows the problem at hand, but it would (really, again .. ) make our life easier if you moved your classes (incl. test case et alias) into a new sub-directory of src/bugs, and provided us with a unifoed patch.

        Show
        Werner Guttmann added a comment - In other words, I really appreciate your efforts to provide us with a working sample that shows the problem at hand, but it would (really, again .. ) make our life easier if you moved your classes (incl. test case et alias) into a new sub-directory of src/bugs, and provided us with a unifoed patch.
        Hide
        xavi added a comment -

        Hi,

        In other words, you want a junit testcase using template in src/bugs ?

        Show
        xavi added a comment - Hi, In other words, you want a junit testcase using template in src/bugs ?
        Hide
        Werner Guttmann added a comment -

        Being asked, yes, please .. . If it's not too much an overhead for you, we'd really appreciate it. Point is that on the JDO side of things, we tyr to enforce this more and more, whereas on the XML side, I'll only push out an email in a few days introducing this (soft) requirement. Just take one of the existing directories in src/bugs as a tempŘate, and add whatever is required to make your test run (or fail in your case).

        Show
        Werner Guttmann added a comment - Being asked, yes, please .. . If it's not too much an overhead for you, we'd really appreciate it. Point is that on the JDO side of things, we tyr to enforce this more and more, whereas on the XML side, I'll only push out an email in a few days introducing this (soft) requirement. Just take one of the existing directories in src/bugs as a tempŘate, and add whatever is required to make your test run (or fail in your case).
        Hide
        xavi added a comment -

        We are working on it.

        Show
        xavi added a comment - We are working on it.
        Hide
        Werner Guttmann added a comment -

        Great. Let us know whether you need any help and/or input.

        Show
        Werner Guttmann added a comment - Great. Let us know whether you need any help and/or input.
        Hide
        xavi added a comment -

        Ok, I have the test. How I send it to you?

        Show
        xavi added a comment - Ok, I have the test. How I send it to you?
        Hide
        Ralf Joachim added a comment -

        If you are lgoged in at jira and have selected to show this issue you should see a link 'Attach file' on the left hand side of the page just above the 'Comment' link you used before.

        Show
        Ralf Joachim added a comment - If you are lgoged in at jira and have selected to show this issue you should see a link 'Attach file' on the left hand side of the page just above the 'Comment' link you used before.
        Ralf Joachim made changes -
        Field Original Value New Value
        Attachment patch-C1342-20070621.txt [ 28092 ]
        Ralf Joachim made changes -
        Comment [ Updated patch against SVN HEAD.

        All test of our test suite as well as the tests included with the patch execute without failures.

        Having said that the patch does not implement the solution we have in mind and I am not able to tell if it works together with Hibernate as needed. ]
        Ralf Joachim made changes -
        Attachment patch-C1342-20070621.txt [ 28092 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            xavi
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: