facebook

error when clicking on jsp file the ide crashes and closes

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • #332547 Reply

    gme58
    Member

    System Info

    MyEclipse Blue Edition

    Version: 10.1 Blue
    Build id: 10.1-Blue-20120316

    doesn’t happen when I right clilck but when I double click
    error message in log

    !ENTRY org.eclipse.osgi 2 0 2012-11-21 16:12:50.284
    !MESSAGE While loading class “org.eclipse.pde.internal.core.ICoreConstants”, thread “Thread[Worker-8,5,main]” timed out waiting (5000ms) for thread “Thread[Worker-11,5,main]” to finish starting bundle “org.eclipse.pde.core_3.7.1.v20120103_r372 [870]”. To avoid deadlock, thread “Thread[Worker-8,5,main]” is proceeding but “org.eclipse.pde.internal.core.ICoreConstants” may not be fully initialized.
    !STACK 0
    org.osgi.framework.BundleException: State change in progress for bundle “reference:file:/C:/Program Files/MyEclipse Blue Edition/Common/plugins/org.eclipse.pde.core_3.7.1.v20120103_r372.jar” by thread “Worker-11”.
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at org.eclipse.pde.internal.core.project.PDEProject.getManifest(PDEProject.java:144)
    at org.eclipse.pde.internal.core.WorkspaceModelManager.isPluginProject(WorkspaceModelManager.java:26)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.isInterestingProject(JavaElementChangeListener.java:110)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.handleDelta(JavaElementChangeListener.java:52)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.handleChildDeltas(JavaElementChangeListener.java:73)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.handleDelta(JavaElementChangeListener.java:50)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.elementChanged(JavaElementChangeListener.java:38)
    at org.eclipse.jdt.internal.core.DeltaProcessor$4.run(DeltaProcessor.java:1670)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1660)
    at org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:1494)
    at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1470)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:769)
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
    at org.eclipse.jdt.internal.core.CompilationUnit.getWorkingCopy(CompilationUnit.java:985)
    at org.eclipse.jdt.internal.core.CompilationUnit.getWorkingCopy(CompilationUnit.java:960)
    at org.eclipse.jst.jsp.core.internal.java.JSPTranslation.createCompilationUnit(JSPTranslation.java:456)
    at org.eclipse.jst.jsp.core.internal.java.JSPTranslation.getCompilationUnit(JSPTranslation.java:366)
    at org.eclipse.jst.jsp.core.internal.java.JSPTranslation.getJavaPath(JSPTranslation.java:149)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getPath(JSPSearchDocument.java:161)
    at org.eclipse.jst.jsp.core.internal.java.search.JavaSearchDocumentDelegate.<init>(JavaSearchDocumentDelegate.java:30)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.createSearchDocument(JSPSearchSupport.java:448)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.addJspFile(JSPSearchSupport.java:278)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPIndexManager.performAction(JSPIndexManager.java:146)
    at org.eclipse.wst.sse.core.indexing.AbstractIndexManager$1.run(AbstractIndexManager.java:1529)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.wst.sse.core.indexing.AbstractIndexManager$ResourceEventProcessingJob.run(AbstractIndexManager.java:1527)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    … 42 more
    Root exception:
    org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
    at org.eclipse.pde.internal.core.project.PDEProject.getManifest(PDEProject.java:144)
    at org.eclipse.pde.internal.core.WorkspaceModelManager.isPluginProject(WorkspaceModelManager.java:26)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.isInterestingProject(JavaElementChangeListener.java:110)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.handleDelta(JavaElementChangeListener.java:52)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.handleChildDeltas(JavaElementChangeListener.java:73)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.handleDelta(JavaElementChangeListener.java:50)
    at org.eclipse.pde.internal.core.JavaElementChangeListener.elementChanged(JavaElementChangeListener.java:38)
    at org.eclipse.jdt.internal.core.DeltaProcessor$4.run(DeltaProcessor.java:1670)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.jdt.internal.core.DeltaProcessor.notifyListeners(DeltaProcessor.java:1660)
    at org.eclipse.jdt.internal.core.DeltaProcessor.firePostChangeDelta(DeltaProcessor.java:1494)
    at org.eclipse.jdt.internal.core.DeltaProcessor.fire(DeltaProcessor.java:1470)
    at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:769)
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:788)
    at org.eclipse.jdt.internal.core.CompilationUnit.getWorkingCopy(CompilationUnit.java:985)
    at org.eclipse.jdt.internal.core.CompilationUnit.getWorkingCopy(CompilationUnit.java:960)
    at org.eclipse.jst.jsp.core.internal.java.JSPTranslation.createCompilationUnit(JSPTranslation.java:456)
    at org.eclipse.jst.jsp.core.internal.java.JSPTranslation.getCompilationUnit(JSPTranslation.java:366)
    at org.eclipse.jst.jsp.core.internal.java.JSPTranslation.getJavaPath(JSPTranslation.java:149)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchDocument.getPath(JSPSearchDocument.java:161)
    at org.eclipse.jst.jsp.core.internal.java.search.JavaSearchDocumentDelegate.<init>(JavaSearchDocumentDelegate.java:30)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.createSearchDocument(JSPSearchSupport.java:448)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPSearchSupport.addJspFile(JSPSearchSupport.java:278)
    at org.eclipse.jst.jsp.core.internal.java.search.JSPIndexManager.performAction(JSPIndexManager.java:146)
    at org.eclipse.wst.sse.core.indexing.AbstractIndexManager$1.run(AbstractIndexManager.java:1529)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.wst.sse.core.indexing.AbstractIndexManager$ResourceEventProcessingJob.run(AbstractIndexManager.java:1527)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Attachments:
    You must be logged in to view attached files.
    #332557 Reply

    gme58,

    Sorry that you are seeing this issue with MyEclipse for Blue.

    Can you please update your MyEclipse Blue 10.1 to our latest version 10.7 or Install MyEclipse blue 10.7 in new location , switch to a new workspace and check if the issue persists ?

    If the issue still persists then start the IDE with -clean command args , switch to a new workspace and check.

    Here is an FAQ on using the -clean :
    https://www.genuitec.com/forums/topic/troubleshoot-using-the-clean-command-line-argument/

    Let us know how it works for you.

    #332718 Reply

    gme58
    Member

    It only happens when opening a jsp page written in older code maybe from 5 years ago

    #332736 Reply

    gme58,

    1) Can you please clarify whether you have updated to MyEclipse 10.7 version and tried in a clean workspace ?
    2) If the issue still exist in a clean new workspace then can you please attach the JSP file to help us investigate further ?

    #332750 Reply

    gme58
    Member

    attached a jsp sample it does it on version 10 and version 9 on different workspaces nothig will stop the crashing

    #332751 Reply

    gme58
    Member

    attached a jsp sample it does it on version 10 and version 9 on different workspaces nothig will stop the crashing

    #332755 Reply

    gme58
    Member

    !ENTRY org.eclipse.osgi 2 0 2012-11-27 09:52:53.113
    !MESSAGE While loading class “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16”, thread “Thread[Worker-19,5,main]” timed out waiting (5000ms) for thread “Thread[main,6,main]” to finish starting bundle “org.eclipse.wst.jsdt.core_1.1.100.me201207241813 [998]”. To avoid deadlock, thread “Thread[Worker-19,5,main]” is proceeding but “org.eclipse.wst.jsdt.internal.core.JavaModelManager$16” may not be fully initialized.
    !STACK 0
    org.osgi.framework.BundleException: State change in progress for bundle “reference:file:/C:/Program Files/MyEclipse Blue Edition/Common/plugins/org.eclipse.wst.jsdt.core_1.1.100.me201207241813.jar” by thread “main”.
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    … 15 more
    Root exception:
    org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1087)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:297)
    at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
    at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
    at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
    at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:463)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
    at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at org.eclipse.wst.jsdt.internal.core.JavaModelManager$15.run(JavaModelManager.java:4182)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    #332785 Reply

    gme58,

    I don’t find any JSP file attached. You can follow this thread to upload attachments:
    https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/

    Alternatively, You can send the JSP file to support@genuitec.com. Please add ATTN:Pradeep in the subject and refer to this thread.

    #332797 Reply

    gme58
    Member

    I doubt if the jsp has any thing to do with this

    Attachments:
    You must be logged in to view attached files.
    #332800 Reply

    gme58
    Member

    don’t see how this is a coding issue

    #332821 Reply

    gme58
    Member

    attaching 2 more log files

    Attachments:
    You must be logged in to view attached files.
    #332840 Reply

    support-tony
    Keymaster

    gme58,

    Thanks for the information and files. As you say, the JSP looks fine and we can’t replicate the problem here. However, some of the information you’ve provided is confusing.

    You said that when you right click on the file, there is no problem. Does this mean that you can open the JSP with one of the editors shown with the right click (context) menu? There may be other editors that can also open the file if the Other option is chosen on the context menu. Could you please try this?

    You also say that there is a problem when creating a new JSP. Do you mean that the IDE crashes with the same problem during the create process? Is this only in the older project or is this true in a new project?

    In your second post, you say that the problem only occurs in older JSPs. However, this seems to conflict with the last point about not being able to create or open new JSPs. Could you please clarify the situation with newer projects and older projects?

    Depending on your answers to the above, you might want to try some of the following:

    • Try creating an entirely new project and import the source folders from the older project.
    • Ensure that the older project doesn’t need upgrading for later MyEclipse releases. Go to MyEclipse->Upgrade Projects for MyEclipse 9 and above… If there are projects to be upgraded, go through the upgrade process for them.
    • Repair or reinstall MyEclipse from the installer you used, or install the latest release (you can install this alongside your current installation). Note that settings are stored with the workspace but any added plug-ins may need to be reinstalled, depending on how you choose to reinstall MyEclipse.

    Please let us know if any of this helps.[/list]

    #332855 Reply

    gme58
    Member

    I have already tried all of the suggestions in your last post.
    when right clicking jsp designer it crashes when right clicking jsp editor it runs for a few minutes and then opens. old or new it doesn’t matter crashes.
    empty new workspace and it crashes as well

    Thanks

    #332860 Reply

    gme58
    Member
    #332892 Reply

    support-tony
    Keymaster

    gme58,

    So, you’re now saying that you get a crash with any jsp file in any project, old or new? Did this problem start when you first imported an old project? That seems to be the case from your initial post. If so, did you change anything related to MyEclipse or your system around that time?

    The old topic that you pointed to contains a different stack from your crash, so is probably not related.

    Another editor to try is the Web Page Editor. Right click on the file and select Open With->Other, then scroll to the Web Page Editor and select that. Is that more stable?

    If the problem with JSPs did not occur previously, could you please try a new installation in an entirely different location, to ensure that no corrupted file is picked up? To do this, delete or rename the .pulse2.locator file, in your home folder, and then run the installer (preferably for 10.7), specifying a different folder for the install. Let us know if the editor still crashes.

    If the problem persists, in your reply can you please detail all of the steps you have followed in each of the solutions you attempt? This may save some confusion and delay.

    Sorry for the inconvenience.

Viewing 15 posts - 1 through 15 (of 21 total)
Reply To: error when clicking on jsp file the ide crashes and closes

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