Author Message
TH.IPI
Joined: May 1, 2014
Messages: 2
Location: UK
Offline
Environment
  • Collaboratory Breeze server version: 3.2.0.1.320111 (from SMGR Service Administration)

  • Engagement Designer: 3.2.1.0.00033 (from SMGR Service Management)

  • Engagement Designer Dynamic task SDK: 3.2.0.1.00014

  • Breeze SDK: 3.2.0.0.07320005 (to fulfil missing collaboratory API dependency in the ED SDK)


  • I have built jar files using both "mvn clean package" and "mvn clean install" using the command line only (no Eclipse) for:
  • A skeleton project created by running "mvn generate" for the Dynamic Task archetype and

  • the randomnumbergenerator sample project found in the ED SDK


  • When I try to deploy either jar on Collaboratory ED using the Admin Console, the console displays "Internal server error" and the bundle remains uploaded but undeployed.

    What am I doing wrong?

    The Engagement Designer log shows:

    2017-08-24 04:33:21,697 [WebContainer : 6] EngagementDesigner ERROR - EngagementDesigner-3.2.1.0.00033 - Error deploying bundle 'randomnumbergenerator-tasks-1.0.0.0.1':
    
    java.lang.NullPointerException
    at java.io.Reader.<init>(Reader.java:90)
    at java.io.InputStreamReader.<init>(InputStreamReader.java:119)
    at org.apache.commons.io.IOUtils.copy(IOUtils.java:1435)
    at org.apache.commons.io.IOUtils.toString(IOUtils.java:585)
    at com.roobroo.bpm.util.MyService.loadServiceDefinition(MyService.java:158)
    at com.roobroo.bpm.util.MyService.<init>(MyService.java:45)
    at com.avaya.workflow.bundles.BundleManager.installBundle(BundleManager.java:134)
    at com.avaya.workflow.bundles.BundleManager.loadBundle(BundleManager.java:85)
    at com.avaya.workflow.admin.server.TaskBundlesHandler.handleDeploy(TaskBundlesHandler.java:234)
    at com.avaya.workflow.admin.server.TaskBundlesHandler.handleAsk(TaskBundlesHandler.java:142)
    at com.avaya.workflow.admin.server.WorkflowResources.handleTaskBundle(WorkflowResources.java:2071)
    at sun.reflect.GeneratedMethodAccessor399.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
    at java.lang.reflect.Method.invoke(Method.java:620)
    etc
    TH.IPI
    Joined: May 1, 2014
    Messages: 2
    Location: UK
    Offline
    Fixed. For future sufferers of this problem. The 3.2 SDK document "Creating Dynamic Tasks for Avaya
    Engagement Designer" is misleading.

    Building and deploying the task
    ...
    Procedure
    1. Run the mvn package at the top level.


    The 3.3 SDK document has the correct instruction :
    Building and deploying the task
    ...
    Procedure
    1. To create the tasks jar, run mvn clean install at the top level.
    Go to:   
    Mobile view