[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4411) Project Explorer reports 'Could not acquire children from extension: org.jboss.tools.seam.ui.views.projectContent'

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Jun 3 06:05:56 EDT 2009


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

Viacheslav Kabanovich commented on JBIDE-4411:
----------------------------------------------

We have certainly changed nothing in our content providers for a long time. It must be some modification of common navigator. And as far as I remember, methods returning lists and arrays are generally expected to return empty lists/arrays rather than null, so that each implementation that returns null for array is potentially unsafe.

> Project Explorer reports 'Could not acquire children from extension: org.jboss.tools.seam.ui.views.projectContent'
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-4411
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4411
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>    Affects Versions: 3.1.0.M1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.1.0.M2
>
>
> EXECUTE: Open Project Explorer
> EXECUTE: Create Seam Project
> EXECUTE: Browse Seam Components in Project Explorer
> EXECUTE: Select 'Close Project' action for the created project
> FAILURE: Message and stack trace in the log.
>   [java] !ENTRY org.eclipse.ui.navigator 4 0 2009-06-02 05:11:52.082
>      [java] !MESSAGE Could not acquire children from extension: org.jboss.tools.seam.ui.views.projectContent
>      [java] !STACK 0
>      [java] java.lang.NullPointerException
>      [java] at org.eclipse.ui.internal.navigator.NavigatorContentService.rememberContribution(NavigatorContentService.java:686)
>      [java] at org.eclipse.ui.internal.navigator.extensions.SafeDelegateTreeContentProvider.getChildren(SafeDelegateTreeContentProvider.java:91)
>      [java] at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.internalGetChildren(NavigatorContentServiceContentProvider.java:246)
>      [java] at org.eclipse.ui.internal.navigator.NavigatorContentServiceContentProvider.getChildren(NavigatorContentServiceContentProvider.java:221)
>      [java] at org.eclipse.jst.jee.ui.internal.navigator.JEE5ContentProvider$1.run(JEE5ContentProvider.java:113)

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