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
  • ... tendedJavaActivityRequest)           at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:104)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:60)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : Unatten...
Reply
  • ... tendedJavaActivityRequest)           at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.as.ejb3.tx.EjbBMTInterceptor.handleInvocation(EjbBMTInterceptor.java:104)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.as.ejb3.tx.BMTInterceptor.processInvocation(BMTInterceptor.java:60)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest)           at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
    11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : Unatten...
Children
No Data