Search code examples
java-memidletmidp-2.0cldc

"Undefined methods for the type "error after importing Netbeans project to Eclipse Pulsar


I imported a netbeans project into eclipse ( Pulsar for Mobile Developers.Version: Helios Service Release 1, Build id: 20100917-0705). I have two errors multiple times -

  1. The method nextInt() in the type Random is not applicable for the arguments (int)
  2. The method equalsIgnoreCase(String) is undefined for the type String

The project works fine in netbeans but I am unable to debug it due to OutOfMemoryError and hence the switch to eclipse.

I have seen this but it did not solve my problem.

Any other hint to solve this problem ?

  • Salil

Solution

  • This is a bug on the WTK/eclipse integration https://bugs.eclipse.org/bugs/show_bug.cgi?id=315209