Bugzilla – Bug 543
SchemaUtil - NullPointerException
Last modified: 2011-06-05 07:19:37 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)
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.
*** This bug has been marked as a duplicate of 542 ***
Fixed to be null, now does not return any schema, though!
Marking resolved fixed as public view.