Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsNullPointerException when bootstrapping engine. Unable to login
https://www.eclipse.org/forums/index.php/mv/msg/351418/871221/#msg_871221
What could be wrong here?
16:07:30 INFO - [main ] EngineService - Bootstrapping engine
16:07:32 INFO - [main ] CacheHelper - No caching service is available.
16:07:32 INFO - [main ] extensions - Initializing static extensions resolver
16:07:32 INFO - [main ] extensions - Initializing Service Provider extensions resolver
16:07:32 INFO - [main ] extensions - Using extensions manager: ag.carnot.workflow.runtime.beans.PartitionAwareExtensionsManager@14786f
16:07:32 WARN - [main ] LogUtils -
java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:33)
at ag.carnot.workflow.runtime.beans.ModelPersistorBean.fetchModel(ModelPersistorBean.java:178)
at ag.carnot.workflow.runtime.beans.ModelPersistorBean.getId(ModelPersistorBean.java:169)
at ag.carnot.workflow.runtime.beans.RuntimeOidUtils.getFqId(RuntimeOidUtils.java:70)
at ag.carnot.workflow.runtime.beans.RuntimeOidUtils.getFqId(RuntimeOidUtils.java:58)
at ag.carnot.workflow.runtime.beans.RuntimeModelLoader.registerOids(RuntimeModelLoader.java:91)
at ag.carnot.workflow.runtime.beans.RuntimeModelLoader.loadRuntimeOidRegistry(RuntimeModelLoader.java:62)
at ag.carnot.workflow.runtime.beans.ModelManagerBean$ModelManagerPartition.<init>(ModelManagerBean.java:724)
at ag.carnot.workflow.runtime.beans.ModelManagerBean.getModelManagerPartition(ModelManagerBean.java:288)
at ag.carnot.workflow.runtime.beans.ModelManagerBean.getModelManagerPartition(ModelManagerBean.java:253)
at ag.carnot.workflow.runtime.beans.ModelManagerBean.findActiveModel(ModelManagerBean.java:74)
at ag.carnot.workflow.runtime.spring.AbstractSpringForkingServiceBean$1.execute(AbstractSpringForkingServiceBean.java:93)
at ag.carnot.workflow.runtime.spring.AbstractSpringForkingServiceBean$TxIsolatedActionInvoker.isolate(AbstractSpringForkingServiceBean.java:238)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
or
java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:33)
at ag.carnot.workflow.runtime.beans.ModelPersistorBean.fetchModel(ModelPersistorBean.java:162)
at ag.carnot.workflow.runtime.beans.ModelManagerBean$ModelManagerPartition.<init>(ModelManagerBean.java:717)
at ag.carnot.workflow.runtime.beans.ModelManagerBean.getModelManagerPartition(ModelManagerBean.java:266)
at ag.carnot.workflow.runtime.beans.ModelManagerBean.getModelManagerPartition(ModelManagerBean.java:232)
at ag.carnot.workflow.runtime.beans.ModelManagerBean.findModelParticipant(ModelManagerBean.java:163)
at ag.carnot.workflow.runtime.beans.UserParticipantLink.getParticipant(UserParticipantLink.java:202)
at ag.carnot.workflow.runtime.beans.UserBean$1.execute(UserBean.java:613)
at ag.carnot.workflow.runtime.beans.UserBean$1.execute(UserBean.java:610)
at ag.carnot.base.TransformingIterator.next(TransformingIterator.java:46)
at ag.carnot.base.FilteringIterator.hasNext(FilteringIterator.java:49)
at ag.carnot.base.FilteringIterator.hasNext(FilteringIterator.java:47)
at ag.carnot.workflow.runtime.beans.UserBean.hasRole(UserBean.java:675)
at ag.carnot.security.utils.SecurityUtils.isPasswordExpired(SecurityUtils.java:326)
at ag.carnot.workflow.spi.providers.security.audittrail.AuditTrailLoginService.login(AuditTrailLoginService.java:173)
at ag.carnot.workflow.runtime.beans.interceptors.AbstractLoginInterceptor$LoginAction.execute(AbstractLoginInterceptor.java:367)
at ag.carnot.workflow.ejb.beans.LocalForkingServiceImpl$ForkingServiceActionRunner.execute(LocalForkingServiceImpl.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)]]>Jan Hendrik Scheufen2012-05-11T13:34:32-00:00Re: NullPointerException when bootstrapping engine. Unable to login
https://www.eclipse.org/forums/index.php/mv/msg/351418/871222/#msg_871222
A copy of the complete model XML is stored in the STRING_DATA table (CLOB_DATA in later versions). An analysis of these AuditTrail tables confirmed problems that were introduced by operations directly on the database. In one case the table was accidentally truncated and in the other data copied from another system into a test system was not applied correctly.
The problems were caused by manual DB manipulations which can happen in local test systems where the DB is not protected as rigorously as a UAT or production system. The solution was to cleanup the database (either by recreating the schema or installing a backup).]]>Jan Hendrik Scheufen2012-05-11T13:46:30-00:00