Skip to Content
0
Apr 07, 2016 at 10:52 AM

NullPointerException during creation of BPEM function within the process DC

68 Views

Hello,

we are getting the following NullPointerException when we try to create an ejb function within the process DC:

java.lang.NullPointerException
  at com.sap.mapping.ide.function.refactor.impl.ReferencersByFunctionNameFinder.isFunctionReferenced(ReferencersByFunctionNameFinder.java:63)
  at com.sap.mapping.ide.function.refactor.impl.ReferencersByFunctionNameFinder.find(ReferencersByFunctionNameFinder.java:45)
  at com.sap.mapping.ide.function.wizard.command.UpdateCreatedFunctionReferencesCommand.findReferencers(UpdateCreatedFunctionReferencesCommand.java:34)
  at com.sap.mapping.ide.function.wizard.command.UpdateCreatedFunctionReferencesCommand.<init>(UpdateCreatedFunctionReferencesCommand.java:29)
  at com.sap.mapping.ide.function.wizard.command.NewRuleCommand.updateCreateFunctionReferencesCommand(NewRuleCommand.java:127)
  at com.sap.mapping.ide.function.wizard.command.NewRuleCommand.getAffectedPartitions(NewRuleCommand.java:120)
  at com.sap.tc.moin.repository.core.CommandStackWrapper.execute(CommandStackWrapper.java:78)
  at com.sap.mi.fwk.ui.wizard.CommandGroupWizard.executeCommand(CommandGroupWizard.java:292)
  at com.sap.mi.fwk.ui.wizard.CommandGroupWizard.performFinish(CommandGroupWizard.java:177)
  at com.sap.mapping.ide.tools.ui.wizard.ValidatingCommandGroupWizard.superPerformFinish(ValidatingCommandGroupWizard.java:181)
  at com.sap.mapping.ide.tools.ui.wizard.ValidatingCommandGroupWizard.access$200(ValidatingCommandGroupWizard.java:38)
  at com.sap.mapping.ide.tools.ui.wizard.ValidatingCommandGroupWizard$1.run(ValidatingCommandGroupWizard.java:145)
  at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
  at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
  at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:944)
  at com.sap.mapping.ide.tools.ui.wizard.ValidatingCommandGroupWizard.performFinish(ValidatingCommandGroupWizard.java:138)
  at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
  at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
  at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
  at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
  at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
  at org.eclipse.jface.window.Window.open(Window.java:801)
  at com.sap.mapping.ide.function.extensions.AbstractFunctionExtension.create(AbstractFunctionExtension.java:46)
  at com.sap.glx.ide.explorer.exec.ExecGalaxyGeneratedUIDefaultImpl.invokeExtensionPoint(ExecGalaxyGeneratedUIDefaultImpl.java:225)
  at com.sap.glx.ide.explorer.exec.ExecGalaxyGeneratedUIDefaultImpl.execCreateEJBRule(ExecGalaxyGeneratedUIDefaultImpl.java:179)
  at com.sap.glx.ide.explorer.action.ActionCreateEJBRule.runWithContext(ActionCreateEJBRule.java:86)
  at com.sap.glx.ide.explorer.action.ActionCreateEJBRule.run(ActionCreateEJBRule.java:50)
  at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
  at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
  at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
  at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
  at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
  at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
  at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
  at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
  at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
  at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
  at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
  at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
  at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
  at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
  at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
  at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
  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:597)
  at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
  at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

We run into the same issue when we try to rename an existing function.

Is there anybody who had the same problem?

We are using the NWDS SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.3 SP17 PAT0007.

Thanks and best regards,

Timo