cancel
Showing results for 
Search instead for 
Did you mean: 

could not able to retrieve item table information in emulator.

Former Member
0 Kudos

HI,

I have downloaded WM6.0 and installed CrEme329_ARM_CE42_PPC and MAP70_WinCESetupTomcat_Tomcat and i have deployed my applications and after synchronization,when i click on the application i get the header table data(Get List)and when i click on the purticular header record to view the item record(Get Detail) it is giving me error message.

"java.lang.NoSuchMethodError: java.util.Vector: method add(Ljava/lang/Object;)Z not found"

please give me some inputs to resolve this issue..

Thanks and regards

Manohar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

hi

we have added a button called add and we gave the coding for that but the button is nto displayed in

the emulator.

Regards

Manohar

Former Member
0 Kudos

You are adding add button to ur custom jsp ?

<td width="50">
<INPUT  TYPE="submit" value="Add" src="mimes/add.bmp" name="_event_name" HEIGHT="18" WIDTH="19"  ALT="Add Row" />
</td>

or can try this out:

<td>
<input type="submit" action=""  value="Add" name="_event_navGoToStatus"/>
</td>

Edited by: Chetna Verma on Feb 17, 2009 7:20 AM

Former Member
0 Kudos

Thanks chetan and veera,

we have solved the issue to display the item table information but the thing is that we could not able to see the buttons we have added to the code.

Regards

Manohar

Former Member
0 Kudos

Hi Gauri...

I faced the problem today only..

Solution is:

1.Goto ur Servlet.java.

2.Goto Function:

private String showSelectedSyncBoDetails(String eventName)

3. Comment the standard line and add this line:

i.e.

//syncBoItemsBean.add(itemTableBean); Comment it out

syncBoItemsBean.addElement(itemTableBean); Replace above one with this

Your error will be gone..

And yes:

(Synchronize it nearly 6 times(in my case it happend plus hard and soft restart of PDA, it is helpful)

Thanks n Regards..

Edited by: Chetna Verma on Feb 15, 2009 2:10 PM

0 Kudos

Hi,

Have you created an action for Lead Select?

Thanks and Regards,

Narayani

Former Member
0 Kudos

hi

this is an automatic generated code.so we do not need to create the lead selection code and anything else.(if iam not wrong)

thanks and regards

manohar

0 Kudos

Hi,

There are two things:

If you have taken the header and item nodes separately you will have to write a bind for both of them.

Else : you have to create an action for lead select which will have no code.

Thanks and Regards,

Narayani

Former Member
0 Kudos

HI

iam talking about Mobile Infrastructure,not webdynpro java.

regards

Manohar

Former Member
0 Kudos

Hi Gouri,

I am facing same problem.

If your problem is solved please guide me how to solve this.

Former Member
0 Kudos

Dear Manohar,

CrEme (as it supports only jdk 1.1.8) does not support add , it supports addElement. Please replace code as given by Chetna and remember the same for any future MI app for the PDA.

Regards,

Veera