[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-1021) Problems importing project created with RHDV beta 1 into new workspace in RHDS beta 1

Rob Stryker (JIRA) jira-events at lists.jboss.org
Fri Oct 12 15:40:03 EDT 2007


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

Rob Stryker resolved JBIDE-1021.
--------------------------------

    Resolution: Done

I was unable to reproduce it, however, looking at the trace led me to believe I understand the issue.

The project is associated with a runtime to get the proper jars. The new workspace probably did not have the runtime that hte old workspace did, which would cause the runtime in that method to be null.  If it was null, however, the method would have returned in the first line and no exception would have been generated.

Instead, there must have been another runtime with the same name or ID but *not* of the proper jboss type. 

Either way, the method was a small one and there was only one spot where a NPE could have been generated and I've added a null check to it. 

Please re-test to make sure it's now un-repeatable. 

> Problems importing project created with RHDV beta 1 into new workspace in RHDS beta 1
> -------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1021
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1021
>             Project: JBoss Tools
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 2.0.0.Beta3
>         Environment: Windows XP Enterprise,Red Hat Develoopoer Studio 1, jre 1.5.0_09
>            Reporter: Y E
>         Assigned To: Rob Stryker
>            Priority: Critical
>             Fix For: 2.0.0.CR1
>
>         Attachments: 1.log, 2.log, WSClientJIRA.zip
>
>
> 1.Generated WS Client project from a wsdl
> 2.Generated JSP to test the client
> 3. Closed the current workspace
> 4. Opened new workspace, copied the project to the new workspace  and tried to import it.
> 5. No message is given, but the project is empty in package explorer ( see 1.log)
> 6.Closed RHDS
> 7.Opened RHDS
> 8.Message appears: 
> Initialising Java Tooling(Time of error ....)
> Reason:
> java.lang.NullPOinterException ( 2.log)
> The same problem occurs if step 2 is skipped.

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