facebook

ME crash when compiling JSPs w/ taglibs + IBM JDK [Closed]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #225407 Reply

    blade
    Member

    Hi!

    MyEclipse doesn’t respond anymore, when compiling a jsp with the following line of code:
    <%@ taglib uri=”notesparse” prefix=”notesparse” %>

    when I check the running processes, I can see, that the javaw.exe consumes about 98 % of CPU, memory consumption is increasing a bit as well. After 15 min I have to kill the JVM manually. It looks like an infinite loop.

    If I remove the line with taglib, then it works.

    I’ve reinstalled Eclipse and MyEclipse in a new clean directory, but I have the same problem.

    Can you please help me?

    I have MyEclipse 3.8.3 (200412061200) and Eclipse 3.1.0 (200412162000).

    Please ask me what kind of additional log I should provide for the investigation!

    Thanks in advance,
    Bela

    #225434

    Riyad Kalla
    Member

    Can you please help me?

    I have MyEclipse 3.8.3 (200412061200) and Eclipse 3.1.0 (200412162000).

    Bela first, thank you for posting your stats, many people forget this info, secondly it is important to note that you are using Eclipse 3.1 (likely M4) and the only compatible version of MyEclipse that we have released is our 3.8.4 BETA for Eclipse 3.1 release, it is in our downloads section under “Eclipse 3.1”, please uninstall what you have and install that version instead. I’m actually surprised 3.8.3 is even running under 3.1 😉

    #225530

    blade
    Member

    Now I have MyEclipse 3.8.4 (200501171200) and Eclipse 3.1.0 (200412162000). I’ve uninstalled older MyEclipse versions as well. When I try to compile the corresponding jsp, Eclipse crashes and I get the following message:

    JVM terminated. Exit code=-1073741819
    C:\Windows\system32\javaw.exe
    -cp C:\eclipse-3.1M4\startup.jar org.eclipse.core.launcher.Main
    -os win32
    -ws win32
    -arch x86
    -showsplash C:\eclipse-3.1M4\eclipse.exe -showsplash 600
    -exitdata C:\eclipse-3.1M4\eclipse.exe -exitdata 2d4_68
    -vm C:\WINDOWS\system32\javaw.exe
    -vmargs
    -cp C:\eclipse-3.1M4\startup.jar org.eclipse.core.launcher.Main

    #225531

    Riyad Kalla
    Member

    blade,
    What was the name of the EXE you used to install MyEclipse? What is the FULL version from the Window > Prefs > MyEclipse screen of MyEclipse?

    Please open your log file (<workspace dir>\.metadata\.log) and paste exceptions near the bottom that are related to the crash or the JSP editor, to help us figure out what is going on.

    #225535

    blade
    Member

    Name of the EXE: EnterpriseWorkbenchInstaller_030804_3.1Beta.exe
    Version: 3.8.4+QF2-BetaFor3.1
    Build Id: 200502031200-3.8.4+QF2-BetaFor3.1

    And I can see two exceptions in the log file:

    !ENTRY com.genuitec.eclipse.core 1 1 2005-02-21 18:44:09.515
    !MESSAGE Error collecting output paths
    !STACK 0
    java.lang.NullPointerException
    at com.genuitec.eclipse.core.util.JavaMetaUtils.getOutputDirectoryPaths(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getOutputDirectoryPaths(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.ā(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.refresh(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.AbstractTaglibRegistry.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.WebTaglibRegistry.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.createNewRegistry(Unknown Source)
    at com.genuitec.eclipse.j2eedt.taglib.TaglibRegistryManager.getTaglibRegistry(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getTaglibURIStream(Unknown Source)
    at com.genuitec.eclipse.integration.Integrator.projectResolver_NA1(Unknown Source)
    at com.ibm.sse.model.util.ProjectResolver.getURIStream(Unknown Source)
    at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager.loadTaglib(Unknown Source)
    at

    !ENTRY com.genuitec.eclipse.core 1 1 2005-02-21 18:44:12.419
    !MESSAGE Error collecting output paths
    !STACK 1
    Java Model Exception: Java Model Status [bishop does not exist]
    at org.eclipse.jdt.internal.core.JavaElement.newNotPresentException(JavaElement.java:527)
    at org.eclipse.jdt.internal.core.JavaModelManager.getPerProjectInfoCheckExistence(JavaModelManager.java:941)
    at org.eclipse.jdt.internal.core.JavaProject.getPerProjectInfo(JavaProject.java:1779)
    at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation(JavaProject.java:1603)
    at org.eclipse.jdt.internal.core.JavaProject.getOutputLocation(JavaProject.java:1592)
    at com.genuitec.eclipse.core.util.JavaMetaUtils.getOutputDirectoryPaths(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getOutputDirectoryPaths(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.Ă(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.ā(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.JSPValidator.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction$1.run(Unknown Source)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1674)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1694)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.ValidateAction.run(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validateIfNeeded(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.validation.Validator.validate(Unknown Source)
    at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)

    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
    !SUBENTRY 1 org.eclipse.jdt.core 4 969 2005-02-21 18:44:12.429
    !MESSAGE bishop does not exist

    #225536

    Riyad Kalla
    Member

    Name of the EXE: EnterpriseWorkbenchInstaller_030804_3.1Beta.exe
    Version: 3.8.4+QF2-BetaFor3.1
    Build Id: 200502031200-3.8.4+QF2-BetaFor3.1

    Everything looks good here…

    java.lang.NullPointerException
    at com.genuitec.eclipse.core.util.JavaMetaUtils.getOutputDirectoryPaths(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProjectUtil.getOutputDirectoryPaths(Unknown Source)

    Hmm, can you check your Java Build Path and Source tab to see if your source and output dirs are setup correctly?

    Java Model Exception: Java Model Status [bishop does not exist]

    Who’s Bishop?

    #225564

    blade
    Member

    Hmm, can you check your Java Build Path and Source tab to see if your source and output dirs are setup correctly?

    The settings seem to be OK.

    Java Model Exception: Java Model Status [bishop does not exist]
    Who’s Bishop?

    It is another project. I didn’t check out from the CVS into the new installation directory. I’ve done it now, this exception is gone, but I still cannot rebuild workspace.

    I’ve also realized, that the crash occurs more exactly at the validation of the jsp, before complining it. I can reproduce it by selecting the corresponding jsp and clicking on “MyEclipse\Run Validation” in the pop-up menu.

    Unfortunately no exception is logged in the .log file when eclipse crashes during the validation. However I can see two suspicious exceptions when I start eclipse, it may help:

    !ENTRY org.eclipse.ui.workbench 4 2 2005-02-22 10:32:24.409
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    An error has occurred when initializing the input for the the editor’s source page.
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(Unknown Source)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:227)

    !ENTRY org.eclipse.ui.workbench 4 2 2005-02-22 10:33:19.619
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    java.lang.LinkageError: Class org/xml/sax/EntityResolver violates loader constraints: definition mismatch between parent and child loaders
    at org.jdom.input.SAXBuilder.configureParser(SAXBuilder.java:506)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:351)
    at org.jdom.input.SAXBuilder.build(SAXBuilder.java:673)
    at com.genuitec.eclipse.j2eedt.metadata.ProjectModule.unmarshal(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProject.loadMetaData(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EEProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.WebProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.WebProject.<init>(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProjectsList(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProject(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.selectionChanged(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:195)

    #225569

    Riyad Kalla
    Member

    Hmm, this user is seeing it with Tomcat in general: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg18363.html

    Do you have any custom XML libraries in your <jdk>\jre\lib\ext directory?

    #225579

    blade
    Member

    The following files are in the lib/ext directory:
    gskikm.jar
    ibmjceprovider.jar
    indicim.jar
    jaccess.jar
    JawBridge.jar
    ldapsec.jar
    oldcertpath.jar

    I don’t know if they contain custom XML librairies, at least they don’t seem to do. Anyway your question gave me an idea. I started Eclipse with a SUN JDK instead of IBM’s one I used before. And it works!

    Thank you very much for your help!

    Bela

    #225580

    Riyad Kalla
    Member

    Good find Bela, I’m glad it is working now.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: ME crash when compiling JSPs w/ taglibs + IBM JDK [Closed]

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