facebook

validation causing a java.lang.StackOverflowError

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • #225706 Reply

    Riyad Kalla
    Member

    jrmihalick,
    You have me and another developer stumped, we tested all the validators locally on our workspaces and they do infact “turn off” when you turn them off, so that lead us to only one possibly solution: f-ed up workspace.

    Please do the same sanity checks that I asked Keither to do above, that will give us some context:

    Let’s try a sanity check… shut down MyEclipse, edit the shortcut you use to start it and add -clean to the front of the command line args, start it up, then shut it down and you can remove clean (this forces it to rebuild the plugin cache).

    Now start it back up, go to File > Switch Workspace and choose a new temp location, like /tmp/testingEclipse and hit OK, let Eclipse restart. Create a new Web Project, add some artifacts that normall causes validation errors in your other project. Now navigate to /tmp/testingEclipse/.metadata/.log and see if there are stack overflow exceptions. If not, try and open your OLD workspace backup (delete the log file before hand just to make tracking messages easier) and see if it is gone, or if it is back… if it IS back, go back to your testing workspace (the one without problems) And check all 3 of those projects out into that workspace… start editing and working, check the log file, are there overflow exceptions again?

    #227783 Reply

    jrmihalick
    Member

    Hello? Can anyone answer my inquiry about how to turn of the Structed Document and Model Builder (SDMB)? My renew date for myEclipse is 14 days away and I am really debating if I want to renew because of this issue. Can anyone tell me how to turn off the SDMB? Anyone?

    #227784 Reply

    jrmihalick
    Member

    rkalla,

    I just now saw your posting from Feb 24. I will try your suggestion as soon as I can get to it. Hopefully this weekend.


    Jason

    #232705 Reply

    margorp
    Member

    I am having similar out of memory problems when opening an instance document with a schema reference.

    The problem existed in Eclipse 3.0 with MyEclipse 3.8.4 and I just did a fresh install of Eclipse 3.1 with MyEclipse 40M2 using a new workspace and the problem persists. JVM is 1.4.2_06. I have tried passing in -Xmx512m and -Xmx1024m on the shortcut but I still get the error (machine has 1.5GB RAM running Windows XP).

    The schemas are extremely large but I can open the same instance document in Java and use Xerces to validate against the same schema without getting the error.

    .log entries:

    
    !ENTRY org.eclipse.core.runtime 4 2 2005-07-11 09:50:55.294
    !MESSAGE An internal error occurred during: "loading s:/eclipse/workspaces/31/ETIMESchemas/conformance/cib/add/WIAddCIBConformanceDoc.xsd".
    !STACK 0
    java.lang.OutOfMemoryError
    
    !ENTRY org.eclipse.ui 4 4 2005-07-11 09:50:55.294
    !MESSAGE Unhandled event loop exception
    
    !ENTRY org.eclipse.ui 4 0 2005-07-11 09:50:55.294
    !MESSAGE java.lang.OutOfMemoryError
    !STACK 0
    java.lang.OutOfMemoryError
    

    Any help would be greatly appreciated,

    Jean

    #232720 Reply

    Riyad Kalla
    Member

    Jean
    Is there any way you can send this file to support@genuitec.com ATTN Riyad with a link to this page?

    #232755 Reply

    Riyad Kalla
    Member

    Followup from email:

    Your XSD is triggering a bug in our XML parser that is sending it into an infinite loop. We are looking into this.

Viewing 6 posts - 16 through 21 (of 21 total)
Reply To: validation causing a java.lang.StackOverflowError

You must be logged in to post in the forum log in