Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
16 replies
Subscribers
5 subscribers
Views
4501 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi, I ran a standalone program in Java and it ran perfectly fine and
mayankk718
over 8 years ago
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
0
mayankk718
over 8 years ago
...ultActivityExecutor$1.call(DefaultActivityExecutor.java:104)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:101)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:101)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:83)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : U...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
...nattendedJavaActivityRequest) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.ContinuationRequest.executeOuter(ContinuationRequest.java:71)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:85)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at com.appiancorp.mdb.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:29)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at sun.reflect.GeneratedMethodAccessor1505.invoke(Unknown Source)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : ...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... UnattendedJavaActivityRequest) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at java.lang.reflect.Method.invoke(Method.java:497)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityReque...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... st) at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
11:24:38,753 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
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 : Unat...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... 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...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... dedJavaActivityRequest) at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
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.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
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 - ProcessExe...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... c02 : UnattendedJavaActivityRequest) at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
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.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
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.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeIntercep...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... tor.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.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
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.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.InterceptorContext.pr...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... oceed(InterceptorContext.java:288)
11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
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.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55)
11:24:38,754 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.as.ejb3....
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mayankk718
over 8 years ago
... component.messagedriven.MessageDrivenComponentDescription$5$1.processInvocation(MessageDrivenComponentDescription.java:203)
11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityRequest) at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
11:24:38,755 INFO [stdout] (Appian Work Item - 12491 - ProcessExec02 : UnattendedJavaActivityR...
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>