Bug 721 - Sometimes, when creating a new project, a null pointer exception is thrown
Summary: Sometimes, when creating a new project, a null pointer exception is thrown
Status: VERIFIED FIXED
Alias: None
Product: Identity Designer
Classification: Identity Manager
Component: Application Customization (show other bugs)
Version: 1.0.0 Designer
Hardware: All All
: P5 - None : Critical (vote)
Target Milestone: 1.0 M2
Assignee: Drew Chamberlain
QA Contact: Marvin Dean
URL:
Whiteboard:
Keywords: Built, Provo
Depends on:
Blocks:
 
Reported: 2004-12-17 19:27 UTC by Forgotten User C1r2QIwDyb
Modified: 2011-06-03 16:21 UTC (History)
0 users

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User C1r2QIwDyb 2004-12-17 19:27:30 UTC
There is a null pointer exception being thrown from 
EclipseCustomizerListener.java sometimes when a new 
project is created. 

Here's the stack trace

java.lang.NullPointerException
	at 
com.novell.porpoise.common.internal.EclipseCustomizer
Listener.removeMenuItem
(EclipseCustomizerListener.java:215)
	at 
com.novell.porpoise.common.internal.EclipseCustomizer
Listener.customizeIfNeeded
(EclipseCustomizerListener.java:101)
	at 
com.novell.porpoise.common.internal.EclipseCustomizer
Listener.perspectiveChanged
(EclipseCustomizerListener.java:356)
	at 
org.eclipse.ui.internal.PerspectiveListenerListOld$2.
run(PerspectiveListenerListOld.java:68)
	at 
org.eclipse.core.internal.runtime.InternalPlatform.ru
n(InternalPlatform.java:616)
	at org.eclipse.core.runtime.Platform.run
(Platform.java:747)
	at 
org.eclipse.ui.internal.PerspectiveListenerListOld.fi
rePerspectiveChanged
(PerspectiveListenerListOld.java:66)
	at 
org.eclipse.ui.internal.WorkbenchWindow.firePerspecti
veChanged(WorkbenchWindow.java:974)
	at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorB
atched(WorkbenchPage.java:2313)
	at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
(WorkbenchPage.java:2211)
	at 
org.eclipse.ui.internal.WorkbenchPage.access$6
(WorkbenchPage.java:2203)
	at 
org.eclipse.ui.internal.WorkbenchPage$9.run
(WorkbenchPage.java:2189)
	at 
org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
	at 
org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2184)
	at 
org.eclipse.ui.internal.WorkbenchPage.openEditor
(WorkbenchPage.java:2169)
	at 
com.novell.porpoise.views.project.internal.OpenProjec
tsAction.run(OpenProjectsAction.java:109)
	at 
com.novell.porpoise.views.project.internal.ProjectVie
w.update(ProjectView.java:404)
	at java.util.Observable.notifyObservers
(Observable.java:142)
	at 
com.novell.porpoise.common.operations.internal.Projec
tManager.addProject(ProjectManager.java:113)
	at 
com.novell.porpoise.views.project.internal.wizards.ne
wproject.NameProjectPage$5.execute
(NameProjectPage.java:195)
	at 
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run
(WorkspaceModifyOperation.java:98)
	at 
org.eclipse.core.internal.resources.Workspace.run
(Workspace.java:1676)
	at 
org.eclipse.ui.actions.WorkspaceModifyOperation.run
(WorkspaceModifyOperation.java:110)
	at 
org.eclipse.jface.operation.ModalContext.runInCurrent
Thread(ModalContext.java:322)
	at 
org.eclipse.jface.operation.ModalContext.run
(ModalContext.java:269)
	at org.eclipse.jface.wizard.WizardDialog.run
(WizardDialog.java:824)
	at 
com.novell.porpoise.views.project.internal.wizards.ne
wproject.NameProjectPage.performFinish
(NameProjectPage.java:203)
	at 
com.novell.porpoise.views.project.internal.wizards.ne
wproject.CreationWizard.performFinish
(CreationWizard.java:70)
	at 
org.eclipse.jface.wizard.WizardDialog.finishPressed
(WizardDialog.java:670)
	at 
org.eclipse.jface.wizard.WizardDialog.buttonPressed
(WizardDialog.java:342)
	at 
org.eclipse.jface.dialogs.Dialog$2.widgetSelected
(Dialog.java:543)
	at 
org.eclipse.swt.widgets.TypedListener.handleEvent
(TypedListener.java:89)
	at 
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:800)
	at 
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2794)
	at 
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2448)
	at 
org.eclipse.jface.window.Window.runEventLoop
(Window.java:718)
	at org.eclipse.jface.window.Window.open
(Window.java:696)
	at 
com.novell.porpoise.views.project.internal.NewProject
Action.run(NewProjectAction.java:66)
	at 
org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:298)
	at 
org.eclipse.jface.action.ActionContributionItem.handl
eWidgetSelection(ActionContributionItem.java:946)
	at 
org.eclipse.jface.action.ActionContributionItem.acces
s$2(ActionContributionItem.java:896)
	at 
org.eclipse.jface.action.ActionContributionItem$7.han
dleEvent(ActionContributionItem.java:810)
	at 
org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:800)
	at 
org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2794)
	at 
org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:2448)
	at 
org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1529)
	at org.eclipse.ui.internal.Workbench.runUI
(Workbench.java:1500)
	at 
org.eclipse.ui.internal.Workbench.createAndRunWorkben
ch(Workbench.java:276)
	at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:144)
	at 
org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:102)
	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:585)
	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 Drew Chamberlain 2005-01-05 19:01:19 UTC
Check for null now.
Comment 2 Marvin Dean 2005-01-05 20:38:20 UTC
Fixed in 0104
Comment 3 Bill Street 2005-09-16 21:31:16 UTC
Adding built keyword.
Comment 4 Bill Street 2007-04-30 16:37:19 UTC
Marking closed/resolved fixed bugs public view.
Comment 5 Bill Street 2007-04-30 16:39:53 UTC
Marking closed/resolved fixed bugs public view.