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
4 subscribers
Views
5409 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 9 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
Parents
0
mayankk718
over 9 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
Reply
0
mayankk718
over 9 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
Children
No Data