[weld-issues] [JBoss JIRA] (WELD-2567) NPE when trying to get BeanManager after container was closed

2019-02-15 Thread Doychin Bondzhev (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Doychin Bondzhev updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2567  
 
 
  NPE when trying to get BeanManager after container was closed   
 

  
 
 
 
 

 
Change By: 
 Doychin Bondzhev  
 
 
Git Pull Request: 
 https://github.com/weld/core/pull/1906  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.12.1#712002-sha1:609a505)  
 
 

 
   
 

  
 

  
 

   

___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues

[weld-issues] [JBoss JIRA] (WELD-2567) NPE when trying to get BeanManager after container was closed

2019-02-15 Thread Doychin Bondzhev (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Doychin Bondzhev created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Weld /  WELD-2567  
 
 
  NPE when trying to get BeanManager after container was closed   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 3.0.5.Final  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 15/Feb/19 9:14 AM  
 
 
Environment: 
 weld-se-core  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Doychin Bondzhev  
 

  
 
 
 
 

 
 CDI.current() should produce IllegalStateException when there is no active container at the moment. Instead on the second call in the sample application CDI.current() returns null and that results in NPE. The problem is in the implementation of WeldSEProvider.getCDI() It should not return null if there is no active container. Instead it should produce IllegalStateException   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  

[weld-issues] [JBoss JIRA] (CDITCK-625) RequestContextTest test fails on fast computer ; -)

2019-01-08 Thread Doychin Bondzhev (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Doychin Bondzhev created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 CDI TCK /  CDITCK-625  
 
 
  RequestContextTest test fails on fast computer ;-)   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Affects Versions: 
 TBD  
 
 
Assignee: 
 Matej Novotny  
 
 
Components: 
 Tests  
 
 
Created: 
 08/Jan/19 10:49 AM  
 
 
Priority: 
  Major  
 
 
Reporter: 
 Doychin Bondzhev  
 

  
 
 
 
 

 
 If time to execute the two requests in RequestContextTest is less then 1 ms test will fail. There has to be Thread.sleep(1) between the two requests will guarantee the test will pass.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment