Bug 543 - SchemaUtil - NullPointerException
Summary: SchemaUtil - NullPointerException
Status: VERIFIED DUPLICATE of bug 542
Alias: None
Product: Identity Designer
Classification: Identity Manager
Component: Schema Management (show other bugs)
Version: 1.0.0 Designer
Hardware: x86 Other
: P5 - None : Critical (vote)
Target Milestone: 1.0 M2.1
Assignee: Drew Chamberlain
QA Contact: Stephen Harmon
URL:
Whiteboard:
Keywords: Provo
Depends on:
Blocks:
 
Reported: 2004-12-10 18:56 UTC by Bill Street
Modified: 2011-06-05 07:19 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 Bill Street 2004-12-10 18:56:35 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-10 18:56:55 UTC
bstreet (  12/10/2004 11:55:55 AM  Closed - Moved to Bugzilla ) Moved to
Bugzilla.  Defect 542. 
madean (  12/8/2004 1:48:02 PM  Fixing - Failed ) Failed on 1207
 
dchamberlain (  12/3/2004 10:49:50 AM  Fixing - Fix Is Checked-In ) Added
offline schema xml.
 
Comment 2 Bill Street 2004-12-13 17:18:10 UTC

*** This bug has been marked as a duplicate of 542 ***
Comment 3 Drew Chamberlain 2005-01-05 23:13:01 UTC
Fixed to be null, now does not return any schema, though!
Comment 4 Bill Street 2007-08-16 15:45:22 UTC
Marking resolved fixed as public view.