Problems with xletview

Hello!

I've developed an application that works well with eclipse and openmhp emulator.

When I've tried to work with the emulator xletview, it crash because of the error:

java.lang.NoSuchMethodError: xjava.io.File.listFiles(Ljava/io/FilenameFilter;)[L

xjava/io/File;

at org.ipiu.prj.dtt.builder.ApplicationFilesFilter.exploreFile(Applicati

onFilesFilter.java:56)

at org.ipiu.prj.dtt.builder.ApplicationFilesFilter.getFilesFiltered(Appl

icationFilesFilter.java:43)

at org.ipiu.prj.dtt.domain.ServiceRepository.<init>(ServiceRepository.ja

va:45)

at org.ipiu.prj.dtt.domain.Domain.<init>(Domain.java:8)

at org.ipiu.prj.dtt.builder.ApplicationBuilder.buildData(ApplicationBuil

der.java:43)

at org.ipiu.prj.dtt.xlet.MainXlet.startXlet(MainXlet.java:137)

at net.beiker.xletview.xlet.XletManager.resumeRequest(Unknown Source)

at net.beiker.xletview.xlet.XletManager.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

>>>>> error <<<<<

It generates an error because it doesn't find the definition of the method "listFiles" that is defined in the File.class.

Why does'n it find this method?

Please help me!!!!

[1288 byte] By [francy127a] at [2007-11-27 0:35:17]
# 1

If I remember well, Xletview author rewrote File.class, if you follow the link below you can check it. Remember that xletview is only a partial emulator and has no more maintained since two years. If you want to test your applications on a PC I suggest you mimundo.tv a spin off of the IRT mhp stack implementation.

http://xletview.cvs.sourceforge.net/xletview/xletview/src/xjava/io/XFile.java?revision=1.2.2.1&view=markup

MarcoFraa at 2007-7-11 22:43:37 > top of Java-index,Java Mobility Forums,Consumer and Commerce...