Idea would not start with JDK1.6 any more. Bye-bye ClearText Antialiasing

Last builds of IDEA would not start with two last builds of JDK 1.6 It used
to work fine and I enjoyed ClearText Antialiasing benefits on my big LCD
screen. Not any more. I am not sure what has changed JDK or IDEA but it
seems to me the JDK. I will check because I have older JDK on my office
computer

Here is the thread dump:

2005-09-09 23:53:53
Full thread dump Java HotSpot(TM) Client VM (1.6.0-ea-b51 mixed mode):

"Fatal Errors Grouper" prio=5 tid=0x1a29a500 nid=0xb9c waiting on condition

java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at
com.intellij.diagnostic.MessagePool$MessageGrouper.run(MessagePool.java:4)

"AWT-Windows" daemon prio=7 tid=0x1a3b2000 nid=0xa3c runnable

java.lang.Thread.State: RUNNABLE
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:277)
at java.lang.Thread.run(Thread.java:611)

"Lock thread" prio=5 tid=0x1a31f800 nid=0x524 runnable

java.lang.Thread.State: RUNNABLE
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
- locked ]]> (a java.net.SocksSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.intellij.idea.SocketLock$MyRunnable.run(SocketLock.java:2)
at java.lang.Thread.run(Thread.java:611)

"Low Memory Detector" daemon prio=5 tid=0x19868600 nid=0x5c4 runnable

java.lang.Thread.State: RUNNABLE

"CompilerThread0" daemon prio=10 tid=0x19867200 nid=0xc98 waiting on
condition
java.lang.Thread.State: RUNNABLE

"Attach Listener" daemon prio=10 tid=0x19865000 nid=0xd04 runnable

java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x19864500 nid=0xa74 waiting on
condition
java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=9 tid=0x19858500 nid=0xd58 in Object.wait()

java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116) - locked <0x03450b60>]]> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x19854300 nid=0xddc in Object.wait()

java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:484) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0x03450238>]]> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x00917000 nid=0xd74 waiting on condition

java.lang.Thread.State: RUNNABLE

"VM Thread" prio=10 tid=0x1984fd00 nid=0x75c runnable

"VM Periodic Task Thread" prio=10 tid=0x19869a00 nid=0xae4 waiting on
condition

JNI global references: 655


12 comments
Comment actions Permalink

I get antialiasing with 1.5. -Dswing.aatext=true.

0
Comment actions Permalink

Patrick,

But that's not subpixel antialiasing like Microsofts ClearText JDK 1.5 does
not have it right?



"Patrik Andersson" <pandersson@gmail.com> wrote in message
news:18092017.1126371010441.JavaMail.javamailuser@localhost...
>I get antialiasing with 1.5. -Dswing.aatext=true.


0
Comment actions Permalink

Alex Roytman wrote on 10/09/05 15:57:

Here is the thread dump:


Do you have the stack trace as well? I had this the other night but
forgot to save it at home. I've seen alot of apps break with the latest
Mustang builds, most of them throwing a NullPointerException somewhere
in code dealing with fonts and font sizes.

0
Comment actions Permalink

I'm sorry you're the one to receive this.. but.. why does every god damn individual on this earth assume that it's Patri__c__k and not Patrik? For fuxors sake, it's right there above my post! :)

0
Comment actions Permalink

fwiw, I think your mum spelt your name wrong.

I'm sorry you're the one to receive this.. but.. why does every god
damn individual on this earth assume that it's Patri__c__k and not
Patrik? For fuxors sake, it's right there above my post! :)



0
Comment actions Permalink

Your dad would know. I received the same name that statue has. I look the same too fwthiw.

0
Comment actions Permalink

I'm having problems too. I just reported it in the Mustang snapshot feedback forumn:

http://forums.java.net/jive/thread.jspa?threadID=1439


The stack trace is:

java.lang.reflect.InvocationTargetException
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:585)
at com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
Caused by: java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 6 more
java.lang.reflect.InvocationTargetException
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:585)
at com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
Caused by: java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 6 more
ERROR - llij.ide.plugins.PluginManager -
ERROR - llij.ide.plugins.PluginManager - JDK: 1.6.0-ea
ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM) Client VM
ERROR - llij.ide.plugins.PluginManager - Vendor: Sun Microsystems Inc.
ERROR - llij.ide.plugins.PluginManager - OS: Linux
ERROR - llij.ide.plugins.PluginManager - Original exception:
java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
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:585)
at com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
ERROR - llij.ide.plugins.PluginManager -
java.lang.reflect.InvocationTargetException
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:585)
at com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
Caused by: java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 6 more



Attachment(s):
crashlog.txt
0
Comment actions Permalink

Ouch my eyes :(

I miss subpixel AA too!
Here is what I get when I start #3489 with b51:

-


java.lang.reflect.InvocationTargetException
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:585)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
Caused by: java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 6 more
java.lang.reflect.InvocationTargetException
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:585)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
Caused by: java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 6 more
ERROR - llij.ide.plugins.PluginManager -
ERROR - llij.ide.plugins.PluginManager - JDK: 1.6.0-ea
ERROR - llij.ide.plugins.PluginManager - VM: Java HotSpot(TM)
ClientVM
ERROR - llij.ide.plugins.PluginManager - Vendor: Sun
Microsystems Inc.
ERROR - llij.ide.plugins.PluginManager - OS: Windows XP
ERROR - llij.ide.plugins.PluginManager - Original exception:
java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
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:585)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
ERROR - llij.ide.plugins.PluginManager -
java.lang.reflect.InvocationTargetException
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:585)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run(Thread.java:611)
Caused by: java.lang.NullPointerException
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:57)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 6 more
-




By the way, just out of pure curiosity, I tried starting Idea with the
BEA "JRockit" vm. It didn't work at all :) Here was the stacktrace :

-



WARNING: '-XX:MaxPermSize=92m' is not a valid VM option. Ignoring.
ERROR: Exported method JVM_GetCallerClass in the jvm library
is called, but not implemented in JRockit.
Stacktrace:
at sun/reflect/Reflection.getCallerClass(I)Ljava/lang/Class;(Native
Method)
at
com/intellij/util/ImageLoader.loadFromResource(Ljava/lang/String;)Ljava/awt/Image;(ImageLoader.java:54)
at
com/intellij/util/ui/UIUtil.updateFrameIcon(Ljava/awt/Frame;)V(UIUtil.java:56)
at com/intellij/idea/Main.mainImpl([Ljava/lang/String;)V(Main.java:14)
at com/intellij/idea/Main.start([Ljava/lang/String;)V(Main.java:7)
at jrockit/vm/RNI.c2java()V(Native Method)
at
jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native
Method)
at
jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Source)
at
jrockit/reflect/InitialMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Source)
at
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown
Source)
at
com/intellij/ide/plugins/PluginManager$5.run()V(PluginManager.java:3)
at java/lang/Thread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java()V(Native Method)
-- end of trace
ERROR: Exported method JVM_GetCallerClass in the jvm library
is called, but not implemented in JRockit.
Stacktrace:
at sun/reflect/Reflection.getCallerClass(I)Ljava/lang/Class;(Native
Method)
at
com/intellij/util/ImageLoader.loadFromResource(Ljava/lang/String;)Ljava/awt/Image;(ImageLoader.java:59)
at
com/intellij/util/ui/UIUtil.updateFrameIcon(Ljava/awt/Frame;)V(UIUtil.java:56)
at com/intellij/idea/Main.mainImpl([Ljava/lang/String;)V(Main.java:14)
at com/intellij/idea/Main.start([Ljava/lang/String;)V(Main.java:7)
at jrockit/vm/RNI.c2java()V(Native Method)
at
jrockit/reflect/NativeMethodInvoker.invoke0(Ljava/lang/Object;ILjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native
Method)
at
jrockit/reflect/NativeMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Source)
at
jrockit/reflect/InitialMethodInvoker.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Unknown
Source)
at
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;I)Ljava/lang/Object;(Unknown
Source)
at
com/intellij/ide/plugins/PluginManager$5.run()V(PluginManager.java:3)
at java/lang/Thread.run()V(Unknown Source)
at jrockit/vm/RNI.c2java()V(Native Method)
-- end of trace
java.lang.reflect.InvocationTargetException
at
jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run()V(Unknown Source)
Caused by: java.lang.NullPointerException
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:65)
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:61)
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:56)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 4 more
java.lang.reflect.InvocationTargetException
at
jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run()V(Unknown Source)
Caused by: java.lang.NullPointerException
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:65)
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:61)
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:56)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 4 more
ERROR - llij.ide.plugins.PluginManager -
ERROR - llij.ide.plugins.PluginManager - JDK: 1.5.0_03
ERROR - llij.ide.plugins.PluginManager - VM: BEA JRockit(R)
ERROR - llij.ide.plugins.PluginManager - Vendor: BEA Systems,
Inc.
ERROR - llij.ide.plugins.PluginManager - OS: Windows XP
ERROR - llij.ide.plugins.PluginManager - Original exception:
java.lang.NullPointerException
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:65)
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:61)
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:56)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
at
jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run()V(Unknown Source)
ERROR - llij.ide.plugins.PluginManager -
java.lang.reflect.InvocationTargetException
at
jrockit.reflect.InitialMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown
Source)
at
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
Source)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:3)
at java.lang.Thread.run()V(Unknown Source)
Caused by: java.lang.NullPointerException
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:65)
at
com.intellij.util.ImageLoader.loadFromResource(ImageLoader.java:61)
at com.intellij.util.ui.UIUtil.updateFrameIcon(UIUtil.java:56)
at com.intellij.idea.Main.mainImpl(Main.java:14)
at com.intellij.idea.Main.start(Main.java:7)
... 4 more

-




BoD

0
Comment actions Permalink

Patrik, sorry for misspelling your name I should have been more careful


"Patrik Andersson" <pandersson@gmail.com> wrote in message
news:27069853.1126534286393.JavaMail.javamailuser@localhost...

I'm sorry you're the one to receive this.. but.. why does every god damn
individual on this earth assume that it's Patri__c__k and not Patrik? For
fuxors sake, it's right there above my post! :)



0
Comment actions Permalink

I just received the following reply from Sun regarding this:




How about it Jetbrains ?

0
Comment actions Permalink

I hate to reply to my own messages but this thought just occurred to me.


Will the new modality be a solution to the plague of focus-stealing issues IDEA currently has ?

Anyhow, I look forward to IDEA being fixed so we can all use Mustang again :)

-Grant

0
Comment actions Permalink

This exception happends because JOptionPane.getRootFrame() returns null now when it used to return our shared invisible frame. We changed it to support true parentless modality provided by AWT team.


I suggest not using JOptionPane at all and use own dialogs instead
(which have the common application look and feel, e.g. regarding
spacings, button size, button position).

Tom

0

Please sign in to leave a comment.