File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Product and Other Certifications and the fly likes ERROR: floating-point arguments should not appear in MIDlet pre-verification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "ERROR: floating-point arguments should not appear in MIDlet pre-verification" Watch "ERROR: floating-point arguments should not appear in MIDlet pre-verification" New topic
Author

ERROR: floating-point arguments should not appear in MIDlet pre-verification

Jane Joseph
Ranch Hand

Joined: Feb 21, 2008
Posts: 39
Hi,

I'm trying to exeute a MIDlet which test the functionality of the HttpConnection interface. The code is Listing 7.1 in http://www.scmadbook.com/index.php/Ch07_code.

The code compiles fine, but gives the following pre-verification error-

Preverifying 2 file(s) into E:\NetBeansProjects\WorldConnections\build\preverified directory.
[color=red]Error preverifying class java.lang.String



ERROR: floating-point arguments should not appear
E:\NetBeansProjects\WorldConnections\nbproject\build-impl.xml:431: Preverification failed with error code 1.[/color]


Using NetBeans IDE v6.5 . Please help.

Regards,




Jane
SCJP, SCMAD
Jane Joseph
Ranch Hand

Joined: Feb 21, 2008
Posts: 39
Issue fixed when I changed the Device configuration to CDLC1.1. The Device configuration value has become 1.0 when I had chosen a particular emulator.

Thanks,
Sathya Srinivasan
Ranch Hand

Joined: Jan 29, 2002
Posts: 379
Hi Jane,

Glad you could fix the problem. We will post some more guidance on compiling and running the code soon on the website, hopefully sooner than later.


Cheers, Sathya Srinivasan - SCJP 1.2, SCWCD 1.2, SCMAD 1.0
Co-Author of Whizlabs SCMAD Certification Exam Simulator and SCMAD Exam Guide Book
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ERROR: floating-point arguments should not appear in MIDlet pre-verification
 
Similar Threads
Trouble running "Kicking Butt" PushyMIDlet example
a twitter client
reusing classes meant for J2SE
Unmarshalling Error while registering an object in RMIRegistery
MP3 on J2ME??