Long file names crash IDEA
I've been using JAXB today, and come across a real annoyance today.
Every time I built the project, IDEA crashed. This is version 4.5 and Irida. No exceptions. No warnings. It just completely disappeared.
What was really weird, was that when I ran our Maven script it a completely separate process, IDEA did the same thing. Crashed without even so much as an apology.
Turns out that, this file appeared in the Bin directory:
-
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x34CFE9A
Function=[Unknown.]
Library=C:\IntelliJ-IDEA-4.5\bin\FileWatcher2K.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 com.intellij.vfs.local.win32.FileWatcher.waitForChangeImpl(Native Method)
at com.intellij.vfs.local.win32.FileWatcher.d(FileWatcher.java:12)
at com.intellij.openapi.m.a.a.c$k_.run(c$k_.java:4)
Dynamic libraries:
0x00400000 - 0x00455000 C:\IntelliJ-IDEA-4.5\bin\idea.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x77D40000 - 0x77DD0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F56000 C:\WINDOWS\system32\GDI32.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
0x08000000 - 0x08138000 c:\intellij-idea-4.5\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x10000000 - 0x10007000 c:\intellij-idea-4.5\jre\bin\hpi.dll
0x00940000 - 0x0094E000 c:\intellij-idea-4.5\jre\bin\verify.dll
0x00950000 - 0x00969000 c:\intellij-idea-4.5\jre\bin\java.dll
0x00970000 - 0x0097D000 c:\intellij-idea-4.5\jre\bin\zip.dll
0x00A30000 - 0x00A3F000 C:\IntelliJ-IDEA-4.5\jre\bin\net.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\WS2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\system32\mswsock.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x03D00000 - 0x03E0F000 C:\IntelliJ-IDEA-4.5\jre\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76390000 - 0x763AD000 C:\WINDOWS\system32\IMM32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x03E60000 - 0x03EB0000 C:\IntelliJ-IDEA-4.5\jre\bin\fontmanager.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x76D40000 - 0x76D58000 C:\WINDOWS\system32\MPRAPI.dll
0x77CC0000 - 0x77CF2000 C:\WINDOWS\system32\ACTIVEDS.dll
0x76E10000 - 0x76E35000 C:\WINDOWS\system32\adsldpc.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x76B20000 - 0x76B31000 C:\WINDOWS\system32\ATL.DLL
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x76E80000 - 0x76E8E000 C:\WINDOWS\system32\rtutils.dll
0x71BF0000 - 0x71C03000 C:\WINDOWS\system32\SAMLIB.dll
0x77920000 - 0x77A13000 C:\WINDOWS\system32\SETUPAPI.dll
0x03470000 - 0x0347A000 C:\IntelliJ-IDEA-4.5\bin\JNIWrap.dll
0x03480000 - 0x03485000 C:\IntelliJ-IDEA-4.5\jre\bin\jawt.dll
0x03490000 - 0x0349C000 C:\IntelliJ-IDEA-4.5\bin\transparency.dll
0x034C0000 - 0x034DF000 C:\IntelliJ-IDEA-4.5\bin\FileWatcher2K.dll
0x71B20000 - 0x71B32000 C:\WINDOWS\system32\MPR.dll
0x05BC0000 - 0x05FBF000 C:\WINDOWS\resources\Themes\luna\luna.msstyles
0x77B40000 - 0x77B62000 C:\WINDOWS\system32\Apphelp.dll
0x03510000 - 0x03518000 C:\IntelliJ-IDEA-4.5\jre\bin\nio.dll
0x04870000 - 0x04892000 C:\IntelliJ-IDEA-4.5\jre\bin\dcpr.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 18240K, used 11251K [0x10010000, 0x113d0000, 0x12770000)
eden space 16256K, 58% used [0x10010000, 0x1094f750, 0x10ff0000)
from space 1984K, 89% used [0x10ff0000, 0x111ad590, 0x111e0000)
to space 1984K, 0% used [0x111e0000, 0x111e0000, 0x113d0000)
tenured generation total 241984K, used 35522K [0x12770000, 0x213c0000, 0x30010000)
the space 241984K, 14% used [0x12770000, 0x14a20bb0, 0x14a20c00, 0x213c0000)
compacting perm gen total 28160K, used 27954K [0x30010000, 0x31b90000, 0x34010000)
the space 28160K, 99% used [0x30010000, 0x31b5c9e8, 0x31b5ca00, 0x31b90000)
Local Time = Mon May 16 17:08:37 2005
Elapsed Time = 104
#
The exception above was detected in native code outside the VM
#
Java VM: Java HotSpot(TM) Client VM (1.4.2_04-b05 mixed mode)
#
-
What I think is happening, is that JAXB is generating a filename that is causing Irida to choke. When the file appears in the project, this Filewatcher thingy has a look at it, and has a heart attack.
The file that JAXB generated was:
OccupationalPensionSchemeReturnRequestTypeImpl$PensionSchemeDetailsTypeImple$TrusteeAdvisorsImple$FundMangerInformationTypeImpl$FundManagersTypeImpl$FundManagerTypeImpl.class
Yes, I know it's ridiculous, but it can compile, so it would be nice if IDEA could actually stay running if its in the project.
Please sign in to leave a comment.
Rayz wrote:
There's this website, thedailywtf.com. I'm tempted, so very tempted.
Ciao,
Gordon
--
Gordon Tyler (Software Developer)
Quest Software <http://www.quest.com/>
260 King Street East, Toronto, Ontario M5A 4L5, Canada
Voice: (416) 933-5046 | Fax: (416) 933-5001
In article <d6am42$33l$1@is.intellij.net>,
Gordon Tyler <gordon.tyler@quest.com> wrote:
You should!
R
Well, I wpuldn't have minded so much, except that Im going to be stuck using Eclipse for the next two months .... :(
Try deleting FileWatcher2K.dll. IDEA should still run fine without it (with
the exception of the autosyncing).