[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-6863) NPE when selecting groovy script in groovy action

Libor Zoubek (JIRA) jira-events at lists.jboss.org
Wed Aug 25 11:47:12 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-6863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12546919#action_12546919 ] 

Libor Zoubek commented on JBIDE-6863:
-------------------------------------

Yes, in the browse dialog is an empty line under root node. 
esbcontent folder does not exist in project and no such file in .settings folder.
Restarting eclipse does not solve anything.

Truth is, that I am creating simple Java project and then I add ESB file into it. This seems to be the reason. Maybe I've misunderstood. But I thought that once I add ESB config file into any type of project, ESB facet will be added. Now I know, that I'll have to convert to Faceted project first and then add ESB Facet and everything would be OK.

Do you think ESB Facet should be added by default when ESB config file is added to non-faceted project?

> NPE when selecting groovy script in groovy action
> -------------------------------------------------
>
>                 Key: JBIDE-6863
>                 URL: https://jira.jboss.org/browse/JBIDE-6863
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: esb
>    Affects Versions: 3.2.0.M2
>            Reporter: Libor Zoubek
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.0.Beta
>
>         Attachments: NPE.log
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> This issue is reproducible since ESB Editor 1.3. (I have updated my tools yesterday and I wonder. When I run bot tests I get ESB editor version 1.3, but when I create esb project in my workspace I get version 1.2)
> Steps to reproduce:
> 1. create esb project
> 2. create esb service
> 3. add Groovy action to service
> 4. navigate to groovy action in esb editor tree
> 5. click 'Browse' button (to select groovy script)
> 6. in browse dialog, select any subfolder of any .jar (This dialog should not allow you to select folder, when you are browsing for *.groovy file) and press 'Finish'
> 7. NPE appears in log, in editor, text field seem like change was done, but in xml file nothing changes

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list