[
https://issues.jboss.org/browse/JBIDE-10615?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-10615:
----------------------------------------
I can reproduce this even w/o trying to add Seam facet.
Just to install JavaFaces v.1.2 Project configuration to a generated project. I get the
same exception. It's definitely a bug of Eclipse Web Tools.
Looking at the code in debugger I see that WebFacetInstallDelegate is trying to install
Web Dynamic facet to the project but during this action it's initializing EMF model
for WebApp object (WebAppImpl) and it triggers WebAnnotationReader which look for Dynamic
Web Facet (but it's being installed!!!) and as far as it is null it causes NPE.
Probably there is a thread race which cause such an exception under certain
circumstances.
I'm able to reproduce this issue if I remove Seam builder and nature from .project
file before installing JavaFaces v.1.2 Project configuration. But If I remove hibernate
nature as well then I can't repoduce this issue anymore. I don't think hibernate
builder is responsible for this NPE. I still believe it's an issue of Eclipse Web
Tools.
Tomas could you try to install JavaFaces v.1.2 Project configuration and if you get NPE
then report it to bugs.eclipse.org?
Setting "Dynamic Web Project with Seam 2.2" configuration
in Project Facets fails
---------------------------------------------------------------------------------
Key: JBIDE-10615
URL:
https://issues.jboss.org/browse/JBIDE-10615
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam 2, UpStream
Affects Versions: 3.2.0.Final
Environment: JBDS 4.1.0.GA
Reporter: Tomas Remes
Assignee: Alexey Kazakov
Fix For: 3.3.0.Beta1
Attachments: selecting configuration .log
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira