aspose 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 Spring in Action this week in the Spring 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