IDEA 5.x IDEA6.x not support any IBM JDK version for compilation !

alway throw Error: String index out of range: -1

here is idea.log for Irida, build 4192

06-04-28 12:09:17,914 INFO - ject.impl.BaseFileConfigurable - Time to save E:\JavaProject\ICBC\ICBCA.iws: 30
2006-04-28 12:09:22,060 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$5@198c5ad
2006-04-28 12:09:22,060 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$5@198c5ad
2006-04-28 12:09:26,767 INFO - ompiler.BackendCompilerWrapper - Running compiler: D:\Develop\IBM\JDK\1.4.1\bin\java -Xmx128m -Dfile.encoding=GBK -Duser.language=zh -Duser.countryCN -classpath D:\Develop\IBM\JDK\1.4.1\lib\tools.jar;D:\Develop\IDE\IntelliJ IDEA 5.1.1\lib\idea_rt.jar com.intellij.rt.compiler.JavacRunner "java version "1.4.1"" com.sun.tools.javac.Main -source 1.4 -verbose -bootclasspath @D:\Temp\javac_bootcp25739.tmp -classpath @D:\Temp\javac_cp25740.tmp -sourcepath "" -d E:\JavaProject\ICBC\CTP\classes -g -deprecation -encoding UTF-8 @D:\Temp\javac25741.tmp
2006-04-28 12:09:27,198 INFO - iler.JavaCompilerParsingThread -
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at com.intellij.compiler.JavacOutputParser.a(JavacOutputParser.java:83)
at com.intellij.compiler.JavacOutputParser.processMessageLine(JavacOutputParser.java:69)
at com.intellij.compiler.impl.javaCompiler.CompilerParsingThread.run(CompilerParsingThread.java:31)

0
2 comments

Although I was not able to reproduce this with IBM jdk v 1.4.2, there has been check added to avoid such exceptions.
The fix will be available in the newrest update of IDEA 5.1 as well as in EA builds of IDEA 6.

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

"Dragon" <jbuilder@vip.sina.com> wrote in message news:3355638.1146202305625.JavaMail.itn@is.intellij.net...

alway throw Error: String index out of range: -1

>

here is idea.log for Irida, build 4192

>

06-04-28 12:09:17,914 INFO - ject.impl.BaseFileConfigurable - Time to save E:\JavaProject\ICBC\ICBCA.iws: 30
2006-04-28 12:09:22,060 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize
queue:com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$5@198c5ad
2006-04-28 12:09:22,060 INFO - impl.local.LocalFileSystemImpl - Executing
request:com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$5@198c5ad
2006-04-28 12:09:26,767 INFO - ompiler.BackendCompilerWrapper - Running compiler:
D:\Develop\IBM\JDK\1.4.1\bin\java -Xmx128m -Dfile.encoding=GBK -Duser.language=zh -Duser.countryCN -classpath
D:\Develop\IBM\JDK\1.4.1\lib\tools.jar;D:\Develop\IDE\IntelliJ IDEA 5.1.1\lib\idea_rt.jar com.intellij.rt.compiler.JavacRunner
"java version "1.4.1"" com.sun.tools.javac.Main -source 1.4 -verbose -bootclasspath @D:\Temp\javac_bootcp25739.tmp -classpath
@D:\Temp\javac_cp25740.tmp -sourcepath "" -d E:\JavaProject\ICBC\CTP\classes -g -deprecation -encoding UTF-8
@D:\Temp\javac25741.tmp
2006-04-28 12:09:27,198 INFO - iler.JavaCompilerParsingThread -
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at com.intellij.compiler.JavacOutputParser.a(JavacOutputParser.java:83)
at com.intellij.compiler.JavacOutputParser.processMessageLine(JavacOutputParser.java:69)
at com.intellij.compiler.impl.javaCompiler.CompilerParsingThread.run(CompilerParsingThread.java:31)



0

Please sign in to leave a comment.