4 Replies Latest reply on Jan 22, 2007 4:44 AM by Saku Niskanen

    NullPointerException when adding ActionHandlers with GPD?

    Saku Niskanen Newbie

      Hello,

      I'm using JBoss IDE 1.5.1 bundle and the GPD which comes pre-installed with it.

      I'm trying to add my own ActionHandlers to some actions I've created. I enter my ActionHandler implementation to the 'Class' field using the 'Browse' function, press OK and get an error dialog "An error has occurred. See error log for more details".

      The error log has a NullPointerException in it:

      java.lang.NullPointerException
      at org.jbpm.ui.properties.ActionHandlerPropertyPage.performOk(Unknown Source)
      at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:862)
      at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
      at org.eclipse.core.runtime.Platform.run(Platform.java:783)
      etc...

      I get the exception regardless of the configuration type I'm using.

      I have to add the ActionHandler class manually to the process definition XML. Is this a known issue (tried to search this forum) or am I doing something wrong?


      regards,

      Saku