java.lang.RuntimeException: Unable to determine bundle corresponding to application location /Users/me/Documents/glassfish-3.1.1/glassfish/domains/mydomain/applications/my-app

Oracle Community | shralpfx | 5 years ago
  1. 0

    RuntimeException after relocating Glassfish installation

    Oracle Community | 5 years ago | shralpfx
    java.lang.RuntimeException: Unable to determine bundle corresponding to application location /Users/me/Documents/glassfish-3.1.1/glassfish/domains/mydomain/applications/my-app
  2. 0
    If the decompile process didn't work properly, try the Android APK Decompiler.
  3. 0
    Switch to Android Build Tools 23.0.3
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    SMS Emulator caused this error. abortBroadcast only works with broadcasts sent through Context.sendOrderedBroadcast.
  6. 0
    I did this as root, and works dpkg --add-architecture i386 apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386

    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.RuntimeException

      Unable to determine bundle corresponding to application location /Users/me/Documents/glassfish-3.1.1/glassfish/domains/mydomain/applications/my-app

      at org.glassfish.extras.osgicontainer.OSGiDeployer.getApplicationBundle()
    2. Embedded GlassFish Web
      OSGiDeployer.load
      1. org.glassfish.extras.osgicontainer.OSGiDeployer.getApplicationBundle(OSGiDeployer.java:128)
      2. org.glassfish.extras.osgicontainer.OSGiDeployer.load(OSGiDeployer.java:68)
      3. org.glassfish.extras.osgicontainer.OSGiDeployer.load(OSGiDeployer.java:62)
      3 frames
    3. Private APIs of Glassfish
      ApplicationInfo.load
      1. org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:186)
      2. org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:257)
      2 frames
    4. Kernel Classes
      ApplicationLoaderService.postConstruct
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:461)
      2. com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:375)
      3. com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:219)
      3 frames
    5. Inversion of Control / Autodependency mechanism
      AbstractInhabitantImpl.get
      1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
      2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
      3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
      4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
      5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
      6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
      6 frames
    6. Kernel Classes
      AppServerStartup.start
      1. com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:253)
      2. com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)
      3. com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)
      3 frames
    7. Appserver Core
      GlassFishMain$Launcher.launch
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
      2. com.sun.enterprise.glassfish.bootstrap.GlassFishDecorator.start(GlassFishDecorator.java:63)
      3. com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishImpl.start(OSGiGlassFishImpl.java:69)
      4. com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:117)
      4 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    9. Appserver Core
      ASMain.main
      1. com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97)
      2. com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55)
      2 frames