Hi, I ran a standalone program in Java and it ran perfectly fine and

Hi,

I ran a standalone program in Java and it ran perfectly fine and then I created a smart service from it it gives NullPointerException as follows :-

11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) 2016-02-18 11:24:38,752 [Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536909563, classname=com.app.pull.data.PullSamples
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) java.lang.NullPointerException
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at com.app.pull.data.PullSamples.run(PullSamples.java:99)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at com.appiancorp.process.runtime.framework.Defa...

OriginalPostID-195711

OriginalPostID-195711

  Discussion posts and replies are publicly visible

Parents
  • ... UnattendedJavaActivityRequest)           at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
    11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:849)
    11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at java.lang.Thread.run(Thread.java:745)
    11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.threads.JBossThread.run(JBossThread.java:122)

    I have created the plugin using Appian plugin creator and re checked the smart service skeleton and my Java code. I haven't found any issue.

    Is there any issue related to environment ? Or is this the issue with my plugin ? Please let me know.
Reply
  • ... UnattendedJavaActivityRequest)           at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
    11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:849)
    11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at java.lang.Thread.run(Thread.java:745)
    11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.threads.JBossThread.run(JBossThread.java:122)

    I have created the plugin using Appian plugin creator and re checked the smart service skeleton and my Java code. I haven't found any issue.

    Is there any issue related to environment ? Or is this the issue with my plugin ? Please let me know.
Children
No Data