• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Jane Joseph
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 Joseph
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic