cancel
Showing results for 
Search instead for 
Did you mean: 

syncBO detail not showing

Former Member
0 Kudos

Hey I have created a smartsync application that is

working well on my PC(It uses java2 runtime SE v1.4.2_11and sdk v1.4.2_11)My MI client is SP15.

I deployed the same application in a PDA(jvm is Creme 3.27).It is showing the syncbo header without any error.

But when I select the item of a header it throws the following error.

<b>Internal Servlet Error</b>

Java.lang.NoSuchMethodError:java.util.vector:method add

(Ljava/lang/Object;)Z not found at <package>.<controller.java>.showSelectedSyncBoDetails()

what could be the reason for this.Is it related to the JVM version. Please help me in this.

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello vee,

creme is based on 1.1.8 thus you should avoid using methods introduced into 1.2 later.

instead of Vector.add() method, use Vector.addElement().

if you would like to check for compatibility, try compiling your codes using jdk 1.1.8 version.

regards

jo

Former Member
0 Kudos

Hi! Jo

Thank you very much for your suggestion.I have changed the code(addElemt() instead of add)as you have directed.It is working perfectly alright.

Thanks for your help.

Answers (0)