Some breakage in jme3 and monkey zone

I check everything with the project but can’t figure out the issue, I dont build jars I generally link to the bin folder so I suspect that thats the reason my projects still run… anyways I’ve been seeing these as broken for a while now



jme3


[java]Description Resource Path Location Type

ZipEntry.CENCOM cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 194 Java Problem

ZipEntry.CENCRC cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 219 Java Problem

ZipEntry.CENEXT cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 193 Java Problem

ZipEntry.CENFLG cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 197 Java Problem

ZipEntry.CENHDR cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 195 Java Problem

ZipEntry.CENHDR cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 209 Java Problem

ZipEntry.CENHOW cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 203 Java Problem

ZipEntry.CENLEN cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 220 Java Problem

ZipEntry.CENNAM cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 192 Java Problem

ZipEntry.CENOFF cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 222 Java Problem

ZipEntry.CENSIG cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 188 Java Problem

ZipEntry.CENSIZ cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 221 Java Problem

ZipEntry.ENDOFF cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 301 Java Problem

ZipEntry.ENDSIG cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 289 Java Problem

ZipEntry.ENDSIG cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 290 Java Problem

ZipEntry.ENDSIZ cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 300 Java Problem

ZipEntry.ENDTOT cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 299 Java Problem

ZipEntry.LOCHDR cannot be resolved HttpZipLocator.java /jme3/src/desktop/com/jme3/asset/plugins line 226 Java Problem



Description Resource Path Location Type

The method copyOf(Material[], int) is undefined for the type Arrays BitmapFont.java /jme3/src/core/com/jme3/font line 209 Java Problem



[/java]



monkey zone



[java]Description Resource Path Location Type

Incompatible operand types int and Object AttackCommand.java /monkeyzone/src/com/jme3/monkeyzone/ai/commands line 59 Java Problem

The type ClientNetListener must implement the inherited abstract method ClientStateListener.clientDisconnected(Client, ClientStateListener$DisconnectInfo) ClientNetListener.java /monkeyzone/src/com/jme3/monkeyzone line 53 Java Problem

[/java]

What version of Java are you using? OpenJDK or something else? Android by any chance?

um the one from sun… well oracle now …thought of that and upgraded to 1.6.0_24 a while back didn’t help

there is a 64 bit jre that came with the system but eclipse should be ignoring that one

Where are you seeing these errors?



All the constants in ZipEntry are available in Java 1.5:

http://download.oracle.com/javase/1.5.0/docs/api/java/util/zip/ZipEntry.html#field_summary

ah ok my build target is 1.6 changing that now will report back

well doing that fixed the zip thing but broke other things -.-

the compiler seems to be complaining about @Override if thats not a big deal how do I get rid of the red x/s

and monkey zone still has its own issues even after setting to 1.5 and cleaning

There’s an “Edit” button you know.

mcbeth said:
[java]Description Resource Path Location Type
Incompatible operand types int and Object AttackCommand.java /monkeyzone/src/com/jme3/monkeyzone/ai/commands line 59 Java Problem
The type ClientNetListener must implement the inherited abstract method ClientStateListener.clientDisconnected(Client, ClientStateListener$DisconnectInfo) ClientNetListener.java /monkeyzone/src/com/jme3/monkeyzone line 53 Java Problem
[/java]


Actually, this last one was my fault. SpiderMonkey has recently been nearly completely rewritten and MonkeyZone was the test case. However, the API is still settling down a bit and I broke MonkeyZone yesterday with one of the changes and then didn't fix MonkeyZone.

I guess you never know who actually uses what until you break it and people complain. :) @normen has already just now checked in a MonkeyZone fix for that issue.
erlend_sh said:
There's an "Edit" button you know.


I know I know ...steups

didn’t want start a new thread for this but I have been trying to figure out this error with monkeyzone I assume itcompiles correctly for most since I saw no other posts about it, but this errors still persists

[java]Description Resource Path Location Type

Incompatible operand types int and Object AttackCommand.java /monkeyzone/src/com/jme3/monkeyzone/ai/commands line 59 Java Problem

[/java]

at

[java]if (groupId != -1 && groupId != entity.getUserData(“group_id”)) {

return super.setTargetEntity(spatial);

}[/java]

can someone maybe tell me why to compiler might be taking issue with that, if the problem is on my end, I have had weird java compatibility issues see above recently that magically no longer exists with jme3 as of yesterday

my java version jdk1.6.0_24 from oricle and I use eclipse for coding…could this be one of those netbeans works but eclipse doesn’t weirdness like what started happening last year

ok casting error, fixed, it was right in front of me…um but…it been like that for so long :? anyways fixed NM