[5231] Cannot run unit tests


BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, I'm getting the following error when trying to run the unit tests
on a project (that could do it before...=):

"C:\Program Files\Java\jdk1.3.1_16\bin\java" -classic -Xdebug -Xnoagent
- -Djava.compiler=NONE
- -Xrunjdwp:transport=dt_socket,address=127.0.0.1:3230,suspend=y,server=n
- -Dfile.encoding=windows-1252 -classpath "C:\Program
Files\Java\jdk1.3.1_16\jre\lib\i18n.jar;C:\Program
Files\Java\jdk1.3.1_16\jre\lib\jaws.jar;C:\Program
Files\Java\jdk1.3.1_16\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.3.1_16\jre\lib\sunrsasign.jar;O:\Experimental\Arda\classes;O:\Experimental\Arda\lib\jump\jump.jar;O:\Experimental\Arda\lib\junit\junit.jar;O:\Experimental\Arda\lib\easymock\easymock.jar;O:\Experimental\Arda\lib\tinyline2d\tinyline2d.zip;O:\Experimental\Arda\lib\agg\Agg.jar;C:\Program
Files\JetBrains\IntelliJ IDEA\lib\idea_rt.jar"
com.intellij.rt.execution.junit.JUnitStarter -ideVersion5
@D:\Users\Melkor\LOCALS~1\Temp\idea_junit30317.tmp
Connected to the target VM, address: '127.0.0.1:3230', transport: 'socket'
java.lang.NoSuchMethodError: java.lang.Integer: method
valueOf(I)Ljava/lang/Integer; not found
at
com.intellij.rt.execution.junit.TestRunnerUtil.testsFoundInPackageMesage(TestRunnerUtil.java:193)
at
com.intellij.rt.execution.junit.TestAllInPackage2.]]>(TestAllInPackage2.java:23)
at
com.intellij.rt.execution.junit.TestRunnerUtil.getTestSuite(TestRunnerUtil.java:62)
at
com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:23)
at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
Disconnected from the target VM, address: '127.0.0.1:3230', transport:
'socket'
Exception in thread "main"
Process finished with exit code 1


Don't understand why it can access the java.lang.Integer.valueOf()
method...I swear it worked before! =)

Regards,
Pablo
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFERSpuvooSiBfQCSoRAjonAKCydcXjlNOMfWrZakkJX+cbgMQKswCfd8j3
poN1ckJqNiD0CE824b7QMEk=
=Orkf
-


END PGP SIGNATURE-----

3 comments

Will be fixed in the next EAP, thanks.

--
regards,
--
Alexey Kudravtsev
Software Developer
JetBrains, Inc, http://www.jetbrains.com
"Develop with pleasure!"

"Pablo Montilla" <melkor@adinet.com.uy> wrote in message
news:e239p8$152$1@is.intellij.net...

---BEGIN PGP SIGNED MESSAGE---
Hash: SHA1

>

Hello, I'm getting the following error when trying to run the unit tests
on a project (that could do it before...=):

>

"C:\Program Files\Java\jdk1.3.1_16\bin\java" -classic -Xdebug -Xnoagent
- -Djava.compiler=NONE
- -Xrunjdwp:transport=dt_socket,address=127.0.0.1:3230,suspend=y,server=n
- -Dfile.encoding=windows-1252 -classpath "C:\Program
Files\Java\jdk1.3.1_16\jre\lib\i18n.jar;C:\Program
Files\Java\jdk1.3.1_16\jre\lib\jaws.jar;C:\Program
Files\Java\jdk1.3.1_16\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.3.1_16\jre\lib\sunrsasign.jar;O:\Experimental\Arda\classes;O:\Experimental\Arda\lib\jump\jump.jar;O:\Experimental\Arda\lib\junit\junit.jar;O:\Experimental\Arda\lib\easymock\easymock.jar;O:\Experimental\Arda\lib\tinyline2d\tinyline2d.zip;O:\Experimental\Arda\lib\agg\Agg.jar;C:\Program
Files\JetBrains\IntelliJ IDEA\lib\idea_rt.jar"
com.intellij.rt.execution.junit.JUnitStarter -ideVersion5
@D:\Users\Melkor\LOCALS~1\Temp\idea_junit30317.tmp
Connected to the target VM, address: '127.0.0.1:3230', transport: 'socket'
java.lang.NoSuchMethodError: java.lang.Integer: method
valueOf(I)Ljava/lang/Integer; not found
at
com.intellij.rt.execution.junit.TestRunnerUtil.testsFoundInPackageMesage(TestRunnerUtil.java:193)
at
com.intellij.rt.execution.junit.TestAllInPackage2.<init>(TestAllInPackage2.java:23)
at
com.intellij.rt.execution.junit.TestRunnerUtil.getTestSuite(TestRunnerUtil.java:62)
at
com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:23)
at
com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
Disconnected from the target VM, address: '127.0.0.1:3230', transport:
'socket'
Exception in thread "main"
Process finished with exit code 1

>
>

Don't understand why it can access the java.lang.Integer.valueOf()
method...I swear it worked before! =)

>

Regards,
Pablo
---BEGIN PGP SIGNATURE---
Version: GnuPG v1.4.3 (MingW32)

>

iD8DBQFERSpuvooSiBfQCSoRAjonAKCydcXjlNOMfWrZakkJX+cbgMQKswCfd8j3
poN1ckJqNiD0CE824b7QMEk=
=Orkf
---END PGP SIGNATURE---



0

BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bas Leijdekkers wrote:

This issue is also reported here:
http://www.jetbrains.net/jira/browse/IDEA-7454

Bas

OK, thanks!
-


BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFERj0rvooSiBfQCSoRAnxvAKD+3x5NbI68N/32aujl24p4FT8UjACeKQ5K
kiNW1Xwl9O69pccZfRZfTEU=
=KuQ3
-


END PGP SIGNATURE-----

0

Please sign in to leave a comment.