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

Bug 320417

Summary: modulemap.xmi has no class
Product: [WebTools] WTP Java EE Tools Reporter: Ed Willink <ed>
Component: jst.j2eeAssignee: Jason Sholl <jsholl>
Status: RESOLVED FIXED QA Contact: Chuck Bridgham <cbridgha>
Severity: minor    
Priority: P3 CC: animesh143, ccc
Version: 3.2Flags: jsholl: pmc_approved? (david_williams)
jsholl: pmc_approved? (raghunathan.srinivasan)
jsholl: pmc_approved? (naci.dai)
deboer: pmc_approved+
jsholl: pmc_approved? (neil.hauge)
jsholl: pmc_approved? (kaloyan)
cbridgha: review+
Target Milestone: 3.2.2   
Hardware: PC   
OS: Windows XP   
Whiteboard: PMC_approved
Bug Depends on: 280151    
Bug Blocks: 321432    
Attachments:
Description Flags
Patch for 3.2.2 none

Description Ed Willink CLA 2010-07-20 12:17:54 EDT
The org.eclipse.jst.j2ee plugin provides a modulemap.xmi (with an unqualified URI) and an internal ModulemapPackage. This class is not part of the Helios distribution and so any EMF activity that loads the full registry is disrupted by an Exception. Some application code handles the exception correctly, but others don't causing strange application CNFE failures.

[Also import o.e.jst.j2ee with source has no source.]
Comment 1 Carl Anderson CLA 2010-07-20 13:44:59 EDT
Assigning to Jason Sholl - this is additional clean up that should have happened with bug 280151.  The classes were deleted, but the entries in the plugin.xml still exist, referring to the deleted classes.
Comment 2 Ed Willink CLA 2010-07-20 14:12:49 EDT
You probably need to fix some PDE preferences to ensure you get warnings.
Comment 3 Jason Sholl CLA 2010-08-26 17:15:18 EDT
Created attachment 177567 [details]
Patch for 3.2.2
Comment 4 Chuck Bridgham CLA 2010-08-27 11:15:14 EDT
approved
Comment 5 Jason Sholl CLA 2010-08-30 15:02:40 EDT
    * Explain why you believe this is a stop-ship defect. Or, if it is a "hotbug" (requested by an adopter) please document it as such. 

EMF model plugin.xml contributions that never should have been added to WTP.  These dead plugin.xml entries are causing problems for some users.

    * Is there a work-around? If so, why do you believe the work-around is insufficient? 

No

    * How has the fix been tested? Is there a test case attached to the bugzilla record? Has a JUnit Test been added? 

JUnits

    * Give a brief technical overview. Who has reviewed this fix? 

Remove dead plugin.xml contributions.  Jason & Chuck.

    * What is the risk associated with this fix? 

None
Comment 6 Jason Sholl CLA 2010-08-30 17:23:55 EDT
code checked into head for wtp 3.2.2 and 3.3
Comment 7 Carl Anderson CLA 2011-04-20 11:36:29 EDT
*** Bug 343363 has been marked as a duplicate of this bug. ***