Maxim,

Maybe the exception and the lockup (100% CPU Usage) were not related.
I wasn't doing the code inspection when it happened and I wasn't
doing the code inspection in that java file. I did it before in
some files and I was actively making changes there and rerunning
the code inspection. I tried to reproduce it again with no success.

As far as I remember there were only constant conditions cases
like "if (active=false) {}" (active is boolean) and a constant condition
that is correct
if we assume there could be only one thread.

Hope this will help.


Timur Zambalayev


-----Original Message-----
Maxim Shafirov [EMAIL PROTECTED]
Wed, 17 Apr 2002 21:56:37 +0400

Hello Timur,

Would you please provide a class (just a method to be exact) that
leads to this error during Constant Conditions and NPE's inspection.

Thank you in advance.

--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

TZ> Just after "object=new |" (the code was quite usual)
TZ> I got EmptyStackException and 100% CPU Usage (IDEA).
TZ> Had to kill the process.
TZ> Unfortunately forgot to get the thread dump.
TZ> Not reproducible (tried to reproduce after restarting).


TZ> Timur Zambalayev


TZ> ===================================================
TZ> [5488883]  ERROR - intellij.plugins.PluginManager -
TZ> [5488893]  ERROR - intellij.plugins.PluginManager - IntelliJ IDEA
(Ariadna)
TZ> Bu
TZ> ild #616
TZ> [5488893]  ERROR - intellij.plugins.PluginManager - JDK: 1.3.1_03
TZ> [5488893]  ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM)
TZ> Client
TZ> VM
TZ> [5488893]  ERROR - intellij.plugins.PluginManager - Vendor: Sun
Microsystems
TZ> Inc
TZ>  .
TZ> [5488893]  ERROR - intellij.plugins.PluginManager - OS: Windows 2000
TZ> [5488913]  ERROR - intellij.plugins.PluginManager -
TZ> java.util.EmptyStackException
TZ>         at java.util.Stack.peek(Stack.java:77)
TZ>         at java.util.Stack.pop(Stack.java:59)
TZ>         at com.intellij.codeInspection.c.l.b(l.java:40)
TZ>         at com.intellij.codeInspection.c.b.m.a(m.java:2)
TZ>         at com.intellij.codeInspection.c.i.run(i.java:0)
TZ>         at com.intellij.openapi.a.a.b.a(b.java:222)
TZ>         at com.intellij.codeInspection.c.h.run(h.java:2)
TZ>         at java.lang.Thread.run(Thread.java:479)


TZ> _______________________________________________
TZ> Eap-list mailing list
TZ> [EMAIL PROTECTED]
TZ> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to