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
1 reply
Subscribers
5 subscribers
Views
872 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Hi all, I have created a new plugin to upgrade process instances from an ol
jesusp
over 10 years ago
Hi all,
I have created a new plugin to upgrade process instances from an old version to a new one.
11:11:26,589 INFO [stdout] (default-threads - 4) ***Exception: java.lang.NullPointerException
Initially I created a dummy plugin to verify that it worked fine, and it was ok. Then I added the code with hardcoded values to make sure that the upgrade would work:
pes.upgradeProcesses (Long.valueOf(0),"2.0",Long.valueOf(0),new String[]{"1.0"});
The plugin deployes successfully but when I run it I get the exception above.
It would be great if someone could help here!
...
OriginalPostID-90197
OriginalPostID-90197
Discussion posts and replies are publicly visible
Parents
0
jesusp
over 10 years ago
This is the stack trace:
08:40:02,918 ERROR [stderr] (default-threads - 10) java.lang.NullPointerException
08:40:02,918 ERROR [stderr] (default-threads - 10) at com.ebrd.plugins.migrate.Move.run(Move.java:35)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:101)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:98)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:98)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:83)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:80)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.mdb.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:17)
08:40:02,920 ERROR [stderr] (default-threads - 10) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:40:02,920 ERROR [stderr] (default-threads - 10) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
08:40:02,921 ERROR [stderr] (default-threads - 10) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
jesusp
over 10 years ago
This is the stack trace:
08:40:02,918 ERROR [stderr] (default-threads - 10) java.lang.NullPointerException
08:40:02,918 ERROR [stderr] (default-threads - 10) at com.ebrd.plugins.migrate.Move.run(Move.java:35)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:101)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor$1.call(DefaultActivityExecutor.java:98)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.common.ContextClassLoaderSwitcher.runInContext(ContextClassLoaderSwitcher.java:25)
08:40:02,919 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.runtime.framework.DefaultActivityExecutor.execute(DefaultActivityExecutor.java:98)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute(UnattendedJavaActivityRequest.java:83)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.engine.UnattendedJavaActivityRequest.execute0(UnattendedJavaActivityRequest.java:55)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.process.engine.ContinuationRequest.execute(ContinuationRequest.java:80)
08:40:02,920 ERROR [stderr] (default-threads - 10) at com.appiancorp.mdb.UnattendedRequestHandlerBean.onMessage(UnattendedRequestHandlerBean.java:17)
08:40:02,920 ERROR [stderr] (default-threads - 10) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
08:40:02,920 ERROR [stderr] (default-threads - 10) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
08:40:02,921 ERROR [stderr] (default-threads - 10) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data