[
https://jira.jboss.org/jira/browse/JBIDE-3613?page=com.atlassian.jira.plu...
]
Snjezana Peco commented on JBIDE-3613:
--------------------------------------
Display.getCurrent() will return null when it is called in a non-UI thread.
You can fix NPE by the following code:
Display display = Display.getCurrent();
if (display == null) {
display=display.getDefault();
}
display.asyncExec(...);
or
just use Display.getDefault() as mentioned in the previous message.
Display.getDefault() will never return null in the Eclipse workbench.
Action, Form, Conversation java files are not represented in Package
Explorer after creation for seam war projects
-------------------------------------------------------------------------------------------------------------------
Key: JBIDE-3613
URL:
https://jira.jboss.org/jira/browse/JBIDE-3613
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 2.0.0.GA
Reporter: Anton Klimkovich
Assignee: Alexey Kazakov
Priority: Critical
Fix For: 3.0.0.GA
Attachments: AfterCloseAndOpen.PNG, newActionRepresentation.PNG
EXECUTE: Create seam War web project
EXECUTE: Create new Action (Form, Conversation )
ASSERT: New action.java openes in Editor. File should be represented in Package
Explorer.
FAILURE: New action.java isn't represented in Package Explorer.
Physically java file present in project.
(\jbdevstudio20CR2\eclipse\ws\seam12War\src\hot\org\domain\seam12war\session\Action1.java
)
Screenshot attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira