[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-5150) NullPointerException occures while searching for the Seam Declarations made in JARs.

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Thu Nov 5 12:30:05 EST 2009


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

Victor Rubezhny commented on JBIDE-5150:
----------------------------------------

Steps to reproduce:

EXECUTE: Create a Seam project using "Dynamic Web Project with Seam v2.1", for example.
EXECUTE: Open WebContent\login.xhtml page in JBoss Tools HTML Editor
EXECUTE: Point the text cursor to "credintials" word in some of two ELs within the file.
EXECUTE: Execute Search->Find Seam Declarations actions from the menu.
ASSERT: The Credentials class has found in jboss-seam.jar and shown in the Search view.



> NullPointerException occures while searching for the Seam Declarations made in JARs.
> ------------------------------------------------------------------------------------
>
>                 Key: JBIDE-5150
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5150
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common, jsp/jsf/xml source editing
>    Affects Versions: 3.1.0.CR1
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>             Fix For: 3.1.0.CR1
>
>
> When searching for the Seam Variable declared in a JAR archive the NullPointerException occures:
> !ENTRY org.jboss.tools.seam.ui 4 0 2009-11-05 19:49:35.042
> !MESSAGE 
> !STACK 0
> java.lang.NullPointerException
> 	at org.jboss.tools.seam.ui.search.SeamElementMatch.<init>(SeamElementMatch.java:45)
> 	at org.jboss.tools.seam.ui.search.SeamSearchQuery$SeamSearchResultCollector.acceptSeamDeclarationSourceReferenceMatch(SeamSearchQuery.java:140)
> 	at org.jboss.tools.seam.ui.search.SeamSearchVisitor.processSeamDeclarationsInProject(SeamSearchVisitor.java:843)
> 	at org.jboss.tools.seam.ui.search.SeamSearchVisitor.processSeamProjects(SeamSearchVisitor.java:452)
> 	at org.jboss.tools.seam.ui.search.SeamSearchVisitor.searchForDeclarations(SeamSearchVisitor.java:434)
> 	at org.jboss.tools.seam.ui.search.SeamSearchVisitor.search(SeamSearchVisitor.java:393)
> 	at org.jboss.tools.seam.ui.search.SeamSearchEngine$1.search(SeamSearchEngine.java:208)
> 	at org.jboss.tools.seam.ui.search.SeamSearchEngine$1.search(SeamSearchEngine.java:108)
> 	at org.jboss.tools.seam.ui.search.SeamSearchQuery.queryByTokens(SeamSearchQuery.java:276)
> 	at org.jboss.tools.seam.ui.search.SeamSearchQuery.run(SeamSearchQuery.java:259)
> 	at org.eclipse.search2.internal.ui.InternalSearchUI$1.run(InternalSearchUI.java:220)
> 	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

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