Anonymous | Login | Signup for a new account | 11-22-2024 03:56 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000079 | [Resin] | minor | always | 04-04-05 00:00 | 05-11-05 00:00 | ||||
Reporter | user82 | View Status | public | ||||||
Assigned To | |||||||||
Priority | immediate | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0000079: MBean Proxy instance throws NPE in hashCode | ||||||||
Description |
RSN-70 I am creating MBean proxies by calling newProxyInstance() and I am adding them to an ArrayList() and then I create a HashSet of the list at a later time and I get NPE. See below: ArrayList list = new ArrayList(); list.add(MBeanServerInvocationHandler.newProxyInstance()); ... HashSet set = new HashSet(list); java.lang.NullPointerException at $Proxy7.hashCode(Unknown Source) at java.util.HashMap.hash(HashMap.java:264) at java.util.HashMap.put(HashMap.java:382) at java.util.HashSet.add(HashSet.java:194) at java.util.AbstractCollection.addAll(AbstractCollection.java:318) at java.util.HashSet.<init>(HashSet.java:100) |
||||||||
Additional Information | jdk1.5.0_02 using the resin-pro snap from 4/1/05 | ||||||||
Attached Files | |||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
04-04-05 00:00 | user82 | New Issue | |
11-30-05 00:00 | administrator | Fixed in Version | => 3.0.13 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
36 total queries executed. 28 unique queries executed. |