Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
79 | minor | always | 04-04-05 00:00 | 05-11-05 00:00 | |
|
|||||
Reporter: | user82 | Platform: | |||
Assigned To: | OS: | ||||
Priority: | immediate | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.0.13 | ||
|
|||||
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) |
||||
Steps To Reproduce: | |||||
Additional Information: | jdk1.5.0_02 using the resin-pro snap from 4/1/05 | ||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|