java.lang.IllegalStateException: Could not initialize the platform sdk; error code: -1

GitHub | rahul27 | 2 months ago
  1. 0

    GitHub comment 818#250047158

    GitHub | 2 months ago | rahul27
    java.lang.IllegalStateException: Could not initialize the platform sdk; error code: -1
  2. 0

    hibernate 3.6.2 auto configure support

    GitHub | 1 year ago | peterdnight
    java.lang.IllegalStateException: Could not configure JTA platform
  3. 0

    When I try to deploy nexus-webapp-1.4.0.war to JBoss AS 5.1.0 GA (via admin console or via deploy folder) I get following error (copied from JBoss log): 2009-11-20 20:07:26,950 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/nexus-webapp-1.4.0]] (ResourceContainer.invoker.nonDaemon-2) Exception sending context initialized event to listener instance of class org.sonatype.nexus.web.NexusBooterListener java.lang.IllegalStateException: Could not initialize Nexus. at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:43) ... Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to lookup component 'org.sonatype.nexus.Nexus', it could not be started. role: org.sonatype.nexus.Nexus roleHint: default classRealm: plexus.core at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:366) at org.codehaus.plexus.DefaultComponentRegistry.lookup(DefaultComponentRegistry.java:178) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:383) at org.sonatype.nexus.web.NexusBooterListener.contextInitialized(NexusBooterListener.java:35) ... 77 more Caused by: org.codehaus.plexus.component.repository.exception.ComponentLifecycleException: Error starting component at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:282) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.build(XBeanComponentBuilder.java:129) at org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:181) at org.codehaus.plexus.component.manager.SingletonComponentManager.getComponent(SingletonComponentManager.java:67) at org.codehaus.plexus.DefaultComponentRegistry.getComponent(DefaultComponentRegistry.java:351) ... 80 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.PhaseExecutionException: Error starting component at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:37) at org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:97) at org.codehaus.plexus.component.manager.AbstractComponentManager.start(AbstractComponentManager.java:167) at org.codehaus.plexus.component.builder.XBeanComponentBuilder.startComponentLifecycle(XBeanComponentBuilder.java:280) ... 84 more Caused by: org.codehaus.plexus.personality.plexus.lifecycle.phase.StartingException: Could not start Nexus! at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:651) at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) ... 87 more Caused by: java.lang.NullPointerException at org.sonatype.security.DefaultSecuritySystem.clearRealmCaches(DefaultSecuritySystem.java:859) at org.sonatype.security.DefaultSecuritySystem.start(DefaultSecuritySystem.java:842) at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:680) at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647) at org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:33) ... Full error log is attached to this issue.

    Sonatype JIRA | 7 years ago | Alexander Sokolovsky
    java.lang.IllegalStateException: Could not initialize Nexus.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can not access web service... IllegalStateException

    Coderanch | 8 years ago | Sara Fatima
    java.lang.IllegalStateException: Could not initialize Service.
  6. 0

    Auhtorize.net (CIM) sample code not working with tomcat webapplication

    Stack Overflow | 7 years ago | gottu2000
    java.lang.IllegalStateException: Could not initialize Service.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Could not initialize the platform sdk; error code: -1

      at org.gearvrf.PlatformEntitlementCheck.start()
    2. org.gearvrf
      PlatformEntitlementCheck.start
      1. org.gearvrf.PlatformEntitlementCheck.start(PlatformEntitlementCheck.java:63)
      1 frame
    3. org.gearvrf.simplesample
      SampleMain.onInit
      1. org.gearvrf.simplesample.SampleMain.onInit(SampleMain.java:66)
      1 frame
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. org.gearvrf
      GVREventManager.invokeMethod
      1. org.gearvrf.GVREventManager.invokeMethod(GVREventManager.java:307)
      1 frame