[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1867) java.lang.NullPointerException when try to run on server Seam-test

Rob Stryker (JIRA) jira-events at lists.jboss.org
Thu Apr 3 14:16:29 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBIDE-1867?page=all ]

Rob Stryker updated JBIDE-1867:
-------------------------------

    Fix Version/s: LATER
                       (was: 2.1)

Just to clarify, Max, the issue here  is that one of the artifact adapters, specifically the EJB adapter, is stupid. 

When an item is selected and tried to run on server, the wtp framework goes through each artifact adapter to find out if any can turn that into a runnable object. It expects something like a yes or a no. In this case, the EJB adapter is NPE'ing, and the framework is not catching it because it is a runtime exception. 

 Perhaps the Artifact Adapter which searches for artifacts should be doing so in a safe manner.   I may open another bug in eclipse for this if I have time, but not now.  

Refiling to later.

> java.lang.NullPointerException when try to run on server Seam-test
> ------------------------------------------------------------------
>
>                 Key: JBIDE-1867
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1867
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 2.0.1
>            Reporter: Anton Klimkovich
>         Assigned To: Rob Stryker
>            Priority: Minor
>             Fix For: LATER
>
>         Attachments: exception1.txt
>
>
> EXECUTE: Create Seam EAR/ Seam WAR project (with name SeamEar/SeamWar for example ) 
> EXECUTE: Right mouse click on SeamEar-test/SeamWar-test and select Run As-> Run on Server 
> FAILURE: java.lang.NullPointerException.
> Log attached.

-- 
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