0 Replies Latest reply on Feb 17, 2011 9:21 PM by 840777

    IllegalArgumentException: ReferenceHelper not set

    840777
      I am trying to call PortableRemoteObject.narrow() from a plugin, and I get the following exception.


      java.lang.IllegalArgumentException: ReferenceHelper not set
           at weblogic.rmi.extensions.server.ReferenceHelper.getReferenceHelper(ReferenceHelper.java:35)
           at weblogic.rmi.extensions.PortableRemoteObject.narrow(PortableRemoteObject.java:88)
           at weblogic.iiop.PortableRemoteObjectDelegateImpl.narrow(PortableRemoteObjectDelegateImpl.java:32)
           at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:137)
           at com.harris.emm.visualization.main.WelcomeView$1.widgetSelected(WelcomeView.java:95)
           at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
           at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
           at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
           at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
           at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
           at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
           at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
           at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
           at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
           at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
           at com.harris.emm.visualization.main.Application.start(Application.java:20)
           at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
           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:369)
           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:619)
           at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
           at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

      I make the same call from an EJB successfully. Any suggestions as to why I may be getting this obscure error?
           at org.eclipse.equinox.launcher.Main.main(Main.java:1383)