facebook

JSP Page Editor failed to open: Unexpected exception thrown

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

    dcdantzler
    Member

    I tried to open a jsp file and the editor failed to open. Logs pointed to a NullPointer exception. Include the stack trace. Any thoughts?

    java.lang.NullPointerException
    at org.eclipse.jst.jsf.core.internal.tld.CMUtil.getStandaloneTLDURI(CMUtil.java:129)
    at org.eclipse.jst.jsf.core.internal.tld.CMUtil.getURIFromTaglibRecord(CMUtil.java:117)
    at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteHelper.configPaletteItemsByTLD(PaletteHelper.java:100)
    at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.registerTldFromClasspath(PaletteItemManager.java:205)
    at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.initFromProject(PaletteItemManager.java:181)
    at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.init(PaletteItemManager.java:147)
    at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.<init>(PaletteItemManager.java:130)
    at org.eclipse.jst.pagedesigner.editors.palette.impl.PaletteItemManager.getInstance(PaletteItemManager.java:72)
    at org.eclipse.jst.pagedesigner.editors.palette.DesignerPaletteRootFactory.createPaletteRoot(DesignerPaletteRootFactory.java:94)
    at org.eclipse.jst.pagedesigner.editors.SimpleGraphicalEditor.getPaletteRoot(SimpleGraphicalEditor.java:486)
    at org.eclipse.gef.ui.parts.GraphicalEditorWithFlyoutPalette.setEditDomain(GraphicalEditorWithFlyoutPalette.java:143)
    at org.eclipse.jst.pagedesigner.editors.SimpleGraphicalEditor.<init>(SimpleGraphicalEditor.java:165)
    at com.genuitec.eclipse.jsf.designer.editors.JSFDesignerEditor.sash_createAndAddDesignSourcePage(JSFDesignerEditor.java:193)
    at com.genuitec.eclipse.jsf.designer.editors.JSFDesignerEditor.createPages(JSFDesignerEditor.java:364)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:357)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
    at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1417)
    at org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476)
    at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
    at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384)
    at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
    at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
    at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
    at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
    at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
    at org.eclipse.ui.internal.Workbench.init(Workbench.java:1379)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2335)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

    #312443 Reply

    support-joy
    Member

    Hi,

    Can you please answer below queries –
    1. What is your installation detail? Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > installation details
    2. What is the editor you are using to open the JSF file? Can you check if you are able to open the jsp file using a different editor
    3. Have you added any third party plugins? If yes, can you list them here?

    Can you refer to http://www.myeclipseide.com/PNphpBB2-viewtopic-t-24926-postdays-0-postorder-asc-start-0.html and check if the solutions work for you

    #313207 Reply

    dcdantzler
    Member

    Thanks

    I downloaded 8.6 of MyEclipse and the problem seems to have gone away, great news. During the install, I tried to upgrade my current version of MyEclipse, but the installer reported missing components, so I had to place a copy of 8.6. Somehow, I thought the installer would have all the necessary components to perform an upgrade. I must be missing something here. In the future, I would like to just upgrade rather than copying new versions to preserve disk space. I do a bit more research on just how to perform an upgrade.

    Thanks so Much

    #313214 Reply

    support-joy
    Member

    dcdantzler,

    Good to hear you are all set.

    Best.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: JSP Page Editor failed to open: Unexpected exception thrown

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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