java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problems running roster app
    via by benny vaessen,
  • Problem running a simple EJB application
    via Stack Overflow by PB_MLT
    ,
  • I'm unable to lunch any app-client using Web Start. I don't know in which "subcomponent" fill the bug, and maybe it should be a P1. Tested with both Glassfish 3.0 (as bundled with NetBean 6.8), GF 3.0.1 (file glassfish-v3u1-b01.zip), GF 3.1 (build 2010-01-24). After having deployed (using the CLI) the NetBeans sample LotteryAnnotation (but the same happens with a my custom EAR application), when I try to execute the appclient (using javaws) I receive this error message on console: java.io.IOException: Failed to read jar:http://localhost:8080/___JWSappclient/___app/LotteryAnnotation/glassfish/modules/gf-client-module.jar!/META-INF/inhabitants/default at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:112) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:83) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:73) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:42) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83) 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) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066) at com.sun.javaws.Launcher.run(Launcher.java:116) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:180) at java.io.DataInputStream.readFully(DataInputStream.java:152) at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:105) ... 23 more Error launching or running the application java.lang.NullPointerException java.lang.NullPointerException at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:448) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:443) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:48) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83) 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) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066) at com.sun.javaws.Launcher.run(Launcher.java:116) at java.lang.Thread.run(Thread.java:619) What is the problem? Is there a work-around? Regards, Daniele
    via by dbenegiamo,
  • appclient doesn't work
    via by kurtdz,
  • I'm unable to lunch any app-client using Web Start. I don't know in which "subcomponent" fill the bug, and maybe it should be a P1. Tested with both Glassfish 3.0 (as bundled with NetBean 6.8), GF 3.0.1 (file glassfish-v3u1-b01.zip), GF 3.1 (build 2010-01-24). After having deployed (using the CLI) the NetBeans sample LotteryAnnotation (but the same happens with a my custom EAR application), when I try to execute the appclient (using javaws) I receive this error message on console: java.io.IOException: Failed to read jar:http://localhost:8080/___JWSappclient/___app/LotteryAnnotation/glassfish/modules/gf-client-module.jar!/META-INF/inhabitants/default at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:112) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:83) at com.sun.enterprise.module.single.ProxyModuleDefinition.<init>(ProxyModuleDefinition.java:73) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:42) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83) 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) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066) at com.sun.javaws.Launcher.run(Launcher.java:116) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:180) at java.io.DataInputStream.readFully(DataInputStream.java:152) at com.sun.enterprise.module.single.ProxyModuleDefinition.readFully(ProxyModuleDefinition.java:105) ... 23 more Error launching or running the application java.lang.NullPointerException java.lang.NullPointerException at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:448) at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.add(AbstractModulesRegistryImpl.java:443) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:48) at com.sun.enterprise.module.single.SingleModulesRegistry.<init>(SingleModulesRegistry.java:30) at com.sun.enterprise.module.single.StaticModulesRegistry.<init>(StaticModulesRegistry.java:60) at org.glassfish.appclient.client.acc.ACCModulesManager.prepareHabitat(ACCModulesManager.java:147) at org.glassfish.appclient.client.acc.ACCModulesManager.initialize(ACCModulesManager.java:81) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.prepareHabitatAndNaming(AppClientContainerBuilder.java:192) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:152) at org.glassfish.appclient.client.acc.AppClientContainerBuilder.newContainer(AppClientContainerBuilder.java:141) at org.glassfish.appclient.client.AppClientFacade.createContainerForJWSLaunch(AppClientFacade.java:469) at org.glassfish.appclient.client.AppClientFacade.createContainer(AppClientFacade.java:428) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:256) at org.glassfish.appclient.client.JWSAppClientContainerMain.main(JWSAppClientContainerMain.java:83) 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) at com.sun.javaws.Launcher.executeApplication(Launcher.java:1302) at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1248) at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1066) at com.sun.javaws.Launcher.run(Launcher.java:116) at java.lang.Thread.run(Thread.java:619) What is the problem? Is there a work-around? Regards, Daniele
    via by dbenegiamo,
  • glassfih + jdk 1.6_18 problems
    via by menny68,
    • java.lang.NullPointerException at org.glassfish.appclient.client.acc.ACCLogger$1.run(ACCLogger.java:149) at java.security.AccessController.doPrivileged(Native Method) at org.glassfish.appclient.client.acc.ACCLogger.reviseLogger(ACCLogger.java:146) at org.glassfish.appclient.client.acc.ACCLogger.init(ACCLogger.java:93) at org.glassfish.appclient.client.acc.ACCLogger.<init>(ACCLogger.java:80) at org.glassfish.appclient.client.AppClientFacade.createBuilder(AppClientFacade.java:360) at org.glassfish.appclient.client.AppClientFacade.prepareACC(AppClientFacade.java:247) at org.glassfish.appclient.client.acc.agent.AppClientContainerAgent.premain(AppClientContainerAgent.java:75) 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) at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:323) at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:338)
    No Bugmate found.