getting javax.inject.Instance from Manager#getInstanceByType causes NullPointerException
----------------------------------------------------------------------------------------
Key: WBRI-223
URL:
https://jira.jboss.org/jira/browse/WBRI-223
Project: Web Beans
Issue Type: Bug
Reporter: Takeshi Kondo
Because ManagerImpl#getInjectionPoint() is null in AbstractFacadeBean#create, following
sample code throws NullPointerException.
-- sample code ---
Instance<List> instance = manager.getInstanceByType(new
TypeLiteral<Instance<List>>(){}, new ObtainsLiteral());
--
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