harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-5145) intermittent NPE in annotation tests
Date Wed, 21 Nov 2007 06:13:43 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-5145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12544173
] 

Alexey Varlamov commented on HARMONY-5145:
------------------------------------------

The suggested reason is proved to be true, added assert fails now:
java.lang.AssertionError   
 at java.lang.reflect.Proxy.getProxyClass(Proxy.java:169)   
 at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:201)   
 at org.apache.harmony.lang.annotation.AnnotationFactory.createAnnotation(AnnotationFactory.java:101)
  


> intermittent NPE in annotation tests
> ------------------------------------
>
>                 Key: HARMONY-5145
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5145
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib, DRLVM
>            Reporter: Alexey Varlamov
>
> Kernel tests fail intermittently with NPE, the top of stacktrace is always the same:
> java.lang.NullPointerException   
>  at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:200)   
>  at org.apache.harmony.lang.annotation.AnnotationFactory.createAnnotation(AnnotationFactory.java:101)
  
> Brief review of j.l.reflect.Proxy code shows that possible reason of failure are nullified
WeakReferences to proxy classes in interfaceCache. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message