Skip to Content
author's profile photo Former Member
Former Member

NullPointerException during creation of BPEM function within the process DC

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Apr 07, 2016 at 11:20 AM

    Hi Timo,

    never had that before. Do you have that in all of your projects when you try to create an EJB-function? Then i would guess that your installation is corrupt. Maybe try downloading a older version of the NWDS here:

    https://nwds.sap.com/swdc/downloads/updates/netweaver/nwds/nw/731/doc/auto_com.sap.netweaver.developerstudio.distribution.complete.extsoa_versions.html


    7.31 SP17 PAT 000 for example or redownload your version and try it again.


    Regards

    Tobias

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      i checked this issue with several NWDS versions (e.g. SAP Enhancement Package 1 for SAP NetWeaver Developer Studio 7.3 SP14 PAT0000) and got the same error with all versions.

      Best regards,

      Timo

  • Posted on Jul 03, 2019 at 08:24 AM
    I have a similar problem. I tried to change the version of the studios, run on different jvm. An error occurred while creating functions.
    Is there a solution to this problem?
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.