java.lang.ClassCastException: java.lang.String

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 wsmoak.net by Unknown author, 1 year ago
java.lang.ClassCastException: java.lang.String
at de.hunsicker.jalopy.storage.Convention.synchronize(Convention.java:2419)
at de.hunsicker.jalopy.storage.Convention.synchronize(Convention.java:2445)
at de.hunsicker.jalopy.storage.Convention.(Convention.java:211)
at de.hunsicker.jalopy.plugin.ant.AntPlugin.(AntPlugin.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at org.apache.tools.ant.AntClassLoader.initializeClass(AntClassLoader.java:490)
at org.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:231)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:79)
at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:110)
at com.werken.werkz.Goal.fire(Goal.java:639)
at com.werken.werkz.Goal.attain(Goal.java:575)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at com.werken.werkz.Goal.attainPrecursors(Goal.java:488)
at com.werken.werkz.Goal.attain(Goal.java:573)
at org.apache.maven.cli.App.doMain(App.java:488)
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:585)
at com.werken.forehead.Forehead.run(Forehead.java:551)
at com.werken.forehead.Forehead.main(Forehead.java:581)

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.