2 Replies Latest reply on Mar 29, 2006 5:26 AM by Koen Aers

    GPD

    pedro costa Apprentice

      1 - When i try to deploy my processdefinition through the gpd plugin for eclipse, i get the following error:

      Error 2006-03-28 16:17:45.536 Exception happened while deploying
      java.lang.NullPointerException
      at org.jbpm.ui.util.ProcessDeployer.addVersionedClass(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer.addVersionedClasses(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer.createParBytes(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer.access$0(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer$1.run(Unknown Source)
      at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
      at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
      at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447)
      at org.jbpm.ui.util.ProcessDeployer.showProgressMonitorDialog(Unknown Source)
      at org.jbpm.ui.util.ProcessDeployer.deploy(Unknown Source)
      at org.jbpm.ui.wizard.ProcessDeploymentWizard.performFinish(Unknown Source)
      at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
      at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
      at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
      at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
      at org.eclipse.jface.window.Window.open(Window.java:787)
      at org.jbpm.ui.action.DeployProcessActionDelegate.run(Unknown Source)
      at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
      at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
      at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
      at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
      at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
      at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
      at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
      at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      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.invokeFramework(Main.java:334)
      at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      at org.eclipse.core.launcher.Main.run(Main.java:973)
      at org.eclipse.core.launcher.Main.main(Main.java:948)
      


      What can i do to deploy the process definition?

      2- is it possible to install the gpd plugin via remote site? If so, what is the URL?

      Thanks,
      Pedro

        • 1. Re: GPD
          pedro costa Apprentice

          By the way, respectively to question 1, i upload my process definition to localhost:8080/jbpm/upload.

          the jbpm is in the localhost.

          • 2. Re: GPD
            Koen Aers Master

            Pedro,

            You can deploy to a remote site by changing the URL to the name of the server and port where your jBPM server is running.
            The error you got is probably due to an action handler class that is referenced in the processdefinition.xml and that is not found on the buildpath of your Eclipse project.

            Regards,
            Koen