I'm building a simple application for CDC in NetBeans 6.1, and at an early stage I've hit the following problem. At first I was able to run it on my Windows Mobile 5 emulator without problems, but I now suddenly get:
at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
BUILD FAILED (total time: 14 seconds)
I've changed everything back to what it was just before the error, as far as I can see, but no joy. Still getting the above message. Is there something obvious I've missed?
Edited by: Leggie on 26-Aug-2008 14:50
give more details about how did u simulate it. How did u actually made it?
There are lots of trick stuff with Creme, but so far, i could solve all the problems.
If u want i have a step by step tutorial that i made, on how to deploy an application , using Creme JVM and Swing!
First of all, sorry for the delayed response. Development got sidelined for a while and I forgot about this thread!
SnowKat: Following your suggestion, I reinstalled the CrE-ME410_swing file; I still get the same error, though. Thanks for the idea, though.
Felipe: I'm not sure exactly what information you need me to provide. I made a simple CDC application in NetBeans 6.1, consisting of one form with a menu bar and attempted to run it in the Remote VM (at \Windows\creme\bin\CrEme.exe). I'm using Microsoft Device Emulator Manager with the Windows Mobile 5 Emulator.
I would indeed be interested in reading your tutorial on Swing with Creme JVM; where can I find it?
I am trying desperately getting CrE-ME working with my swing application. Right now I cant get JTable working at all on the windows mobile based PDA using CrE-ME where as many other swing elements seems to work?? If you have a step by step tutorial using CrE-ME I will be very happy. Thanks in advance.
Hi, my website is online again, due to the requests for this tutorial! Is still under construction, however you can find the step by step under the articles link!
If you do everything as is described, i think that you are not finding any problems.
Edited by: Felipe_Matt on Jun 30, 2009 4:25 AM
i was getting the same problem..
In my case, i solved it adding a empty constructor to my class.. Why is that? I don't know.. Maybe it does not build a defaut constructor for some reason..
but it worked for me..
I got this problem again, and this time i solved it by moving my files outside a folder/package i created. Netbeans calls it a 'defaut package'.
Edited by: henriquebonadio on Jul 29, 2009 7:52 PM