BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: JBuilderX frequently crashes in Tools | Preferences

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE
View previous topic :: View next topic  
Author Message
Bill Joy
Guest





PostPosted: Wed Dec 24, 2003 2:00 am    Post subject: Re: JBuilderX frequently crashes in Tools | Preferences Reply with quote



When you are running from the console window you should be
seeing output from JBuilder telling you which font it is
loading so you can tell which is causing the crash. Go the
to XP's Control Panel, select Fonts, and delete that font.

JBuilder caches the results of its first font scan (though
only written to disk upon normal exit), and does not do it
again.


"Arthur Ore" <nospamplease (AT) begone (DOT) foul.spam.co.uk> wrote in
message news:3fe8efb4 (AT) newsgroups (DOT) borland.com...
JBuilderX Ent
Windows XP Home
896Mb Ram

When I select Tools | Preferences from the menu and then
select any of the
following

Browser | Look and Feel
UML
EJB Designer
Mobile Services

JBuilderX USUALLY crashes (exits). I ran JBuilderX from
command prompt with
verbose and it produced a log file, part of which I have
pasted in below.

It sounds as though this problem is similar to Sun's bug_id
4762039

However, how can it be a corrupt font if it doesn't crash
every time? I
reckon it crashes 90% of the time

Has anyone got any ideas.

Thanks

Arth


LOG FILE BELOW
-------------------------------------------------
An unexpected exception has been detected in native code
outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005)
occurred at
PC=0x4674080
Function=[Unknown.]
Library=F:JBuilderXjdk1.4jrebinfontmanager.dll

NOTE: We are unable to locate the function name symbol for
the error
just occurred. Please refer to release documentation
for possible
reason and solutions.


Current Java thread:
at sun.awt.font.NativeFontWrapper.canDisplay(Native Method)
- locked <0x20451a70> (a java.lang.Class)
at java.awt.Font.canDisplay(Font.java:1399)
at java.awt.Font.canDisplayUpTo(Font.java:1469)
at java.awt.Font.canDisplayUpTo(Font.java:1420)
at
com.borland.primetime.ui.FontNameCellRenderer.getListCellRen
dererComponent(U
nknown Source)
at
javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicC
omboBoxUI.java:1
275)
at
javax.swing.plaf.basic.BasicComboBoxUI.getMinimumSize(BasicC
omboBoxUI.java:9
69)
at
javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(Basi
cComboBoxUI.java
:959)
at
javax.swing.JComponent.getPreferredSize(JComponent.java:1275
)
at
java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:892)
- locked <0x11675868> (a java.awt.Component$AWTTreeLock)
at
java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:806)
at
java.awt.GridBagLayout.preferredLayoutSize(GridBagLayout.jav
a:630)
at java.awt.Container.preferredSize(Container.java:1178)
- locked <0x11675868> (a java.awt.Component$AWTTreeLock)
<SNIP/>




Back to top
Arthur Ore
Guest





PostPosted: Wed Dec 24, 2003 10:06 am    Post subject: Re: JBuilderX frequently crashes in Tools | Preferences Reply with quote



Thanks Bill,

I tried to cancel my post within a few minutes of posting as after an hour
of searching I finally found what I wanted as soon as I'd posted. I was
going to re-post with the solution this morning.

For clarity, I'll post the solution here, as JBuilderX seems a little
different from what you described :-

JBuilderX does not display the fonts

In order to display the fonts, you have to add

vmparam -Dsun.java2d.debugfonts=true

to jdk.config

Also, unlike some of the postings I found, which state that it is the next
font in alphabetic order which needs to be deleted, I found I had to delete
a few fonts either side of the last one displayed before it worked. I guess
this must be a threading issue.

Thanks again

Arth


"Bill Joy" <wcjoy (AT) pacbell (DOT) net> wrote

Quote:
When you are running from the console window you should be
seeing output from JBuilder telling you which font it is
loading so you can tell which is causing the crash. Go the
to XP's Control Panel, select Fonts, and delete that font.

JBuilder caches the results of its first font scan (though
only written to disk upon normal exit), and does not do it
again.





Back to top
Al Renquez
Guest





PostPosted: Thu Feb 12, 2004 1:47 pm    Post subject: Re: JBuilderX frequently crashes in Tools | Preferences Reply with quote



Based on Your infos I have released this problem by me by the same
configuration(WinXPsp1, JB8ent/JB9ent).
I have changed jbuilder/jdk1.4/jre/bim/fontmanager.dll to one of the jdk
1.4.2_03-b02.
It works by me!!!

Al

"Arthur Ore" <nospamplease (AT) begone (DOT) foul.spam.co.uk> schrieb im Newsbeitrag
news:3fe96549 (AT) newsgroups (DOT) borland.com...
Quote:
Thanks Bill,

I tried to cancel my post within a few minutes of posting as after an hour
of searching I finally found what I wanted as soon as I'd posted. I was
going to re-post with the solution this morning.

For clarity, I'll post the solution here, as JBuilderX seems a little
different from what you described :-

JBuilderX does not display the fonts

In order to display the fonts, you have to add

vmparam -Dsun.java2d.debugfonts=true

to jdk.config

Also, unlike some of the postings I found, which state that it is the next
font in alphabetic order which needs to be deleted, I found I had to
delete
a few fonts either side of the last one displayed before it worked. I
guess
this must be a threading issue.

Thanks again

Arth


"Bill Joy" <wcjoy (AT) pacbell (DOT) net> wrote in message
news:3fe8f342$1 (AT) newsgroups (DOT) borland.com...
When you are running from the console window you should be
seeing output from JBuilder telling you which font it is
loading so you can tell which is causing the crash. Go the
to XP's Control Panel, select Fonts, and delete that font.

JBuilder caches the results of its first font scan (though
only written to disk upon normal exit), and does not do it
again.







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder IDE All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.