[
http://jira.jboss.com/jira/browse/JBIDE-2052?page=all ]
Luke Maurer updated JBIDE-2052:
-------------------------------
Attachment: Authenticator.java
I just opened a new Seam project and went to the generated Authenticator component and
added @Install(false) to it, and got the same NPE. Attached is the modified
Authenticator.java.
NPE on @Install without precedence
----------------------------------
Key: JBIDE-2052
URL:
http://jira.jboss.com/jira/browse/JBIDE-2052
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.1
Reporter: Luke Maurer
Assigned To: Viacheslav Kabanovich
Priority: Critical
Fix For: 2.1
Attachments: Authenticator.java
If a Seam component has an @Install annotation without the "precedence"
attribute, then when saving the component, a NullPointerException appears in the log and
the Components view remains incomplete. Adding precedence=APPLICATION to the annotation
fixes the problem (and serves as a workaround).
--
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