[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7027) InjectionPointQueryParticipant throws NullPointerException if user searches references for class from jar file
Daniel Azarov (JIRA)
jira-events at lists.jboss.org
Wed Sep 8 09:11:49 EDT 2010
InjectionPointQueryParticipant throws NullPointerException if user searches references for class from jar file
--------------------------------------------------------------------------------------------------------------
Key: JBIDE-7027
URL: https://jira.jboss.org/browse/JBIDE-7027
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi (jsr-299)
Affects Versions: 3.2.0.M2
Reporter: Daniel Azarov
Assignee: Daniel Azarov
Fix For: 3.2.0.Beta
Test case:
1. Start studio
2. Create Java project, make it CDI project
3. Expand in Package Explorer any folder with jars
4. Expand any jar file
5. Expand any class file
6. Right click on any method
7. Select "References->Workspace" menu item
8. Check Error log
FAIL:
Exception:
java.lang.NullPointerException
at org.jboss.tools.cdi.ui.search.InjectionPointQueryParticipant.search(InjectionPointQueryParticipant.java:65)
at org.eclipse.jdt.internal.ui.search.JavaSearchQuery$2.run(JavaSearchQuery.java:164)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.jdt.internal.ui.search.JavaSearchQuery.run(JavaSearchQuery.java:170)
at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:91)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
--
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