Visualization Perspective causes NPE [message #39970] |
Sat, 07 August 2004 11:39 |
Eclipse User |
|
|
|
Originally posted by: comfortably007numb-python.yahoo.com
Hi,
I am using eclipse 3.0.1 (build 200407281300) with AJDT 1.1.11 from the
update site. When I try to switch to the visualization perspective I
get the following error. I get a similar exception when I click on a
package when the visualization view is open. Has anybody else had this
issue? If so, is there a fix? I can try a development version of the
plugin if this issues has been addressed in it.
java.lang.NullPointerException
at
org.eclipse.ajdt.ui.visualiser.AspectVisualizerPerspectiveFa ctory.createHorizontalLayout(AspectVisualizerPerspectiveFact ory.java:104)
at
org.eclipse.ajdt.ui.visualiser.AspectVisualizerPerspectiveFa ctory.createInitialLayout(AspectVisualizerPerspectiveFactory .java:38)
at
org.eclipse.ui.internal.Perspective.loadPredefinedPersp(Pers pective.java:658)
at
org.eclipse.ui.internal.Perspective.createPresentation(Persp ective.java:193)
at org.eclipse.ui.internal.Perspective.<init>(Perspective.java:100)
at
org.eclipse.ui.internal.WorkbenchPage.createPerspective(Work benchPage.java:1148)
at
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:736)
at
org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage .java:728)
at
org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:2917)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:2915)
at
org.eclipse.ui.internal.ChangeToPerspectiveMenu.run(ChangeTo PerspectiveMenu.java:87)
at
org.eclipse.ui.actions.PerspectiveMenu.run(PerspectiveMenu.j ava:303)
at
org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveM enu.java:318)
at
org.eclipse.ui.actions.PerspectiveMenu$4.widgetSelected(Pers pectiveMenu.java:134)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2595)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2298)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:254)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:141)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:96)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
waiting for reply,
--
Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad
|
|
|
Re: Visualization Perspective causes NPE [message #40007 is a reply to message #39970] |
Sat, 07 August 2004 15:37 |
Eclipse User |
|
|
|
Originally posted by: mchapman.uk.ibm.com
On Sat, 07 Aug 2004 06:39:33 -0500, Venkatesh Prasad Ranganath wrote:
> I am using eclipse 3.0.1 (build 200407281300) with AJDT 1.1.11 from the
> update site. When I try to switch to the visualization perspective I
> get the following error. I get a similar exception when I click on a
> package when the visualization view is open. Has anybody else had this
> issue? If so, is there a fix? I can try a development version of the
> plugin if this issues has been addressed in it.
>
> java.lang.NullPointerException
You'd be better off with the latest stable release of Eclipse which is
3.0.0 (build 200406251208). I haven't tried AJDT with any of the 3.0.1
builds myself - the one you're using doesn't seem to be available any
more. I'll try the latest 3.0.1 build later and see if the problem exists
there.
Regards,
Matt.
|
|
|
Re: Visualization Perspective causes NPE [message #40068 is a reply to message #40007] |
Mon, 09 August 2004 08:08 |
Eclipse User |
|
|
|
Originally posted by: mchapman.uk.ibm.com
On Sat, 07 Aug 2004 16:37:49 +0100, Matt Chapman wrote:
> You'd be better off with the latest stable release of Eclipse which is
> 3.0.0 (build 200406251208). I haven't tried AJDT with any of the 3.0.1
> builds myself - the one you're using doesn't seem to be available any
> more. I'll try the latest 3.0.1 build later and see if the problem exists
> there.
I've raised bug 71624 as the problem occurred with 3.0.1 M20040805 (build
200408051455). We still recommend using 3.0 final as that's had more
testing, but this NPE will be fixed for AJDT 1.1.12.
Regards,
Matt.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03723 seconds