Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355022 - NPE in Service Utilities
Summary: NPE in Service Utilities
Status: CLOSED WORKSFORME
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 22:33 EDT by Miles Parker CLA
Modified: 2013-03-13 12:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miles Parker CLA 2011-08-17 22:33:33 EDT
I'm seeing the below whenever I close an open papyrus (.di) editor. Unfortunately, it's making it difficult to diagnose my own NPE in the same location. :) (I've tried it without my development plugins and it is still an issue then.)

Daemon Thread [Thread-1] (Suspended (exception NullPointerException))	
	ServiceUtilsForActionHandlers.getServiceRegistry() line: 71	
	CreateAllocationTableCommand(AbstractCreateNattableEditorCommand).getTableContext() line: 335	
	CreateAllocationTableCommand.isEnabled() line: 76	
	AllocationPropertyTester.testIsAppliedAllocation(IStructuredSelection) line: 59	
	AllocationPropertyTester.test(Object, String, Object[], Object) line: 45	
	Property.test(Object, Object[], Object) line: 58	
	TestExpression.evaluate(IEvaluationContext) line: 99	
	WithExpression(CompositeExpression).evaluateAnd(IEvaluationContext) line: 53	
	WithExpression.evaluate(IEvaluationContext) line: 72	
	AndExpression(CompositeExpression).evaluateAnd(IEvaluationContext) line: 53	
	AndExpression.evaluate(IEvaluationContext) line: 29	
	EvaluationReference(EvaluationResultCache).evaluate(IEvaluationContext) line: 74	
	EvaluationAuthority(ExpressionAuthority).evaluate(IEvaluationResultCache) line: 165	
	EvaluationAuthority.refsWithSameExpression(EvaluationReference[]) line: 155	
	EvaluationAuthority.sourceChanged(String[]) line: 129	
	EvaluationAuthority(ExpressionAuthority).sourceChanged(int, String[]) line: 311	
	EvaluationAuthority(ExpressionAuthority).sourceChanged(int, Map) line: 290	
	WorkbenchSourceProvider(AbstractSourceProvider).fireSourceChanged(int, Map) line: 99	
	WorkbenchSourceProvider.checkActivePart(boolean) line: 401	
	WorkbenchSourceProvider.checkActivePart() line: 300	
	WorkbenchSourceProvider$2.windowDeactivated(IWorkbenchWindow) line: 270	
	Workbench$15.run() line: 1021	
	SafeRunner.run(ISafeRunnable) line: 42	
	Workbench.fireWindowDeactivated(IWorkbenchWindow) line: 1019	
	WorkbenchWindow$28.shellDeactivated(ShellEvent) line: 3162	
	TypedListener.handleEvent(Event) line: 111	
	EventTable.sendEvent(Event) line: 84	
	Display.sendEvent(EventTable, Event) line: 4125	
	Shell(Widget).sendEvent(Event) line: 1457	
	Shell(Widget).sendEvent(int, Event, boolean) line: 1480	
	Shell(Widget).sendEvent(int) line: 1461	
	Shell.windowDidResignKey(long, long, long) line: 2165	
	Display.windowProc(long, long, long) line: 5514	
	OS.objc_msgSendSuper(objc_super, long, long) line: not available [native method]	
	Display.applicationSendEvent(long, long, long) line: 4986	
	Display.applicationProc(long, long, long) line: 5135	
	OS.objc_msgSend(long, long, long) line: not available [native method]	
	NSApplication.sendEvent(NSEvent) line: 128	
	Display.readAndDispatch() line: 3607	
	Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2696	
	Workbench.runUI() line: 2660	
	Workbench.access$4(Workbench) line: 2494	
	Workbench$7.run() line: 674	
	Realm.runWithDefault(Realm, Runnable) line: 332	
	Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 667	
	PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149	
	IDEApplication.start(IApplicationContext) line: 123	
	EclipseAppHandle.run(Object) line: 196	
	EclipseAppLauncher.runApplication(Object) line: 110	
	EclipseAppLauncher.start(Object) line: 79	
	EclipseStarter.run(Object) line: 344	
	EclipseStarter.run(String[], Runnable) line: 179	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25	
	Method.invoke(Object, Object...) line: 597	
	Main.invokeFramework(String[], URL[]) line: 622	
	Main.basicRun(String[]) line: 577	
	Main.run(String[]) line: 1410	
	Main.main(String[]) line: 1386
Comment 1 Arnaud Cuccuru CLA 2013-03-13 12:49:09 EDT
Not able to reproduce the bug under Kepler M5.