Bug 542

Summary: SchemaUtil - NullPointerException
Product: [Identity Manager] Identity Designer Reporter: Bill Street <bstreet>
Component: Schema Mapping EditorAssignee: Drew Chamberlain <dchamberlain>
Status: VERIFIED FIXED QA Contact: Stephen Harmon <stharmon>
Severity: Critical    
Priority: P5 - None Keywords: Built, Fix_No_Build, Provo
Version: 1.0.0 Designer   
Target Milestone: 1.0 M2   
Hardware: x86   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Bill Street 2004-12-10 18:54:21 UTC
DETAILED DESCRIPTION:
Hit null pointer exception creating schema mapping policy. We need to be able to
create schema mapping policy without having the Identity Vault parameters
specified. 

java.lang.NullPointerException
	at
com.novell.porpoise.common.util.SchemaUtil.getAttributeNames(SchemaUtil.java:180)
	at
com.novell.porpoise.schemamap.ui.NonClassSpecificSectionWidget.initSchemaAttributeNameLists(NonClassSpecificSectionWidget.java:220)
	at
com.novell.porpoise.schemamap.ui.NonClassSpecificSectionWidget.createNonClassSpecificStaticContents(NonClassSpecificSectionWidget.java:206)
	at
com.novell.porpoise.schemamap.ui.NonClassSpecificSectionWidget.<init>(NonClassSpecificSectionWidget.java:95)
	at
com.novell.porpoise.schemamap.ui.ContentOverViewWidget.createNonClassSpecificSection(ContentOverViewWidget.java:638)
	at
com.novell.porpoise.schemamap.ui.ContentOverViewWidget.createContent(ContentOverViewWidget.java:179)
	at
com.novell.porpoise.schemamap.ui.ContentOverViewWidget.<init>(ContentOverViewWidget.java:150)
	at
com.novell.porpoise.schemamap.editor.MappingEditor.createPartControl(MappingEditor.java:63)
	at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:120)
	at
com.novell.porpoise.schemamap.editor.SchemaMapEditor.createPolicyPage(SchemaMapEditor.java:44)
	at
com.novell.porpoise.common.policy.editors.PolicyMultiPageEditor.createPages(PolicyMultiPageEditor.java:132)
	at
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:191)
	at
com.novell.porpoise.policy.editors.DriverEditorUtil.createEditor(DriverEditorUtil.java:243)
	at
com.novell.porpoise.policy.editors.DriverEditorUtil.createEditor(DriverEditorUtil.java:285)
	at
com.novell.porpoise.policy.editors.PolicyEditorComposite.<init>(PolicyEditorComposite.java:53)
	at
com.novell.porpoise.policy.editors.DriverEditor.policySelected(DriverEditor.java:374)
	at
com.novell.porpoise.common.policy.nav.PolicyNavViewer.notifyPolicySelectionListeners(PolicyNavViewer.java:816)
	at
com.novell.porpoise.common.policy.nav.PolicyNavViewer.addPolicy(PolicyNavViewer.java:242)
	at
com.novell.porpoise.common.policy.nav.PolicyMenu.buttonPressed(PolicyMenu.java:282)
	at
com.novell.porpoise.common.policy.nav.PolicyMenu$8.widgetSelected(PolicyMenu.java:261)
	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.ui.internal.Workbench.runEventLoop(Workbench.java:1529)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1500)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(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(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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)

BUILD NUMBER: m1.2
Oses/CONFIG: 
STEPS TO REPRO: Brent wrote the defect originally.  Marvin knows the steps to
reproduce
RESULTS:
EXPECTED: 
WORKAROUNDS: 
CUSTOMER IMPACT: 


NTS entered defects should also include:
Additional debug info like screenshots, screencams, log files, trace files,
packet traces, memory coredump location.
Accurate customer information so that proper prioritizing of the defect is
possible (mainly for NTS defects)
Comment 1 Bill Street 2004-12-13 17:18:10 UTC
*** Bug 543 has been marked as a duplicate of this bug. ***
Comment 2 Drew Chamberlain 2005-01-05 23:13:39 UTC
Fixed to throw exception.
Comment 3 Howard Vanfleet 2005-01-07 17:52:42 UTC
Included in Designer build 20050107
Comment 4 Howard Vanfleet 2005-01-11 21:01:56 UTC
Included in Designer build 20050111
Comment 5 Stephen Harmon 2005-01-12 22:34:20 UTC
Regressed 20050111
Comment 6 Bill Street 2005-09-16 21:31:23 UTC
Adding built keyword.
Comment 7 Bill Street 2007-04-30 16:37:11 UTC
Marking closed/resolved fixed bugs public view.
Comment 8 Bill Street 2007-04-30 16:39:42 UTC
Marking closed/resolved fixed bugs public view.