[JBoss JIRA] Created: (JBIDE-1179) NPE in palette
by Max Andersen (JIRA)
NPE in palette
--------------
Key: JBIDE-1179
URL: http://jira.jboss.com/jira/browse/JBIDE-1179
Project: JBoss Tools
Issue Type: Bug
Components: Visual Page Editor
Affects Versions: 2.0.0.CR1
Reporter: Max Andersen
Assigned To: Alexey Kazakov
Fix For: 2.0.0.CR1
I found this NPE in the error log - didn't do anything special.
java.lang.NullPointerException
at org.jboss.tools.vpe.ui.palette.model.PaletteModel.getXPaletteRoot(PaletteModel.java:60)
at org.jboss.tools.vpe.ui.palette.model.PaletteModel.load(PaletteModel.java:100)
at org.jboss.tools.vpe.ui.palette.model.PaletteModel.createModel(PaletteModel.java:92)
at org.jboss.tools.vpe.ui.palette.model.PaletteModel.getInstance(PaletteModel.java:47)
at org.jboss.tools.vpe.ui.palette.PaletteAdapter.createControl(PaletteAdapter.java:53)
at org.jboss.tools.common.model.ui.views.palette.PaletteViewPart.createPartControlImpl(PaletteViewPart.java:63)
at org.jboss.tools.common.model.ui.views.palette.PaletteViewPart.createPartControl(PaletteViewPart.java:50)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:370)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:668)
at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:564)
at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:270)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:931)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3479)
at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:997)
at org.eclipse.ui.internal.WorkbenchPage.access$18(WorkbenchPage.java:981)
at org.eclipse.ui.internal.WorkbenchPage$18.run(WorkbenchPage.java:3578)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3576)
at org.eclipse.ui.internal.PerspectiveBarContributionItem.select(PerspectiveBarContributionItem.java:123)
at org.eclipse.ui.internal.PerspectiveBarContributionItem$1.widgetSelected(PerspectiveBarContributionItem.java:92)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 5 months
[JBoss JIRA] Commented: (JBIDE-737) Problems occurr when CSS file is created
by Viacheslav Kabanovich (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-737?page=comments#action_12385089 ]
Viacheslav Kabanovich commented on JBIDE-737:
---------------------------------------------
That is very strange because you can see that exceptions are caused by request from Outline view.
Probably, you need close Outline view and restart Eclipse (without it).
Please check that you use WTP 2.0.1. Now, this exception looks like WTP bug, but I do not have it.
Anyway, I need an exact sequence starting from clean workspace (in terms EXECUTE/ASSERT as we do lately).
> Problems occurr when CSS file is created
> ----------------------------------------
>
> Key: JBIDE-737
> URL: http://jira.jboss.com/jira/browse/JBIDE-737
> Project: JBoss Tools
> Issue Type: Bug
> Environment: Windows XP
> RHDS build-333
> Reporter: Anton Klimkovich
> Assigned To: Viacheslav Kabanovich
> Fix For: 2.0.0.CR1
>
> Attachments: Create_Css.txt, Create_Css2.txt, Create_CSS3.txt, Css edit.txt, csserror.JPG, cssError.txt
>
>
> 1 Right click on WebContent ->New->File->Css...
> 2 Inpute file name and press finish
> Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
> Log file attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 5 months