[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6123) there is a NPE when a dynamic web project no src folder during using the sample web service wizard

Feng Qian (JIRA) jira-events at lists.jboss.org
Thu Apr 1 02:22:38 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-6123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Feng Qian resolved JBIDE-6123.
------------------------------

    Resolution: Done


fixed. During the fixing, I found there are some validation in JBossWSGenerateWizard.canFinish(). If there are errors, it will setErrorMessage to the firstpage. But the canFinish() method is called before the firstpage validate(). In the validate() of the firstpage, if no errors, it will setErrorMessages=null, so if canFinish() has error, but validate() no, the error message will be ignored. 
Then I move these validation from canFinish() to validate() of the firstpage

> there is a NPE when a dynamic web project no src folder during using the sample web service wizard
> --------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-6123
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-6123
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Webservices
>            Reporter: Feng Qian
>            Assignee: Feng Qian
>             Fix For: 3.2.next
>
>         Attachments: JBIDE6123.patch
>
>
> create a dynamic web project, don't set a src folder for this project.
> to use the sample web service wizard to generate a web service, there are a NPE.

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

        


More information about the jbosstools-issues mailing list