[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1726) NullPointerException in XMLScanner

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Feb 5 08:34:14 EST 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1726?page=comments#action_12398216 ] 
            
Viacheslav Kabanovich commented on JBIDE-1726:
----------------------------------------------

Value of 'name' should never be null at this point, that was
implementation bug. It was very helpful to find what objects
are to be fixed by logging their names. So, I decided to
preserve this logging to help fixing the same kind of bug
in the future.

> NullPointerException in XMLScanner
> ----------------------------------
>
>                 Key: JBIDE-1726
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1726
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Seam
>    Affects Versions: 2.0.0.GA
>            Reporter: Viacheslav Kabanovich
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.0.1
>
>
> If components xml contains tag <framework:ejbql> or <framework:order>, build throws exception
> java.lang.NullPointerException
>    at java.util.StringTokenizer.<init>
>    at java.util.StringTokenizer.<init>
>    at org.jboss.tools.seam.internal.core.scanner.xml.XMLScanner.toCamelCase(XMLScanner.java:318)
>    at org.jboss.tools.seam.internal.core.scanner.xml.XMLScanner.parseComponent(XMLScanner.java:204)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list