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 Thu, 22 Nov 2007 08:23:43 GMT

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

Alexey Varlamov commented on HARMONY-5145:

Not really - somehow a weak reference to j.l.Class instance is reset by GC, this is hardly
classlib-specific issue. I'm trying to reproduce this locally...

> 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.

View raw message