Skip to main content

cvm selftest error

3 replies [Last post]
bertlin
Offline
Joined: 2009-09-11
Points: 0

Hi,
I build phoneme MR1 in my Linux system.
I tried the Test Class and got the following error messages.
I don't know how to fix it.
Can anyone help me?

/mnt/usb/mr1 # cvm -version
Product: CDC HI/FP/PP (1.1.1-beta-b31)
Profile: Personal Profile Specification 1.1
JVM: CDC HI 1.1.1_01-b31 (mixed mode)

/mnt/usb/mr1 # cvm -cp testclasses.zip Test

(lots of testing message)

GC[SS,0,full]: Done, success for -1 bytes FALSE
GC[MC,1,full]: Collecting
GC[MC,1,full]: Done, success for -1 bytes FALSE
Woke up! Cancelling latency request
............
testManyFieldsAndMethods() failed:
java.lang.NullPointerException
at java.lang.StringBuffer.append(Ljava/lang/String;)Ljava/lang/StringBuffer;(Compiled Method)(StringBuffer.java:422)
at Test.testManyFieldsAndMethods()V(Test.java:713)
at Test.main([Ljava/lang/String;)V(Test.java:137)
at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Method.java:316)
at sun.misc.CVM.runMain()V(CVM.java:478)

*TOO BAD: test Test completed with 369 tests passed and 3 failures
*Output lines starting with a * should be checked for correctness
*They can be compared to src/share/javavm/test/TestExpectedResult
Thread 0 (41d7f8) exited with locks held

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bertlin
Offline
Joined: 2009-09-11
Points: 0

I found the solution here:

http://wiki.java.net/bin/view/Mobileandembedded/PhoneMEAdvancedCriticalB...

the floating point issue:
I think it's normal since the default setting of my machine doesn't use floating point.

Thx

bertlin
Offline
Joined: 2009-09-11
Points: 0

sorry
The error messages are beginning with `*`

test6: Caught inner java.lang.NullPointerException
test6: Caught outer java.lang.NullPointerException
Testing Array Copy
*TestE exception thrown because "I'm feeling Testy"
* threw java.lang.ExceptionInInitializerError
* threw java.lang.NoClassDefFoundError: StaticE
c1 = class [LTest;
c2 = class [[LTest;
c3 = class [LC;
c4 = class [[LC;
c1.modifiers = 1041
c2.modifiers = 1041
c3.modifiers = 1040
c4.modifiers = 1040
*FloatMIN =1.4E-45
*FloatMAX =3.4028235E38
FloatMIN (the int bits) =1
FloatMAX (the int bits) =2139095039
*TEST FAILURE: FloatMIN (the two-way transformation)
*TEST FAILURE: FloatMAX (the two-way transformation)
java.lang.IllegalArgumentException: too many dimensions
at java.lang.reflect.Array.multiNewArray(Ljava/lang/Class;[I)Ljava/lang/Object;(Native Method)
at java.lang.reflect.Array.newInstance(Ljava/lang/Class;[I)Ljava/lang/Object;(Array.java:111)
at Test.testDeepArrayConstruction()V(Test.java:678)
at Test.main([Ljava/lang/String;)V(Test.java:119)
at java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Method.java:316)
at sun.misc.CVM.runMain()V(CVM.java:478)