I just published an app on Google play store namely " Bad Piggies Full Guide " . Today one user posted an error and the error says that :
"OutOfMemoryError
in Bitmap.nativeCreate()"
The Full Stack Traces Are :
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ashutos.cool/com.ashutos.cool.MainActivity}: android.view.InflateException: Binary XML file line #414: Error inflating class <unknown>
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2705)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2721)
at android.app.ActivityThread.access$2300(ActivityThread.java:132)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4669)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:876)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #414: Error inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:513)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:203)
at android.app.Activity.setContentView(Activity.java:1656)
at com.ashutos.cool.MainActivity.onCreate(MainActivity.java:19)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2669)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at android.widget.ImageView.<init>(ImageView.java:108)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
at android.view.LayoutInflater.createView(LayoutInflater.java:500)
... 23 more
Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:697)
at android.content.res.Resources.loadDrawable(Resources.java:1709)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.widget.ImageView.<init>(ImageView.java:118)
... 27 more
Can Anyone Solve this error please ?
Related
I have this error that I cannot seem to solve. I have searched everywhere, but no answers.
Here below you'll see a detailed description of the problem:
> Task :google_maps_flutter:testDebugUnitTest
io.flutter.plugins.googlemaps.CircleBuilderTest > density_AppliesToStrokeWidth PASSED
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
io.flutter.plugins.googlemaps.CircleControllerTest > controller_SetsStrokeDensity FAILED
org.mockito.exceptions.base.MockitoException at CircleControllerTest.java:20
Caused by: org.mockito.exceptions.base.MockitoException at CircleControllerTest.java:20
Caused by: java.lang.IllegalStateException at CircleControllerTest.java:20
Caused by: java.lang.IllegalArgumentException at CircleControllerTest.java:20
io.flutter.plugins.googlemaps.GoogleMapControllerTest > OnDestroyReleaseTheMap STANDARD_OUT
Downloading from maven
io.flutter.plugins.googlemaps.GoogleMapControllerTest > OnDestroyReleaseTheMap FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > DisposeReleaseTheMap FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > MethodCalledAfterControllerIsDestroyed FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > InvalidateMapAfterMethodCalls FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.GoogleMapControllerTest > InvalidateMapOnceAfterMethodCall FAILED
java.lang.RuntimeException at ReflectionHelpers.java:223
Caused by: java.lang.RuntimeException at ReflectionHelpers.java:208
Caused by: java.lang.IllegalAccessException at FieldAccessorImpl.java:137
io.flutter.plugins.googlemaps.MarkersControllerTest > controller_OnMarkerDragStart FAILED
org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:32
Caused by: org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:32
Caused by: java.lang.IllegalStateException at MarkersControllerTest.java:32
Caused by: java.lang.IllegalArgumentException at MarkersControllerTest.java:32
io.flutter.plugins.googlemaps.MarkersControllerTest > controller_OnMarkerDrag FAILED
org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:98
Caused by: org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:98
Caused by: java.lang.IllegalStateException at MarkersControllerTest.java:98
Caused by: java.lang.IllegalArgumentException at MarkersControllerTest.java:98
io.flutter.plugins.googlemaps.MarkersControllerTest > controller_OnMarkerDragEnd FAILED
org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:65
Caused by: org.mockito.exceptions.base.MockitoException at MarkersControllerTest.java:65
Caused by: java.lang.IllegalStateException at MarkersControllerTest.java:65
Caused by: java.lang.IllegalArgumentException at MarkersControllerTest.java:65
io.flutter.plugins.googlemaps.PolygonBuilderTest > density_AppliesToStrokeWidth PASSED
io.flutter.plugins.googlemaps.PolygonControllerTest > controller_SetsStrokeDensity FAILED
org.mockito.exceptions.base.MockitoException at PolygonControllerTest.java:20
Caused by: org.mockito.exceptions.base.MockitoException at PolygonControllerTest.java:20
Caused by: java.lang.IllegalStateException at PolygonControllerTest.java:20
Caused by: java.lang.IllegalArgumentException at PolygonControllerTest.java:20
io.flutter.plugins.googlemaps.PolylineBuilderTest > density_AppliesToStrokeWidth PASSED
io.flutter.plugins.googlemaps.PolylineControllerTest > controller_SetsStrokeDensity FAILED
org.mockito.exceptions.base.MockitoException at PolylineControllerTest.java:20
Caused by: org.mockito.exceptions.base.MockitoException at PolylineControllerTest.java:20
Caused by: java.lang.IllegalStateException at PolylineControllerTest.java:20
Caused by: java.lang.IllegalArgumentException at PolylineControllerTest.java:20
14 tests completed, 11 failed
Followed this guide: https://github.com/cloudfoundry/uaa#quick-start
First problem after doing "./gradlew run" It get's stuck at cargoRunLocal.
<============-> 96% EXECUTING [7m 57s]
> :cargoRunLocal
Then I found out that for some people changing build.gradle line like this worked. Found some variations and tried all of them with no luck.
-DLOGIN_CONFIG_URL=file://"+new
File(".").absolutePath+"/uaa/src/main/resources/required_configuration.yml
with
-DLOGIN_CONFIG_URL=file:///"+new
File(".").absolutePath.replace("\\","/")+"/uaa/src/main/resources/required_configuration.yml
Then I noticed the default branch is "develop" so I switched to "master" branch but got the same results.
Some messages from logs that might help to understand the problem.
1
INFO --- UaaMetricsEmitter: Could not find UaaMetrics object on MBean server. Please deploy UAA in the same JVM.
2
cloudfoundry-identity-server/uaa - 4596 [main] .... ERROR --- RecognizeFailureDispatcherServlet: Unable to start UAA application.
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'activeKeyService' defined in class path resource [spring/login-ui.xml]: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:223)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.processProperties(PropertySourcesPlaceholderConfigurer.java:180)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.postProcessBeanFactory(PropertySourcesPlaceholderConfigurer.java:152)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:283)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:163)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:687)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:525)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:634)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:682)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:171)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.cloudfoundry.identity.uaa.web.RecognizeFailureDispatcherServlet.init(RecognizeFailureDispatcherServlet.java:56)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1124)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1079)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4829)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1858)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:772)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:426)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1585)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424)
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:972)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1432)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1422)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:261)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:801)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:695)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2.resolveStringValue(PropertySourcesPlaceholderConfigurer.java:172)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitIndexedArgumentValues(BeanDefinitionVisitor.java:150)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:84)
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:220)
3
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'encryption.active_key_label' in value "${encryption.active_key_label}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:174)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:236)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$2.resolveStringValue(PropertySourcesPlaceholderConfigurer.java:172)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveStringValue(BeanDefinitionVisitor.java:282)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.resolveValue(BeanDefinitionVisitor.java:204)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitIndexedArgumentValues(BeanDefinitionVisitor.java:150)
at org.springframework.beans.factory.config.BeanDefinitionVisitor.visitBeanDefinition(BeanDefinitionVisitor.java:84)
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:220)
... 58 more
Extra facts: Tomcat server starts. Going to "http://localhost:8080/uaa/" says "FAILURE"
When i'm running the rules in ODM 8.8 getting the below exception. I am using the Decision engine 1.40
execution E It was not possible to create the ruleset: /MisApp/1.0/Mis/1.74.
com.ibm.rules.res.xu.internal.XUException: GBRXU0467E: The creation of EngineDefinition failed.
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:89)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createDERuleset(XURulesetFactory.java:250)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createRuleset(XURulesetFactory.java:117)
at com.ibm.rules.res.xu.ruleset.internal.RulesetParsingWork.run(RulesetParsingWork.java:89)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:282)
at java.security.AccessController.doPrivileged(AccessController.java:422)
at javax.security.auth.Subject.doAs(Subject.java:494)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:133)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:285)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:667)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: com.ibm.rules.engine.load.XUEngineDynamicLoader$CreationException: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.loadJar(XUEngineDynamicLoaderImpl.java:213)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinitionFromDSAR(XUEngineDynamicLoaderImpl.java:77)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinition(XUEngineDynamicLoaderImpl.java:52)
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:82)
... 11 more
Caused by: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at java.security.AccessController.doPrivileged(AccessController.java:456)
at com.ibm.rules.engine.util.platform.JavaReflectionUtils.loadClassAndCreatesInstance(JavaReflectionUtils.java:103)
at com.ibm.rules.engine.load.NativeEngineLoader.createEngineDefinition(NativeEngineLoader.java:184)
at com.ibm.rules.engine.load.NativeEngineLoader.loadEngineFromJarStream(NativeEngineLoader.java:166)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.loadJar(XUEngineDynamicLoaderImpl.java:211)
... 14 more
Caused by: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at java.lang.Class.throwNoSuchMethodException(Class.java:461)
at java.lang.Class.getConstructor(Class.java:521)
at com.ibm.rules.engine.util.platform.JavaReflectionUtils$3.run(JavaReflectionUtils.java:121)
at java.security.AccessController.doPrivileged(AccessController.java:452)
... 18 more
[12/13/17 23:33:38:198 CST] 000001e4 execution E The interaction getXURulesetArchiveInformation has failed.
com.ibm.rules.res.xu.internal.XUException: GBRXU0467E: The creation of EngineDefinition failed.
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:89)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createDERuleset(XURulesetFactory.java:250)
at com.ibm.rules.res.xu.ruleset.internal.XURulesetFactory.createRuleset(XURulesetFactory.java:117)
at com.ibm.rules.res.xu.ruleset.internal.RulesetParsingWork.run(RulesetParsingWork.java:89)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:282)
at java.security.AccessController.doPrivileged(AccessController.java:422)
at javax.security.auth.Subject.doAs(Subject.java:494)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:133)
at com.ibm.ejs.j2c.work.WorkProxy$RunWork.run(WorkProxy.java:285)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:63)
at com.ibm.ejs.j2c.work.WorkProxy.run(WorkProxy.java:667)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
Caused by: com.ibm.rules.engine.load.XUEngineDynamicLoader$CreationException: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.loadJar(XUEngineDynamicLoaderImpl.java:213)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinitionFromDSAR(XUEngineDynamicLoaderImpl.java:77)
at com.ibm.rules.engine.load.XUEngineDynamicLoaderImpl.createEngineDefinition(XUEngineDynamicLoaderImpl.java:52)
at com.ibm.rules.res.xu.engine.de.internal.XUEngineDynamicDefinitionFactory.createEngineDefinition(XUEngineDynamicDefinitionFactory.java:82)
... 11 more
Caused by: java.security.PrivilegedActionException: java.lang.NoSuchMethodException: com.ibm.rules.generated.ruleflow.RuleflowDefinitionImpl.([Lcom.ibm.rules.engine.service.EngineService;)
I am getting an no lock exception (caused by sleepycat) while trying to open TitanGraph instance below. Any leads what might be causing it ? Am i missing something ? I have checked for permission and ownership of that directory but no luck.
TitanGraph titanGraph;
Configuration config = new BaseConfiguration();
Configuration storage = config.subset("storage");
storage.setProperty("backend", "local");
storage.setProperty("directory", "data/titan");
titanGraph = TitanFactory.open(config);
Caused by:
java.lang.IllegalArgumentException: Could not instantiate implementation: com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager
at com.thinkaurelius.titan.diskstorage.Backend.instantiate(Backend.java:355)
at com.thinkaurelius.titan.diskstorage.Backend.getImplementationClass(Backend.java:367)
at com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:311)
at com.thinkaurelius.titan.diskstorage.Backend.<init>(Backend.java:121)
at com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.getBackend(GraphDatabaseConfiguration.java:1163)
at com.thinkaurelius.titan.graphdb.database.StandardTitanGraph.<init>(StandardTitanGraph.java:75)
at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:40)
at com.narus.tst.graph.GraphDaoImpl.openDb(GraphDaoImpl.java:221)
at com.narus.tst.job.RunNazca.jobRun(RunNazca.java:267)
at com.narus.tst.job.RunNazca.runNazca(RunNazca.java:250)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:269)
at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:312)
... 3 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at com.thinkaurelius.titan.diskstorage.Backend.instantiate(Backend.java:344)
... 18 more
Caused by: com.thinkaurelius.titan.diskstorage.PermanentStorageException: Error during BerkeleyJE initialization:
at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:74)
at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.<init>(BerkeleyJEStoreManager.java:42)
... 23 more
Caused by: com.sleepycat.je.EnvironmentFailureException: (JE 5.0.73) data/titan java.io.IOException: No locks available LOG_INTEGRITY: Log information is incorrect, problem is likely persistent. Environment is invalid and must be closed.
at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:2181)
at com.sleepycat.je.log.FileManager.<init>(FileManager.java:370)
at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:453)
at com.sleepycat.je.dbi.EnvironmentImpl.<init>(EnvironmentImpl.java:382)
at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:178)
at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:246)
at com.sleepycat.je.Environment.<init>(Environment.java:227)
at com.sleepycat.je.Environment.<init>(Environment.java:170)
at com.thinkaurelius.titan.diskstorage.berkeleyje.BerkeleyJEStoreManager.initialize(BerkeleyJEStoreManager.java:70)
... 24 more
Caused by: java.io.IOException: No locks available
at sun.nio.ch.FileDispatcherImpl.lock0(Native Method)
at sun.nio.ch.FileDispatcherImpl.lock(FileDispatcherImpl.java:90)
at sun.nio.ch.FileChannelImpl.tryLock(FileChannelImpl.java:1063)
at com.sleepycat.je.log.FileManager.lockEnvironment(FileManager.java:2171)
... 32 more
this is my logcat-
03-23 21:02:12.573 22442-22442/the.falacermusicE/AndroidRuntime:FATAL EXCEPTION: main
android.app.SuperNotCalledException: Activity {the.falacermusic/the.falacermusic.ui.activities.HomeActivity} did not call through to super.onStart()
at android.app.Activity.performStart(Activity.java:5196)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2087)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2139)
at android.app.ActivityThread.access$700(ActivityThread.java:143)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1241)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4963)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
at dalvik.system.NativeStart.main(Native Method)
03-23 21:02:12.573 22442-22442/the.falacermusicE/AndroidRuntime:FATAL EXCEPTION: main android.app.SuperNotCalledException: Activity {the.falacermusic/the.falacermusic.ui.activities.HomeActivity} did not call through to super.onStart()
As the error states you are implementing the onStart method in your HomeActivity but you are not going throgh the super.onStart() method.