ActionBarSherlock causing eclipse to crash with StackOverFlow Exception

187 views
Skip to first unread message

David Ozersky

unread,
Mar 21, 2012, 3:04:21 PM3/21/12
to ActionBarSherlock
Hi,

Using an Theme.Sherlock is causing my eclipse to crash. Because the
graphical layout editor saves the Sherlock Theme in the layout editor,
that causes eclipse to crash when it opens.

Here are my questions:

1) How can I open eclipse so it does not load any theme into the
editor so I can open it safetly.

2) Why would this be happening, and how should I fix this? I could, I
would like to just remove the style below from where-ever I have to.
I've posted the error from the log message.

This is a continuation of log file C:\Users\David\workspace\.metadata
\.bak_0.log
Created Time: 2012-03-13 13:37:40.435

!ENTRY com.android.ide.eclipse.adt 2 0 2012-03-13 13:37:40.436
!MESSAGE actionbar_indeterminate_progress.xml: Couldn't find theme
resource attr/indeterminateProgressStyle for the current theme

!ENTRY com.android.ide.eclipse.adt 2 0 2012-03-13 13:37:40.438
!MESSAGE actionbar_indeterminate_progress.xml: Couldn't find theme
resource attr/indeterminateProgressStyle for the current theme

!ENTRY com.android.ide.eclipse.adt 2 0 2012-03-13 13:37:40.452
!MESSAGE actionbar_indeterminate_progress.xml: Couldn't find theme
resource attr/indeterminateProgressStyle for the current theme

!ENTRY com.android.ide.eclipse.adt 2 0 2012-03-13 13:37:40.454
!MESSAGE actionbar_indeterminate_progress.xml: Couldn't find theme
resource attr/indeterminateProgressStyle for the current theme

!ENTRY com.android.ide.eclipse.adt 4 0 2012-03-13 13:37:40.916
!MESSAGE main.xml: java.lang.StackOverflowError
!STACK 0
java.lang.StackOverflowError
at
com.android.ide.common.resources.ResourceResolver.findResValue(ResourceResolver.java:
185)
at
com.android.ide.common.resources.ResourceResolver.resolveResValue(ResourceResolver.java:
325)
at
com.android.ide.common.resources.ResourceResolver.resolveResValue(ResourceResolver.java:
333)
....
the last line repeats.


I have to use this library for a work project, so I really have to get
this fixed. Any help would be greatly appreciated.

Thank you,

Jake Wharton

unread,
Mar 21, 2012, 3:37:41 PM3/21/12
to actionba...@googlegroups.com
Next ADT will fix it.

David Ozersky

unread,
Mar 21, 2012, 3:39:24 PM3/21/12
to ActionBarSherlock
Hi,

I'd like to add that I tried something, and the problem might not be
ActionBarSherlock.

When eclipse was closed, I edited my style.xml file to remove the ABS
style. Then, I opened up my project. I opened up the layout.xml file
in the xml mode. It was fine. When I switched to the graphical
editor, it caused the same exception. I add the log file. I deleted
the repeating rows (see above); their where at least a thousand
repetitions.

Thank you

!SESSION 2012-03-21 15:09:47.548
-----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.7.0_02
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64

This is a continuation of log file C:\Users\David\CoreWorkspace
\.metadata\.bak_0.log
Created Time: 2012-03-21 15:30:16.410

!ENTRY com.android.ide.eclipse.adt 4 0 2012-03-21 15:30:16.410
!MESSAGE activity_main.xml: java.lang.StackOverflowError
!STACK 0
java.lang.StackOverflowError
at
com.android.ide.common.resources.ResourceResolver.findResValue(ResourceResolver.java:
188)
at
com.android.ide.common.resources.ResourceResolver.resolveResValue(ResourceResolver.java:
325)

at
com.android.ide.common.resources.ResourceResolver.resolveResValue(ResourceResolver.java:
333)

!ENTRY org.eclipse.ui 4 4 2012-03-21 15:30:17.252
!MESSAGE An internal error has occurred.
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.SWT.error(SWT.java:4168)
at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:340)
at org.eclipse.swt.widgets.Label.setText(Label.java:386)
at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler
$FatalErrorDialog.updateMessage(IDEWorkbenchErrorHandler.java:301)
at
org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handleException(IDEWorkbenchErrorHandler.java:
150)
at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.access
$0(IDEWorkbenchErrorHandler.java:146)
at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler
$1.runInUIThread(IDEWorkbenchErrorHandler.java:121)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:
4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at
org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.runEventLoop(EventLoopProgressMonitor.java:
123)
at
org.eclipse.ui.internal.dialogs.EventLoopProgressMonitor.internalWorked(EventLoopProgressMonitor.java:
90)
at
org.eclipse.core.runtime.ProgressMonitorWrapper.internalWorked(ProgressMonitorWrapper.java:
94)
at
org.eclipse.core.runtime.SubProgressMonitor.done(SubProgressMonitor.java:
139)
at
org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:
428)
at org.eclipse.ui.internal.EditorManager$8.run(EditorManager.java:
1269)
at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:
277)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:
464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:
372)
at org.eclipse.jface.window.ApplicationWindow
$1.run(ApplicationWindow.java:759)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:
756)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:
2649)
at
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:
285)
at org.eclipse.ui.internal.EditorManager.saveAll(EditorManager.java:
1279)
at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1189)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.saveAllEditors(Workbench.java:
1138)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1056)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1040)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1284)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:
70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1282)
at
org.eclipse.ui.internal.WorkbenchConfigurer.emergencyClose(WorkbenchConfigurer.java:
165)
at
org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.closeWorkbench(IDEWorkbenchErrorHandler.java:
253)
at
org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.handleException(IDEWorkbenchErrorHandler.java:
155)
at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler.access
$0(IDEWorkbenchErrorHandler.java:146)
at org.eclipse.ui.internal.ide.IDEWorkbenchErrorHandler
$1.runInUIThread(IDEWorkbenchErrorHandler.java:121)
at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:
4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:
2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:
668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:
149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:
123)
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(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: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)



Nate Roy

unread,
Apr 13, 2012, 11:16:53 AM4/13/12
to ActionBarSherlock
I am running ADT 18 and still getting this crash. Is anyone else still
having issues?
Reply all
Reply to author
Forward
0 new messages