java.lang.IllegalArgumentException: InputStream cannot be null

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 jakarta-cactus-user by Kapil Khanna, 1 year ago
InputStream cannot be null
via jakarta-cactus-user by Kapil Khanna, 1 year ago
InputStream cannot be null
via Google Groups by Chacin, Cinthia, 3 months ago
via samlsecurity.com by Unknown author, 1 year ago
java.lang.IllegalArgumentException: InputStream cannot be null
at org.apache.cactus.integration.ant.deployment.application.ApplicationXmlIo.parseApplicationXml(ApplicationXmlIo.java:152)
at org.apache.cactus.integration.ant.deployment.application.DefaultEarArchive.getApplicationXml(DefaultEarArchive.java:89)
at org.apache.cactus.integration.ant.deployment.EarParser.getUriOfCactifiedWebModule(EarParser.java:161)
at org.apache.cactus.integration.ant.deployment.EarParser.parse(EarParser.java:59)
at org.apache.cactus.integration.ant.CactusTask.execute(CactusTask.java:139)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 week ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.