Bug 136087 - Cannot replace with local history due to NoClassDefFoundError
Summary: Cannot replace with local history due to NoClassDefFoundError
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P1 critical (vote)
Target Milestone: 3.2 RC1   Edit
Assignee: Andre Weinand CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 07:04 EDT by Jerome Lanneluc CLA
Modified: 2006-04-26 10:20 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jerome Lanneluc CLA 2006-04-11 07:04:47 EDT
N20060411

It looks like there is a runtime claspath problem with the compare plugin. I cannot replace a .java file with local history.

!ENTRY org.eclipse.ui 4 0 2006-04-11 12:52:03.908
!MESSAGE Failed to execute runnable (java.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar)
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar)
        at org.eclipse.swt.SWT.error(SWT.java:3374)
        at org.eclipse.swt.SWT.error(SWT.java:3297)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3323)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2969)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.compare.EditionSelectionDialog.selectEdition(EditionSelectionDialog.java:464)
        at org.eclipse.jdt.internal.ui.compare.JavaReplaceWithEditionActionImpl.run(JavaReplaceWithEditionActionImpl.java:132)
        at org.eclipse.jdt.internal.ui.compare.JavaHistoryActionImpl.run(JavaHistoryActionImpl.java:352)
        at org.eclipse.jdt.internal.ui.compare.JavaHistoryAction.run(JavaHistoryAction.java:78)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3346)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.NoClassDefFoundError: com/ibm/icu/util/Calendar
        at org.eclipse.compare.EditionSelectionDialog.dayNumber(EditionSelectionDialog.java:959)
        at org.eclipse.compare.EditionSelectionDialog.addEdition(EditionSelectionDialog.java:985)
        at org.eclipse.compare.EditionSelectionDialog.addMemberEdition(EditionSelectionDialog.java:949)
        at org.eclipse.compare.EditionSelectionDialog.access$16(EditionSelectionDialog.java:885)
        at org.eclipse.compare.EditionSelectionDialog$9.run(EditionSelectionDialog.java:856)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
        ... 34 more
Comment 1 Andre Weinand CLA 2006-04-11 08:09:24 EDT
This is a result of applying the patch for bug #135768.

Karice please advise.
Comment 2 Karice McIntyre CLA 2006-04-11 12:47:05 EDT
Eek - I am not sure why this is marked as a warning, not an error, but in the manifest of the compare plugin the com.ibm.icu.util package is not imported.  It should be.
Comment 3 Karice McIntyre CLA 2006-04-11 12:49:08 EDT
To be clear, the warning is in EditionSelectionDialog.  
Comment 4 Andre Weinand CLA 2006-04-11 12:55:11 EDT
Thanks Karice. I'll release the fix.
Comment 5 Andre Weinand CLA 2006-04-11 13:03:36 EDT
fixed > 20060411
Comment 6 Benno Baumgartner CLA 2006-04-26 10:20:17 EDT
verified in 20060426