nicolasgramlich/AndEngine — Issue #55: Unhandled event loop exception.  CPU may be pegged. trying again.
Author: bondjpf
Created: 2012-03-07 09:58:36+00:00
State: open

I'm having this error where my Live Wallpaper freezes randomly. Sometimes it takes a few minutes, sometimes when the phone wakes or I do something fast.
I've been looking for this and found others with similar problems like this one:

http://stackoverflow.com/questions/5814002/cpu-may-be-pegged-opengl-live-wallpaper-locks-up

It pointed me to those 2 links:

https://github.com/markfguerra/GLWallpaperService/issues/7

https://github.com/markfguerra/GLWallpaperService/issues/11

Is it possible that we have the same issues as them?

Stack trace:

java.lang.NullPointerException
at com.android.ddmuilib.logcat.LogCatPanel$WrappingToolTipSupport.createViewerToolTipContentArea(LogCatPanel.java:904)
at org.eclipse.jface.viewers.ColumnViewerToolTipSupport.createToolTipContentArea(ColumnViewerToolTipSupport.java:104)
at org.eclipse.jface.window.ToolTip.toolTipShow(ToolTip.java:359)
at org.eclipse.jface.window.ToolTip.toolTipOpen(ToolTip.java:483)
at org.eclipse.jface.window.ToolTip.toolTipCreate(ToolTip.java:348)
at org.eclipse.jface.window.ToolTip.access$2(ToolTip.java:342)
at org.eclipse.jface.window.ToolTip$ToolTipOwnerControlListener.handleEvent(ToolTip.java:631)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
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(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)

Logcat:

03-07 09:32:21.094: W/SharedBufferStack(10571): waitForCondition(LockCondition) timed out (identity=3909, status=0). CPU may be pegged. trying again.