org.eclipse.swt.SWTException: Graphic is disposed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Appcelerator JIRA by Andrew Shebanow, 1 year ago
Graphic is disposed
via Appcelerator JIRA by Andrew Shebanow, 1 year ago
Graphic is disposed
via Eclipse Bugzilla by error-reports-inbox, 1 year ago
via Eclipse Bugzilla by ekuleshov, 1 year ago
via Eclipse Bugzilla by error-reports-inbox, 1 year ago
via Eclipse Bugzilla by error-reports-inbox, 1 year ago
org.eclipse.swt.SWTException: Graphic is disposed
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.graphics.Image.getBounds(Image.java:640)
at org.eclipse.swt.widgets.Caret.getSize(Caret.java:216)
at org.eclipse.swt.custom.StyledText.getCaretWidth(StyledText.java:3650)
at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:199)
at org.eclipse.swt.custom.StyledTextRenderer.calculateClientArea(StyledTextRenderer.java:220)
at org.eclipse.swt.custom.StyledText.resetCache(StyledText.java:7245)
at com.aptana.ide.editors.unified.UnifiedEditor.setEditorOptions(UnifiedEditor.java:659)
at com.aptana.ide.editors.unified.UnifiedEditor.access$14(UnifiedEditor.java:465)
at com.aptana.ide.editors.unified.UnifiedEditor$13.run(UnifiedEditor.java:2539)
at com.aptana.ide.editors.unified.UnifiedEditor.handlePreferenceStoreChanged(UnifiedEditor.java:2534)
at com.aptana.ide.editor.html.HTMLSourceEditor.handlePreferenceStoreChanged(HTMLSourceEditor.java:652)
at org.eclipse.ui.texteditor.AbstractTextEditor$PropertyChangeListener.propertyChange(AbstractTextEditor.java:714)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.firePropertyChangeEvent(ChainedPreferenceStore.java:164)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:431)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:408)
at org.eclipse.ui.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:69)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.firePropertyChangeEvent(ChainedPreferenceStore.java:164)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.handlePropertyChangeEvent(ChainedPreferenceStore.java:431)
at org.eclipse.ui.texteditor.ChainedPreferenceStore.access$0(ChainedPreferenceStore.java:408)
at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375)
at com.aptana.ide.logging.preferences.LoggingStructureProvider.buildLanguageColorizer(LoggingStructureProvider.java:1065)
at com.aptana.ide.logging.LoggingPreferences.initializeDefaultRules(LoggingPreferences.java:949)
at com.aptana.ide.logging.LoggingPreferences.initializePreferences(LoggingPreferences.java:548)
at com.aptana.ide.logging.preferences.PreferenceInitializer.initializeDefaultPreferences(PreferenceInitializer.java:56)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.runInitializer(PreferenceServiceRegistryHelper.java:276)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:130)
at org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:367)
at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:163)
at org.eclipse.core.internal.preferences.DefaultPreferences.loadDefaults(DefaultPreferences.java:236)
at org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:232)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:307)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:543)
at org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePreferences.java:669)
at org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.java:38)
at org.eclipse.ui.preferences.ScopedPreferenceStore.getDefaultPreferences(ScopedPreferenceStore.java:250)
at org.eclipse.ui.preferences.ScopedPreferenceStore.getPreferenceNodes(ScopedPreferenceStore.java:285)
at org.eclipse.ui.preferences.ScopedPreferenceStore.internalGet(ScopedPreferenceStore.java:475)
at com.aptana.ide.logging.LoggingPreferences.loadRules(LoggingPreferences.java:962)
at com.aptana.ide.logging.LoggingPreferences.getRules(LoggingPreferences.java:520)
at com.aptana.ide.logging.coloring.LoggingLexerFactory.emitRules(LoggingLexerFactory.java:190)
at com.aptana.ide.logging.coloring.LoggingLexerFactory.createColoringLexerXML(LoggingLexerFactory.java:172)
at com.aptana.ide.logging.coloring.LoggingLexerFactory.getLexer(LoggingLexerFactory.java:82)
at com.aptana.ide.logging.LogReadonlyEditor.getLexer(LogReadonlyEditor.java:567)
at com.aptana.ide.logging.LogReadonlyEditor.createColorizer(LogReadonlyEditor.java:429)
at com.aptana.ide.logging.LogReadonlyEditor.initializeEditor(LogReadonlyEditor.java:226)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 2 days ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.