zgauthier8286 / chromedevtools

Automatically exported from code.google.com/p/chromedevtools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Enabling Quick Diff crashes editors #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Google Chrome version: 4.0.201.1
SDK + Eclipse Debugger version(s): 0.1.0.200907271854
OS + version: Win XP SP3

What steps will reproduce the problem?
1. Install subclipse
2. Have open projects associated with subversion repositories
3. Enable Quick Diff, using "pristine svn copy" as reference.

What is the expected result?
Javascript debugging works as expected

What happens instead?
Double clicking on a Google Chrome javascript file results in an error.
Switching perspectives results in screen display corruption with panels not 
updating.

Please provide any additional information below. If possible, attach a
(reduced) test-case.

(Earlier uncaptured error message was full of subversion classes. I've 
since upgraded to latest version of subversion, and the symptoms remained, 
but the stack trace changed)

Problems occurred when invoking code from plug-in: "org.eclipse.jface".

java.lang.NullPointerException
    at 
org.eclipse.jface.text.source.LineNumberRulerColumn.getWidth(LineNumberRule
rColumn.java:477)
    at 
org.eclipse.jface.text.source.LineNumberChangeRulerColumn.getWidth(LineNumb
erChangeRulerColumn.java:295)
    at 
org.eclipse.ui.internal.texteditor.LineNumberColumn.getWidth(LineNumberColu
mn.java:140)
    at 
org.eclipse.jface.text.source.CompositeRuler.getWidth(CompositeRuler.java:7
10)
    at 
org.eclipse.jface.text.source.SourceViewer$RulerLayout.layout(SourceViewer.
java:131)
    at 
org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1145)
    at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1534)
    at org.eclipse.swt.widgets.Canvas.WM_SIZE(Canvas.java:455)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4019)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404)
    at 
org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
    at 
org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4751)
    at 
org.eclipse.swt.widgets.Canvas.WM_WINDOWPOSCHANGED(Canvas.java:461)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4029)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
    at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1316)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2781)
    at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:893)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2742)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2738)
    at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
    at 
org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1145)
    at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1534)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4019)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404)
    at 
org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
    at 
org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4751)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4029)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
    at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1316)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2781)
    at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:893)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2742)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2738)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2805)
    at org.eclipse.swt.custom.StackLayout.layout(StackLayout.java:120)
    at 
org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1145)
    at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1534)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4019)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404)
    at 
org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
    at 
org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4751)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4029)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
    at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1316)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2781)
    at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:893)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2742)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2738)
    at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
    at 
org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1145)
    at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1534)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4019)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404)
    at 
org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
    at 
org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4751)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4029)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
    at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1316)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2781)
    at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:893)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2742)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2738)
    at org.eclipse.swt.layout.FillLayout.layout(FillLayout.java:201)
    at 
org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1145)
    at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:1534)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4019)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2404)
    at 
org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:80)
    at 
org.eclipse.swt.widgets.Control.WM_WINDOWPOSCHANGED(Control.java:4751)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4029)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589)
    at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method)
    at org.eclipse.swt.widgets.Widget.SetWindowPos(Widget.java:1316)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2781)
    at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:893)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2742)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2738)
    at org.eclipse.swt.widgets.Control.setBounds(Control.java:2805)
    at 
org.eclipse.ui.internal.LayoutPart.setBounds(LayoutPart.java:300)
    at 
org.eclipse.ui.internal.presentations.PresentablePart.setBounds(Presentable
Part.java:170)
    at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.layoutCont
ent(PresentablePartFolder.java:131)
    at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.layout(Pre
sentablePartFolder.java:412)
    at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(Pre
sentablePartFolder.java:292)
    at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftT
oRightTabOrder.java:65)
    at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPa
rt(TabbedStackPresentation.java:473)
    at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.ja
va:1256)
    at 
org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at 
org.eclipse.ui.internal.WorkbenchPage.internalBringToTop(WorkbenchPage.java
:789)
    at 
org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:613)
    at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.j
ava:2869)
    at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:276
2)
    at 
org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
    at 
org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
    at 
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
    at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
    at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
    at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUti
lity.java:361)
    at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUti
lity.java:168)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:229)
    at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:208)
    at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDis
patchAction.java:274)
    at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAct
ion.java:250)
    at 
org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:
49)
    at 
org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
    at 
org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManag
er.java:202)
    at 
org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLin
kWithEditorHelper.java:48)
    at 
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at 
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:8
40)
    at 
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java
:1101)
    at 
org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:467)
    at 
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.ja
va:1205)
    at 
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
    at 
org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
    at 
org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at 
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
    at 
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
    at 
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    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(Workbench.java:493)
    at 
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication
.java:113)
    at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java
:194)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:110)
    at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseA
ppLauncher.java:79)
    at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368
)
    at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179
)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    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)

eclipse.buildId=I20090611-1540
java.version=1.6.0_15
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_NZ
Framework arguments:  -product org.eclipse.epp.package.jee.product -product 
org.eclipse.epp.package.jee.product -product 
org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product 
org.eclipse.epp.package.jee.product -product 
org.eclipse.epp.package.jee.product -data E:\Workspaces\jboss -product 
org.eclipse.epp.package.jee.product

Original issue reported on code.google.com by spdenne on 18 Aug 2009 at 3:50

GoogleCodeExporter commented 8 years ago
Hey,

You seem to be hitting a Subclipse problem. Subclipse always relies on 
projects/files 
located on a local filesystem, even for non-shared projects (e.g. it happens at 
org.tigris.subversion.subclipse.ui.SVNPristineCopyQuickDiffProvider.isEnabled(SV
NPris
tineCopyQuickDiffProvider.java:174)) and fails in various ways if the resource 
is 
located on a non-local EFS (i.e. identified only by a URL.)

If you look into your Eclipse Error Log, you will see an NPE thrown at
org.tigris.subversion.subclipse.core.status.RecursiveStatusUpdateStrategy:62
preceding the one you quoted in your report. The stacktrace contains
org.eclipse.ui.internal.texteditor.LineNumberColumn.initialize(LineNumberColumn.
java:
248). Above all, this exception prevents the LineNumberRulerColumn fCanvas 
field 
initialization which, in turn, results in the exception quoted.

Original comment by apav...@chromium.org on 19 Aug 2009 at 11:47