[weld-issues] [JBoss JIRA] Closed: (WELD-501) weldContainer.instance().select().iterator() contains null element

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 4 13:36:49 EDT 2010


     [ https://jira.jboss.org/browse/WELD-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir closed WELD-501.
--------------------------

      Assignee: Pete Muir
    Resolution: Done


> weldContainer.instance().select().iterator() contains null element
> ------------------------------------------------------------------
>
>                 Key: WELD-501
>                 URL: https://jira.jboss.org/browse/WELD-501
>             Project: Weld
>          Issue Type: Bug
>          Components: Built-in beans
>         Environment: Java 1.6, weld-se.1.0.1-Final
>            Reporter: Samuli Saarinen
>            Assignee: Pete Muir
>             Fix For: 1.1.0.BETA1
>
>
> {code}
> private Weld weld;
> 	private WeldContainer container;
> 	@BeforeMethod
> 	public void beforeMethod() throws Exception {
> 		weld = new Weld();
> 		container =  weld.initialize();
> 		
> 	}
> 	
> 	@Test
> 	public void testSelect() throws Exception {
> 		Iterator<Object> iter = container.instance().select().iterator();
> 		while (iter.hasNext()) {
> 			assertNotNull(iter.next());
> 		}
> 	}
> 	@AfterMethod
> 	public void afterMethod() {
> 		weld.shutdown();
> 	}
> {code}

-- 
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 weld-issues mailing list