org.eclipse.swt.SWTException

Graphic is disposed

Solutions on the web1215

  • via Eclipse Bugzilla by philippe_mulet, 1 year ago
    Graphic is disposed
  • via Eclipse Bugzilla by Tod_Creasey, 1 year ago
    Graphic is disposed
  • Graphic is disposed
  • Stack trace

    • 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 org.eclipse.swt.custom.StyledText.setBackground(StyledText.java:7610) 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 org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:3944) 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.texteditor.ChainedPreferenceStore$PropertyChangeListener.propertyChange(ChainedPreferenceStore.java:69) at org.eclipse.ui.preferences.ScopedPreferenceStore$3.run(ScopedPreferenceStore.java:375) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.preferences.ScopedPreferenceStore.firePropertyChangeEvent(ScopedPreferenceStore.java:372) 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.core.runtime.preferences.DefaultScope.getNode(DefaultScope.java:68) 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 org.eclipse.ui.preferences.ScopedPreferenceStore.getInt(ScopedPreferenceStore.java:501) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 4 months ago
    Once, 6 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    18 more bugmates