Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dcdantzler
Post subject: JSP Page Editor failed to open: Unexpected exception thrown  PostPosted: Nov 03, 2010 - 04:38 PM



Joined: Nov 03, 2010
Posts: 4

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)
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: JSP Page Editor failed to open: Unexpected exception thr  PostPosted: Nov 03, 2010 - 06:07 PM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3364

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

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
dcdantzler
Post subject: RE: JSP Page Editor failed to open: Unexpected exception thr  PostPosted: Dec 09, 2010 - 09:32 PM



Joined: Nov 03, 2010
Posts: 4

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
 
 View user's profile Send private message  
Reply with quote Back to top
support-joy
Post subject: RE: JSP Page Editor failed to open: Unexpected exception thr  PostPosted: Dec 10, 2010 - 09:04 AM
Registered Member
Registered Member


Joined: Feb 03, 2009
Posts: 3364

dcdantzler,

Good to hear you are all set.

Best.

_________________
Joy
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits