Bug 118208 - Visualiser errors
Summary: Visualiser errors
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.2.1   Edit
Assignee: Sian January CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-28 05:37 EST by Sian January CLA
Modified: 2005-11-28 07:41 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sian January CLA 2005-11-28 05:37:39 EST
Install the Telecom Example project and activate 'billing.ajproperties'.  Open the Aspect Visualization perspective and select the Telecom Example project in the Projects view.  Switch back to the Java perspective, open Billing.aj and type the following:

declare warning: call(* *(..)): "Warning";

Save and switch back to the Aspect Visualization perspective.  Lots of errors appear in a pop-up window.  Stack trace below.

java.lang.NullPointerException
at org.eclipse.ajdt.internal.ui.visualiser.AJDTMarkupProvider.updateModel(AJDTMarkupProvider.java:130)
at org.eclipse.ajdt.internal.ui.visualiser.AJDTMarkupProvider.getMemberMarkups(AJDTMarkupProvider.java:78)
at org.eclipse.contribution.visualiser.views.VisualiserCanvas.calculateStripeGeom(VisualiserCanvas.java:867)
at org.eclipse.contribution.visualiser.views.VisualiserCanvas.calculateGeom(VisualiserCanvas.java:818)
at org.eclipse.contribution.visualiser.views.VisualiserCanvas.redraw(VisualiserCanvas.java:703)
at org.eclipse.contribution.visualiser.views.Visualiser$9.runInUIThread(Visualiser.java:449)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:93)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2750)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2435)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:185)
at org.eclipse.core.launcher.Main.run(Main.java:704)
at org.eclipse.core.launcher.Main.main(Main.java:688)
Comment 1 Sian January CLA 2005-11-28 07:41:39 EST
Fixed in the following builds:

AJDT 1.2.1 for Eclipse 3.0:
BUILD COMPLETE -  build.588
Date of build: 11/28/2005 11:32:29
Time to build: 44 minutes 32 seconds

AJDT 1.3.0 for Eclipse 3.1:
BUILD COMPLETE -  build.28
Date of build:	11/28/2005 06:30:19
Time to build:	15 minutes 28 seconds