Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » NPE - Java Application Initialization(Null Pointer Exception in Java Application)
NPE - Java Application Initialization [message #1770914] Fri, 18 August 2017 17:21 Go to next message
Prerna AD is currently offline Prerna ADFriend
Messages: 5
Registered: July 2016
Junior Member
Hi,

I have created a work flow process which has a Plain Java Application. Created a JAR of that application and added it in the lib folder of WEB-INF in ipp-portal, it seems to be working fine in the local environment, but when I tried it in another environment, it is giving a Null Pointer Exception,

Please find the logs below:

java.lang.NullPointerException
at org.eclipse.stardust.common.reflect.ResolvedMethod.<init>(ResolvedMethod.java:37)
at org.eclipse.stardust.engine.core.pojo.app.PlainJavaApplicationInstance.bootstrap(PlainJavaApplicationInstance.java:118)
at org.eclipse.stardust.engine.core.spi.extensions.runtime.StatelessSynchronousApplicationBinding.bootstrap(StatelessSynchronousApplicationBinding.java:40)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityInstanceBean.createApplicationInstance(ActivityInstanceBean.java:1623)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityInstanceBean.invokeApplication(ActivityInstanceBean.java:1526)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityInstanceBean.invoke(ActivityInstanceBean.java:1218)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityInstanceBean.doStartActivity(ActivityInstanceBean.java:1208)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityInstanceBean.start(ActivityInstanceBean.java:1169)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityThread.runCurrentActivity(ActivityThread.java:1166)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityThread.runInternal(ActivityThread.java:383)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityThread.run(ActivityThread.java:240)
at org.eclipse.stardust.engine.core.runtime.beans.ActivityThreadCarrier$ActivityThreadRunner.execute(ActivityThreadCarrier.java:207)
at org.eclipse.stardust.engine.core.runtime.beans.SecurityContextAwareAction$SecurityContextBoundAction.execute(SecurityContextAwareAction.java:69)
at org.eclipse.stardust.engine.api.spring.AbstractSpringForkingServiceBean$TxIsolatedActionInvoker.isolate(AbstractSpringForkingServiceBean.java:259)
at sun.reflect.GeneratedMethodAccessor256.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.CallingInterceptor.invoke(CallingInterceptor.java:29)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.POJOExceptionHandler.invoke(POJOExceptionHandler.java:30)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.RuntimeExtensionsInterceptor.invoke(RuntimeExtensionsInterceptor.java:34)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.NonInteractiveSecurityContextInterceptor.invoke(NonInteractiveSecurityContextInterceptor.java:45)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.doWithDataSource(SpringSessionInterceptor.java:142)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.access$000(SpringSessionInterceptor.java:48)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor$1.doInConnection(SpringSessionInterceptor.java:87)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:342)
at org.eclipse.stardust.engine.api.spring.SpringSessionInterceptor.invoke(SpringSessionInterceptor.java:81)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringConfigurationInterceptor.invoke(SpringConfigurationInterceptor.java:101)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.PropertyLayerProviderInterceptor.invoke(PropertyLayerProviderInterceptor.java:129)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.DebugInterceptor.invoke(DebugInterceptor.java:56)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringTxInterceptor$1.doInTransaction(SpringTxInterceptor.java:93)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
at org.eclipse.stardust.engine.api.spring.SpringTxInterceptor.invoke(SpringTxInterceptor.java:71)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.execute(MethodInvocationImpl.java:68)
at org.eclipse.stardust.engine.core.runtime.beans.InvocationManager.invoke(InvocationManager.java:53)
at $Proxy130.isolate(Unknown Source)
at org.eclipse.stardust.engine.api.spring.AbstractSpringForkingServiceBean$2.doInTransaction(AbstractSpringForkingServiceBean.java:156)
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:131)
at org.eclipse.stardust.engine.api.spring.AbstractSpringForkingServiceBean.isolate(AbstractSpringForkingServiceBean.java:137)
at org.eclipse.stardust.engine.spring.integration.jms.threading.SystemQueueMessageHandler$SystemQueueMessageDeliveryAction.execute(SystemQueueMessageHandler.java:82)
at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.CallingInterceptor.invoke(CallingInterceptor.java:29)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.MultipleTryInterceptor.invoke(MultipleTryInterceptor.java:52)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.spring.integration.jms.threading.MessageHandlingExceptionInterceptor.invoke(MessageHandlingExceptionInterceptor.java:46)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.api.spring.SpringConfigurationInterceptor.invoke(SpringConfigurationInterceptor.java:101)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.beans.interceptors.PropertyLayerProviderInterceptor.invoke(PropertyLayerProviderInterceptor.java:129)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.execute(MethodInvocationImpl.java:68)
at org.eclipse.stardust.engine.core.runtime.beans.InvocationManager.invoke(InvocationManager.java:53)
at $Proxy209.execute(Unknown Source)
at org.eclipse.stardust.engine.spring.integration.jms.threading.SystemQueueMessageHandler.onMessage(SystemQueueMessageHandler.java:53)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:562)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:500)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:468)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:243)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1103)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1095)
at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:992)
at java.lang.Thread.run(Thread.java:662)
CarnotSystemQueueListenerContainer-23 2017-08-18 14:52:08,275 WARN AuditTrailLogger - org.eclipse.stardust.common.error.InternalException: : java.lang.NullPointerException (User: system_carnot_engine (Realm: system_carnot_engine) (system_carnot_engine, system_carnot_engine))

Could anyone please help?

Thanks in advance!
Prerna
Re: NPE - Java Application Initialization [message #1770944 is a reply to message #1770914] Sat, 19 August 2017 08:11 Go to previous messageGo to next message
Prerna AD is currently offline Prerna ADFriend
Messages: 5
Registered: July 2016
Junior Member
Could anyone please help?
Re: NPE - Java Application Initialization [message #1772537 is a reply to message #1770944] Tue, 12 September 2017 08:04 Go to previous message
Ashish Khole is currently offline Ashish KholeFriend
Messages: 28
Registered: April 2015
Junior Member
Which Environment you are using? Which application/web server are you using?
Previous Topic:Enabling SMTP Authentication
Next Topic:Build stardust
Goto Forum:
  


Current Time: Fri Nov 16 22:49:28 GMT 2018

Powered by FUDForum. Page generated in 0.02268 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top