]
George Gastaldi closed FORGE-2190.
----------------------------------
Resolution: Done
Addon: New UI Command throws java.lang.IllegalArgumentException:
Invalid identifier : >< on empty class name
------------------------------------------------------------------------------------------------------------
Key: FORGE-2190
URL:
https://issues.jboss.org/browse/FORGE-2190
Project: Forge
Issue Type: Bug
Components: Addon Development
Affects Versions: 2.13.1.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.13.2.Final
{code}
java.lang.IllegalArgumentException: Invalid identifier : ><
at
org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.java:195)
at
org.jboss.forge.roaster._shade.org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:2202)
at
org.jboss.forge.roaster.model.impl.AbstractJavaSource.setName(AbstractJavaSource.java:450)
at
org.jboss.forge.roaster.model.impl.AbstractJavaSource.setName(AbstractJavaSource.java:56)
at
org.jboss.forge.addon.parser.java.ui.AbstractJavaSourceCommand.buildJavaSource(AbstractJavaSourceCommand.java:188)
at
org.jboss.forge.addon.parser.java.ui.AbstractJavaSourceCommand.classExists(AbstractJavaSourceCommand.java:162)
at
org.jboss.forge.addon.parser.java.ui.AbstractJavaSourceCommand.access$100(AbstractJavaSourceCommand.java:58)
at
org.jboss.forge.addon.parser.java.ui.AbstractJavaSourceCommand$2.call(AbstractJavaSourceCommand.java:100)
at
org.jboss.forge.addon.parser.java.ui.AbstractJavaSourceCommand$2.call(AbstractJavaSourceCommand.java:92)
at org.jboss.forge.furnace.util.Callables.call(Callables.java:43)
at
org.jboss.forge.addon.ui.impl.input.AbstractInputComponent.isEnabled(AbstractInputComponent.java:98)
{code}