-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in analysis server while reading the cache prevents editor from starting up #3423
Comments
Added Started label. |
http://codereview.chromium.org/10537122/ Added Fixed label. |
Added Started label. |
!ENTRY com.google.dart.tools.core 4 0 2012-06-14 09:03:42.558 !ENTRY com.google.dart.tools.core 4 0 2012-06-14 09:04:52.745 |
http://codereview.chromium.org/10541165/ Added Fixed label. |
Changes: ``` > git log --format="%C(auto) %h %s" 51435ef..c4e9ddc https://dart.googlesource.com/pub.git/+/c4e9ddc8 Extend retries for file-ops on windows (#3451) https://dart.googlesource.com/pub.git/+/6aeb1795 Upgrade package:lints to 2.0.0 (#3445) https://dart.googlesource.com/pub.git/+/73ea9a98 Roll tar to 0.5.5+1 (#3447) https://dart.googlesource.com/pub.git/+/2dc887fe Add env var for writing golden files (#3222) https://dart.googlesource.com/pub.git/+/764500b8 List all files in pub publish (#3440) https://dart.googlesource.com/pub.git/+/0b52e6a8 Remove debug print (#3441) https://dart.googlesource.com/pub.git/+/ea070238 Merge pull request #3443 from jonasfj/master https://dart.googlesource.com/pub.git/+/bffd1267 Merge branch 'cherry-pick-for-2.17.2' https://dart.googlesource.com/pub.git/+/c66381c5 Make `name` field of `_UserInfo` nullable. Fix #3424 (#3442) https://dart.googlesource.com/pub.git/+/cecc8e3c Handle broken response from userinfo_endpoint (#3427) https://dart.googlesource.com/pub.git/+/6c635040 Make `name` field of `_UserInfo` nullable. Fix #3424 (#3442) https://dart.googlesource.com/pub.git/+/6f20a94b Handle missing pubspec.lock in dependency_services list (#3439) https://dart.googlesource.com/pub.git/+/0ad17e84 Handle broken response from userinfo_endpoint (#3427) https://dart.googlesource.com/pub.git/+/153ef061 `pub add` create top-level attribute in block-style if possible. (#3423) https://dart.googlesource.com/pub.git/+/3b96f910 Handle error code 183 on windows (#3426) https://dart.googlesource.com/pub.git/+/9eb6428c Ignore `pubspec_overrides.yaml` for `publish` command (#3419) ``` Diff: https://dart.googlesource.com/pub.git/+/51435efcd574b7bc18d47a5dd620cb9759dea8f8~..c4e9ddc888c3aa89ef4462f0c4298929191e32b9/ Change-Id: I6dacb3e95c6399d3fb5cf340b5d0e5cded270684 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/247962 Commit-Queue: Sigurd Meldgaard <sigurdm@google.com> Reviewed-by: Jonas Jensen <jonasfj@google.com>
In case it isn't clear from the summary, I believe that there are two bugs here. First, we appear to not be able to read in a cache that we wrote out. Second, failing to read a cache because of an exception causes Editor to crash.
Steps to reproduce:
Log file contents:
Configuration location:
file:/usr/local/google/home/brianwilkerson/dev/workspace-dart-7/.metadata/.plugins/org.eclipse.pde.core/Dart Editor/
Configuration file:
file:/usr/local/google/home/brianwilkerson/dev/workspace-dart-7/.metadata/.plugins/org.eclipse.pde.core/Dart Editor/config.ini loaded
Install location:
file:/usr/local/google/users/brianwilkerson/eclipse37/stable/
Framework located:
file:/usr/local/google/users/brianwilkerson/eclipse37/stable/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
Framework classpath:
file:/usr/local/google/users/brianwilkerson/eclipse37/stable/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
Splash location:
/usr/local/google/home/brianwilkerson/src/dart/dart/editor/tools/plugins/com.google.dart.tools.deploy/splash.bmp
Debug options:
file:/usr/local/google/home/brianwilkerson/dev/workspace-dart-7/.metadata/.plugins/org.eclipse.pde.core/Dart Editor/.options loaded
Time to load bundles: 22
Starting application: 599
!SESSION 2012-06-07 08:29:20.656 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0-google-v4
java.vendor=Google Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -product com.google.dart.tools.deploy.product
Command-line arguments: -product com.google.dart.tools.deploy.product -data /usr/local/google/home/brianwilkerson/dev/workspace-dart-7/../runtime-DartEditor -dev file:/usr/local/google/home/brianwilkerson/dev/workspace-dart-7/.metadata/.plugins/org.eclipse.pde.core/Dart Editor/dev.properties -debug /usr/local/google/home/brianwilkerson/dev/workspace-dart-7/.metadata/.plugins/org.eclipse.pde.core/Dart Editor/.options -os linux -ws gtk -arch x86 -consoleLog
!ENTRY com.google.dart.tools.core 1 0 2012-06-07 08:29:22.064
!MESSAGE INFO: Reading bundled libraries from /usr/local/google/users/brianwilkerson/eclipse37/stable/dart-sdk
Application Started: 2465
!ENTRY org.eclipse.ui 4 0 2012-06-07 08:29:23.172
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -11
at java.lang.String.substring(String.java:1949)
at com.google.dart.tools.core.analysis.Library.readCache(Library.java:120)
at com.google.dart.tools.core.analysis.Context.readCache(Context.java:276)
at com.google.dart.tools.core.analysis.AnalysisServer.readCache(AnalysisServer.java:586)
at com.google.dart.tools.core.analysis.AnalysisServer.readCache(AnalysisServer.java:225)
at com.google.dart.tools.core.internal.model.SystemLibraryManagerProvider.getDefaultAnalysisServer(SystemLibraryManagerProvider.java:100)
at com.google.dart.tools.deploy.ApplicationWorkbenchAdvisor.postStartup(ApplicationWorkbenchAdvisor.java:283)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2642)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2505)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:685)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:678)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.google.dart.tools.deploy.DartIDEApplication.start(DartIDEApplication.java:48)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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(EclipseStarter.java:344)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
!ENTRY org.eclipse.ui.workbench 4 0 2012-06-07 08:29:23.184
!MESSAGE Widget disposed too early for part com.google.dart.tools.ui.ProblemsView
!STACK 0
java.lang.RuntimeException: Widget disposed too early for part com.google.dart.tools.ui.ProblemsView
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1080)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1294)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1294)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1294)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:208)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:469)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:2372)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:462)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2308)
at org.eclipse.swt.widgets.Display.release(Display.java:3259)
at org.eclipse.swt.graphics.Device.dispose(Device.java:249)
at com.google.dart.tools.deploy.DartIDEApplication.start(DartIDEApplication.java:56)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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(EclipseStarter.java:344)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
!ENTRY org.eclipse.ui.workbench 4 0 2012-06-07 08:29:23.185
!MESSAGE Widget disposed too early for part com.google.dart.tools.ui.FileExplorer
!STACK 0
java.lang.RuntimeException: Widget disposed too early for part com.google.dart.tools.ui.FileExplorer
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1080)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1294)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1294)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1294)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:208)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:469)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:2372)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3488)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:462)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2308)
at org.eclipse.swt.widgets.Display.release(Display.java:3259)
at org.eclipse.swt.graphics.Device.dispose(Device.java:249)
at com.google.dart.tools.deploy.DartIDEApplication.start(DartIDEApplication.java:56)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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(EclipseStarter.java:344)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
!ENTRY com.google.dart.tools.core 4 0 2012-06-07 08:29:28.225
!MESSAGE Gave up waiting for AnalysisServer to stop
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.595
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.595
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.595
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.596
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.596
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.ProgressViewUpdater$1
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.597
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.ide.IDEWorkbenchActivityHelper$4
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.ProgressViewUpdater$1
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.ide.IDEWorkbenchActivityHelper$4
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.597
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.597
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
!ENTRY org.eclipse.core.jobs 2 2 2012-06-07 08:29:28.598
!MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.AbstractWorkingSetManager$10
The text was updated successfully, but these errors were encountered: