Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 290837

Summary: Exceptions from JEM in adopter product
Product: [WebTools] WTP Java EE Tools Reporter: Jason Sholl <jsholl>
Component: jst.jemAssignee: Hari Shankar <hshanka>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: normal    
Priority: P3 CC: ccc, hshanka, jsholl
Version: 3.0.5Flags: cbridgha: review+
Target Milestone: 3.0.5 P   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 290131    
Bug Blocks:    

Description Jason Sholl CLA 2009-09-29 15:19:00 EDT
Cloning to track for 305P

+++ This bug was initially created as a clone of Bug #290131 +++

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3)
Gecko/20090824 Firefox/3.5.3
Build Identifier: 155

The following exceptions are seen in adopter product when the JavaClassImpl &
JavaMethodJDOMAdapter code is invoked. Specifically following exceptions are
seen:

+++ Warning +++: Thu Sep 10 11:37:27 EDT 2009    java.lang.NullPointerException
        at
org.eclipse.jem.internal.adapters.jdom.JavaMethodJDOMAdaptor.getParen
tType(JavaMethodJDOMAdaptor.java:138)
        at
org.eclipse.jem.internal.adapters.jdom.JavaMethodJDOMAdaptor.getType(
JavaMethodJDOMAdaptor.java:204)
        at
org.eclipse.jem.internal.adapters.jdom.JDOMAdaptor.typeNameFromSignat
ure(JDOMAdaptor.java:330)



*** ERROR ***: Thu Sep 10 11:37:27 EDT 2009   
java.util.ConcurrentModificationE
xception
        at
org.eclipse.emf.common.util.BasicEList$EIterator.checkModCount(BasicE
List.java:1327)
        at
org.eclipse.emf.common.util.BasicEList$EIterator.next(BasicEList.java
:1281)
        at
org.eclipse.jem.java.internal.impl.JavaClassImpl.collectMethodsExtend
ed(JavaClassImpl.java:268)

Reproducible: Always
Comment 1 Jason Sholl CLA 2009-09-29 15:19:43 EDT
fix is in the original bug.
Comment 2 Jason Sholl CLA 2009-09-29 15:20:13 EDT
also, this has been checked into 31M and HEAD with the original bug
Comment 3 Chuck Bridgham CLA 2009-09-29 15:21:09 EDT
approve
Comment 4 Carl Anderson CLA 2009-10-05 18:58:52 EDT
Committed to R3_0_5_patches