Intellij 4.5.3, Build 2250 hangs on startup


Clean install of 4.5.3, I try to run Intellij and it just hangs, process utilizes 50% CPU and only 9MB memory, Intellij never comes up. I don't even get to a screen to enter the trial license. The install logs all show success. After I try to run Intellij I have to restart the computer otherwise it will hang other java programs & I can't kill the "idea.exe" process. The rest of the computer is fine and I don't experience any other issues, only when/after starting intellij.

I've uninstalled my antivirus software and I have the windows SP2 firewall set to off.

Machine: Windows XP SP2,3.2Ghz HyperThreading, 1GB RAM.

I've tried installing 4.5.3 to my laptop (windows xp sp1) and it was ok (I tested my desktop with the laptop off so I wouldn't hit the license check) What settings or problems could I have?? Frustruted... I can't convince my boss to upgrade to 4.5.3 if I can't get it to run!!

8 comments
Comment actions Permalink

Would you please run IDEA with the console (some tweaking in idea.lax is
necessary) and hit Ctrl+Break when the issue arises. If you'd send a thread
dump taken we could investigate what the hell it is doing at that time.

Clean install of 4.5.3, I try to run Intellij and it just hangs,
process utilizes 50% CPU and only 9MB memory, Intellij never comes up.
I don't even get to a screen to enter the trial license. The install
logs all show success. After I try to run Intellij I have to restart
the computer otherwise it will hang other java programs & I can't kill
the "idea.exe" process. The rest of the computer is fine and I don't
experience any other issues, only when/after starting intellij.

I've uninstalled my antivirus software and I have the windows SP2
firewall set to off.

Machine: Windows XP SP2,3.2Ghz HyperThreading, 1GB RAM.

I've tried installing 4.5.3 to my laptop (windows xp sp1) and it was
ok (I tested my desktop with the laptop off so I wouldn't hit the
license check) What settings or problems could I have??
Frustruted... I can't convince my boss to upgrade to 4.5.3 if I can't
get it to run!!



0
Comment actions Permalink

Hello Maxim,

Would you please run IDEA with the console (some tweaking in idea.lax
is necessary) and hit Ctrl+Break when the issue arises. If you'd send
a thread dump taken we could investigate what the hell it is doing at
that time.


AFAIK, tweaking the idea.lax doesn't work in the 4.5.x versions. The workaround
is to start IDEA while holding the CTRL key, then console will appear.

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Here is the console output, thanks for the help:

-


original working dir is: |C:\IntelliJ-IDEA-4.5\bin|
CONTROL KEY DOWN
application dir is: |C:\IntelliJ-IDEA-4.5\bin|
app_path : |C:\IntelliJ-IDEA-4.5\bin\idea.exe|
arg 0: |C:\IntelliJ-IDEA-4.5\bin\idea.exe|
reading properties from: |C:\IntelliJ-IDEA-4.5\bin\idea.lax|
Searching through the registry for VMs...
looking in C:\j2sdk1.4.2_06\bin
Found: C:\j2sdk1.4.2_06\bin\java.exe
Found: C:\j2sdk1.4.2_06\bin\javaw.exe
looking in C:\j2sdk1.4.2_06\bin
Found: C:\j2sdk1.4.2_06\bin\java.exe
Found: C:\j2sdk1.4.2_06\bin\javaw.exe
...Finished searching through the registry for VMs
Searching through the path for VMs...
Looking in C:\WINDOWS\system32
Ignoring 'C:\WINDOWS\system32\java.exe' because it is in a Windows System Di
rectory.
Ignoring 'C:\WINDOWS\system32\javaw.exe' because it is in a Windows System D
irectory.
Ignoring 'C:\WINDOWS\system32\jre.exe' because it is in a Windows System Dir
ectory.
Ignoring 'C:\WINDOWS\system32\jrew.exe' because it is in a Windows System Di
rectory.
Found: C:\WINDOWS\system32\jview.exe
Found: C:\WINDOWS\system32\wjview.exe
Looking in C:\WINDOWS
Ignoring 'C:\WINDOWS\java.exe' because it is in a Windows System Directory.
Ignoring 'C:\WINDOWS\javaw.exe' because it is in a Windows System Directory.

Ignoring 'C:\WINDOWS\jre.exe' because it is in a Windows System Directory.
Ignoring 'C:\WINDOWS\jrew.exe' because it is in a Windows System Directory.
Looking in C:\WINDOWS\System32\Wbem
Looking in C:\Program Files\ATI Technologies\ATI Control Panel
Looking in C:\Program Files\Microsoft SQL Server\80\Tools\Binn\
Looking in C:\Program Files\ATI Technologies\ATI.ACE\
Looking in C:\Program Files\WinSCP3\
Looking in c:\j2sdk1.4.2_06\bin
Found: c:\j2sdk1.4.2_06\bin\java.exe
Found: c:\j2sdk1.4.2_06\bin\javaw.exe
...Finished searching through the path for VMs
ORDERING VMS
1: C:\WINDOWS\system32\jview.exe (in path)
2: C:\WINDOWS\system32\wjview.exe (in path)
3: c:\j2sdk1.4.2_06\bin\java.exe (in path)
4: c:\j2sdk1.4.2_06\bin\javaw.exe (in path)
5: C:\j2sdk1.4.2_06\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\Jav
aSoft\Java Development Kit\1.4)
6: C:\j2sdk1.4.2_06\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\Ja
vaSoft\Java Development Kit\1.4)
7: C:\j2sdk1.4.2_06\bin\java.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\Jav
aSoft\Java Development Kit\1.4.2_06)
8: C:\j2sdk1.4.2_06\bin\javaw.exe (in registry at HKEY_LOCAL_MACHINE\SOFTWARE\Ja
vaSoft\Java Development Kit\1.4.2_06)
Searching for console vm.
lax.nl.valid.vm.list not found using ALL
lax.nl.valid.vm.list=ALL
lax.nl.current.vm=c:\intellij-idea-4.5\jre\bin\java.exe.

Using JNI INVOCATION to simulate the following batch script:

BATCH SCRIPT
-



cd "C:\IntelliJ-IDEA-4.5\bin"
set CLASSPATH=C:\IntelliJ-IDEA-4.5\lib\idea.jar;C:\IntelliJ-IDEA-4.5\lib\jdom.ja
r;C:\IntelliJ-IDEA-4.5\lib\log4j.jar;C:\IntelliJ-IDEA-4.5\lib\openapi.jar;C:\Int
elliJ-IDEA-4.5\bin\lax.jar;
c:\intellij-idea-4.5\jre\bin\java.exe -Xms16m -Xmx192m -Dsun.java2d.noddraw=true
-Didea.system.path=..\system -Didea.config.path=..\config -Didea.popup.weight=h
eavy -Dcvs.print.output=true com.zerog.lax.LAX C:
IntelliJ-IDEA-4.5
bin
idea.
lax C:
DOCUME1
ERICSH
1
LOCALS~1
Temp
env.prop

executing java...


LAX Version = 5.5



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

Hello Eric,

Here is the console output, thanks for the help:


Can you hit Ctrl+Break in the console and provide a thread dump?

--
Serge Baranov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Here it is:

Full thread dump Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode):

"Lock thread" prio=5 tid=0x00b4d4f8 nid=0x500 runnable
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:353)
- locked ]]> (a java.net.PlainSocketImpl)
at java.net.ServerSocket.implAccept(ServerSocket.java:448)
at java.net.ServerSocket.accept(ServerSocket.java:419)
at com.intellij.idea.g$b_.run(g$b_.java:4)
at java.lang.Thread.run(Thread.java:534)

"Idea Main Thread" prio=5 tid=0x034e2e78 nid=0x580 runnable
at java.net.PlainSocketImpl.socketListen(Native Method)
at java.net.PlainSocketImpl.listen(PlainSocketImpl.java:343)
- locked (a java.net.PlainSocketImpl) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) at java.net.ServerSocket.(ServerSocket.java:97) at com.intellij.idea.g.a(g.java:31) at com.intellij.idea.g.a(g.java:2) - locked <0x101302b8> (a com.intellij.idea.g) at com.intellij.idea.Main.d(Main.java:14) - locked <0x1c1d9408>]]> (a java.lang.Class)
at com.intellij.idea.Main.c(Main.java)
at com.intellij.idea.Main.start(Main.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.intellij.ide.plugins.f$0.run(f$0.java:6)
at java.lang.Thread.run(Thread.java:534)

"Signal Dispatcher" daemon prio=10 tid=0x00ad94a0 nid=0x908 waiting on condition


"Finalizer" daemon prio=9 tid=0x00aa13e8 nid=0xc8 in Object.wait() [2f3f000..2f3
fd8c]
at java.lang.Object.wait(Native Method)
- waiting on (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111) - locked <0x10130410> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x00a9ffb8 nid=0xc58 in Object.wait() [2e 3f000..2e3fd8c] at java.lang.Object.wait(Native Method) - waiting on <0x10130080> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:429) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:115) - locked <0x10130080>]]> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x00904ef0 nid=0x120 waiting on condition

"VM Thread" prio=5 tid=0x00ad7730 nid=0x4d4 runnable

"VM Periodic Task Thread" prio=10 tid=0x00adbcb0 nid=0x870 waiting on condition

"Suspend Checker Thread" prio=10 tid=0x00ad8b58 nid=0x540 runnable



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

There's nothing aside trying to perform license validation across local network.
You probably have problems with TCP protocol settings, aren't you? You do
not have to have a local network available actually. Just TCP protocol drivers
must present.

0
Comment actions Permalink


I'm pretty sure I don't have any TCP/network issues. Doing an 'ipconfig /all' I see valid information coming back from the DHCP server. Also I can http/ssh/ping to computers inside my network and the internet. I also tried to disconnect the computer from the network and that didn't seem to help. I feel like I've tried just about everything.

One question I did have though, is I never had an opportunity to install the trial license key. After the install when I clicked on Intellij it asked if I had any previous settings I wanted to import, after that it hangs so I never get a "Enter you key here" type dialog. Could this be causing it issues when looking across the network?

I do have my purchased license for 3.x, should I bother installing that to see if it works any better?
The only other thing I can think of is to rebuild the computer, which I really don't want to do.

0
Comment actions Permalink

One question I did have though, is I never had an opportunity to
install the trial license key. After the install when I clicked on
Intellij it asked if I had any previous settings I wanted to import,
after that it hangs so I never get a "Enter you key here" type dialog.
Could this be causing it issues when looking across the network?

Nope, that couldn't be network issues at that point. Kinda wierd things...
Well, let's try the following: open your idea.lax file and search for the
idea.system.path and idea.config.path properties. Where they point to? Do
those folders exist? If they don't exist - create them, if they exist - clear
them up. Config might be worth backing up though.

Hopefully this would help.

0

Please sign in to leave a comment.