java.lang.IllegalArgumentException: Prefix string too short

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 3004, 1 year ago
via Google Groups by Glenn R. Kronschnabl, 4 months ago
via Oracle Community by 3004, 1 year ago
java.lang.IllegalArgumentException: Prefix string too short
at java.io.File.createTempFile(File.java:1237)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:95)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3356)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3327)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:854)
at weblogic.servlet.internal.WebAppServletContext.(WebAppServletContext.java:807)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:160)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:608)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:592)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:352)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 6 months ago

Write tip

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