org.eclipse.core.runtime.CoreException: Deployment Error for module: hellojavaee: Exception while deploying the app : java.lang.StringIndexOutOfBoundsException: String index out of range: -1%%%EOL%%%

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 Oracle Community by rssole, 1 year ago
Deployment Error for module: hellojavaee: Exception while deploying the app : java.lang.StringIndexOutOfBoundsException: String index out of range: -1%%%EOL%%%
via java.net by Unknown author, 2 years ago
Deployment Error for module: cob: Application name cob is already in use. Please pick a different name.%%%EOL%%%java.lang.NullPointerException%%%EOL%%%
org.eclipse.core.runtime.CoreException: Deployment Error for module: hellojavaee: Exception while deploying the app : java.lang.StringIndexOutOfBoundsException: String index out of range: -1%%%EOL%%%
at com.sun.enterprise.jst.server.sunappsrv.SunAppServerBehaviour.publishDeployedDirectory(SunAppServerBehaviour.java:762)
at com.sun.enterprise.jst.server.sunappsrv.SunAppServerBehaviour.publishModuleForGlassFishV3(SunAppServerBehaviour.java:598)
at com.sun.enterprise.jst.server.sunappsrv.SunAppServerBehaviour.publishModule(SunAppServerBehaviour.java:288)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:1025)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1115)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:948)
at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2889)

Users with the same issue

You are the first who have seen this exception.

Write tip

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