Bugzilla – Bug 542
SchemaUtil - NullPointerException
Last modified: 2017-08-08 08:34:40 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)
*** Bug 543 has been marked as a duplicate of this bug. ***
Fixed to throw exception.
Included in Designer build 20050107
Included in Designer build 20050111
Regressed 20050111
Adding built keyword.
Marking closed/resolved fixed bugs public view.