Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Debugging org.eclipse.compare
Debugging org.eclipse.compare [message #599589] Mon, 20 July 2009 16:54
Dmitry Smirnov is currently offline Dmitry SmirnovFriend
Messages: 90
Registered: July 2009
Member
Hi,

I'm going to debug (to learn and probably patch) org.eclipse.compare.
Unfortunately, I cannot setup my environment to debug it.

I'm using Eclipse 3.5 and importing org.eclipse.compare
(3.5.0.I20090514-0808) from my current environment with a source.

When I run eclipse and try to instantinate a compare viewer I see the
empty window.

In the log I see "Unhandled event loop exception" (see stack below) and
several messages like "NLS missing message:
ReaderCreator_fileIsNotAccessible in:
org.eclipse.compare.internal.CompareMessages"

What I'm doing wrong? How can import plugin and debug it?

Stack for "Unhandled event loop exception":


org.eclipse.swt.SWTException: Failed to execute runnable
(java.util.MissingResourceException: Can't find bundle for base name
org.eclipse.compare.structuremergeviewer.DiffTreeViewerResou rces, locale
ru_RU)
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: java.util.MissingResourceException: Can't find bundle for base
name org.eclipse.compare.structuremergeviewer.DiffTreeViewerResou rces,
locale ru_RU
at java.util.ResourceBundle.throwMissingResourceException(Unkno wn Source)
at java.util.ResourceBundle.getBundleImpl(Unknown Source)
at java.util.ResourceBundle.getBundle(Unknown Source)
at
org.eclipse.compare.structuremergeviewer.DiffTreeViewer.init ialize(DiffTreeViewer.java:231)
at
org.eclipse.compare.structuremergeviewer.DiffTreeViewer.<init >(DiffTreeViewer.java:194)
at
org.eclipse.compare.structuremergeviewer.StructureDiffViewer . <init>(StructureDiffViewer.java:196)
at
org.eclipse.compare.internal.CompareUIPlugin.findStructureVi ewer(CompareUIPlugin.java:838)
at org.eclipse.compare.CompareUI.findStructureViewer(CompareUI. java:312)
at
org.eclipse.compare.CompareEditorInput.findStructureViewer(C ompareEditorInput.java:898)
at
org.eclipse.compare.internal.CompareStructureViewerSwitching Pane.getViewer(CompareStructureViewerSwitchingPane.java:84)
at
org.eclipse.compare.CompareEditorInput$9.getViewer(CompareEd itorInput.java:686)
at
org.eclipse.compare.CompareViewerSwitchingPane.setInput(Comp areViewerSwitchingPane.java:259)
at
org.eclipse.compare.internal.CompareStructureViewerSwitching Pane.setInput(CompareStructureViewerSwitchingPane.java:132)
at
org.eclipse.compare.CompareEditorInput.feedInput(CompareEdit orInput.java:718)
at
org.eclipse.compare.CompareEditorInput.createContents(Compar eEditorInput.java:545)
at
org.eclipse.compare.internal.CompareEditor.createCompareCont rol(CompareEditor.java:449)
at
org.eclipse.compare.internal.CompareEditor.access$6(CompareE ditor.java:416)
at org.eclipse.compare.internal.CompareEditor$3.run(CompareEdit or.java:372)
at
org.eclipse.ui.internal.UILockListener.doPendingWork(UILockL istener.java:155)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer. java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
... 23 more
Previous Topic:Features not installed during product install
Next Topic:Feature patch a singleton?
Goto Forum:
  


Current Time: Wed Dec 17 21:31:26 GMT 2014

Powered by FUDForum. Page generated in 0.03368 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software