Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Gustavo Menezes, 2 years ago
java.lang.NullPointerException
java.lang.NullPointerException: 	at java.util.zip.ZipFile.getZipEntry(ZipFile.java:531)	at java.util.zip.ZipFile.access$900(ZipFile.java:56)	at java.util.zip.ZipFile$1.nextElement(ZipFile.java:513)	at java.util.zip.ZipFile$1.nextElement(ZipFile.java:483)	at java.util.jar.JarFile$1.nextElement(JarFile.java:244)	at java.util.jar.JarFile$1.nextElement(JarFile.java:239)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$ArchiveJarEntrySource.getNextJarEntry(InputJarArchive.java:590)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$EntryEnumeration.getNextJarEntry(InputJarArchive.java:512)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$TopLevelDirectoryEntryEnumeration.skipToNextMatchingEntry(InputJarArchive.java:646)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$EntryEnumeration.completeInit(InputJarArchive.java:493)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$TopLevelDirectoryEntryEnumeration.(InputJarArchive.java:633)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$TopLevelDirectoryEntryEnumeration.(InputJarArchive.java:629)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.createEntryEnumeration(InputJarArchive.java:455)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.entries(InputJarArchive.java:203)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.access$100(InputJarArchive.java:74)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$1.enumeration(InputJarArchive.java:166)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive$CollectionWrappedEnumeration.(InputJarArchive.java:728)	at com.sun.enterprise.deployment.deploy.shared.InputJarArchive.getDirectories(InputJarArchive.java:161)	at org.glassfish.javaee.full.deployment.EarDetector.isEARFromIntrospecting(EarDetector.java:142)	at org.glassfish.javaee.full.deployment.EarDetector.handles(EarDetector.java:110)	at com.sun.enterprise.v3.server.ApplicationLifecycle.getArchiveHandler(ApplicationLifecycle.java:212)	at org.glassfish.deployment.admin.DeployCommand.preAuthorization(DeployCommand.java:243)	at com.sun.enterprise.admin.util.CommandSecurityChecker$1.run(CommandSecurityChecker.java:187)	at com.sun.enterprise.admin.util.CommandSecurityChecker$1.run(CommandSecurityChecker.java:183)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:356)	at com.sun.enterprise.admin.util.CommandSecurityChecker.authorize(CommandSecurityChecker.java:183)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1239)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1300(CommandRunnerImpl.java:109)	at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1846)	at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:164)	at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:597)	at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:484)	at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:412)	at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:403)	at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:233)	at java.util.TimerThread.mainLoop(Timer.java:555)	at java.util.TimerThread.run(Timer.java:505)