Bug 8933 - Unspecified error at loadDefaultFont
Summary: Unspecified error at loadDefaultFont
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Boris Shingarov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 8785
Blocks:
  Show dependency tree
 
Reported: 2002-02-01 11:52 EST by Tokei.Ihto CLA
Modified: 2002-09-10 13:27 EDT (History)
0 users

See Also:


Attachments
log with the messages at start (3.31 KB, text/plain)
2002-02-05 18:22 EST, Tokei.Ihto CLA
no flags Details
logfile with debug-options (53.33 KB, text/plain)
2002-02-05 18:22 EST, Tokei.Ihto CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tokei.Ihto CLA 2002-02-01 11:52:39 EST
Hello.
Following error i receive at some starts of eclipse.
It's not at every start, just at all 3th to 5th start.
I use 20020129, but the problem exists since 20020122 or earlier.

/usr/local/eclipse-gtk/eclipse -ws gtk -debug -data $HOME/ -vm
/usr/lib/jreb/bin/java


Boot URL:
    file:/usr/local/eclipse-gtk/plugins/org.eclipse.core.boot/boot.jar
Install URL: file:/usr/local/eclipse-gtk/
Debug-Options: file:/usr/local/eclipse-gtk/.options
Read registry cache: 307ms
OS: linux WS: gtk NL: de_DE ARCH: i386
org.eclipse.swt.SWTError: Unspecified error
        at org.eclipse.swt.SWT.error(SWT.java:1912)
        at org.eclipse.swt.SWT.error(SWT.java:1819)
        at
org.eclipse.swt.graphics.DefaultGtkStyle.loadDefaultFont(DefaultGtkStyle.java:97)
        at org.eclipse.swt.graphics.GC.<init>(GC.java:83)
        at org.eclipse.swt.custom.CTabFolder.updateArrowBar(CTabFolder.java:1352)
        at org.eclipse.swt.custom.CTabFolder.layoutButtons(CTabFolder.java:669)
        at org.eclipse.swt.custom.CTabFolder.layoutItems(CTabFolder.java:798)
        at org.eclipse.swt.custom.CTabItem.setText(CTabItem.java:410)
        at
org.eclipse.ui.internal.EditorWorkbook.updateEditorTab(EditorWorkbook.java:755)
        at org.eclipse.ui.internal.EditorWorkbook.createTab(EditorWorkbook.java:241)
        at org.eclipse.ui.internal.EditorWorkbook.createTab(EditorWorkbook.java:231)
        at
org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWorkbook.java:213)
        at
org.eclipse.ui.internal.EditorWorkbook.createControl(EditorWorkbook.java:179)
        at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:172)
        at
org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:172)
        at
org.eclipse.ui.internal.PerspectivePresentation.activate(PerspectivePresentation.java:80)
        at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:511)
        at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:1030)
        at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:893)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
       at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:881)
        at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:794)
        at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:811)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:557)
        at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:832)
        at org.eclipse.core.runtime.Platform.run(Platform.java:395)
        at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:541)
        at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java:598)
        at org.eclipse.ui.internal.Workbench.init(Workbench.java:441)
        at org.eclipse.ui.internal.Workbench.run(Workbench.java:831)
        at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:895)
        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:321)
        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:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
        at org.eclipse.core.launcher.Main.run(Main.java:502)
        at org.eclipse.core.launcher.Main.main(Main.java:362)
Wrote registry: 216ms
Comment 1 DJ Houghton CLA 2002-02-01 14:12:27 EST
Perhaps related to problems in Bug 8785? Reserving comment until Bug 8785 is 
resolved.
Comment 2 DJ Houghton CLA 2002-02-05 10:08:41 EST
Bug 8785 has been fixed. 

Please confirm that this is still a problem in integration build 2002-02-05.
Comment 3 Tokei.Ihto CLA 2002-02-05 18:22:03 EST
Created attachment 307 [details]
log with the messages at start
Comment 4 Tokei.Ihto CLA 2002-02-05 18:22:36 EST
Created attachment 308 [details]
logfile with debug-options
Comment 5 Tokei.Ihto CLA 2002-02-05 18:29:14 EST
The problem exists also with 20020205.
I have append two logfiles from eclipse-start.
The first (debug-1.20020205) is with debug-option debug=true

The second (debug-2.20020205) is with debug-options
loader/debug=true
loader/debug/actions=true
loader/debug/failure=true

Sorry, in the second logfile just the end of the startmessages, but my 
console-buffer is too short for all messages.

I can't say, when i become the problem and when start eclipse without 
problem.
example: 
i start 5 times, 5 times with error
i start 3 times, 3 times without error
i start 4 times, 2 times with error, 2 without 
Comment 6 DJ Houghton CLA 2002-02-05 18:31:55 EST
Finding the library has been fixed in 20020205 (see related Bug 8785). 
User is still getting this SWTError though.
Moving to Platform/SWT for comment.
Comment 7 Tokei.Ihto CLA 2002-02-20 09:08:06 EST
The problem is still exists in 200200215
Comment 8 Boris Shingarov CLA 2002-02-27 18:34:23 EST
The way fonts work in SWT on GTK1.2, is temporary, and is being rewritten for 
2.0 (yes, Pango).  This means bugs like this will be fixed in the 2.0 branch - 
it's just not worth writing more temporary code.
Comment 9 Veronika Irvine CLA 2002-09-10 10:25:24 EDT
Post 2.0. Re-opening bug reports for review.
Comment 10 Boris Shingarov CLA 2002-09-10 13:27:13 EDT
The whole gtk2 branch is free of this bug by design.