Lambdas and

Jump to navigation Jump to search

Lambdas and has a known bug with lambdas which has already been fixed in

currently is the only accepted roborumble and it gets

   Got an error with e32.Omni: java.lang.ClassNotFoundException

You could use retrolambda to transpile lambdas as I do, or just avoid using lambdas until is accepted.

Xor (talk)18:51, 14 September 2018

Ah, thanks for the heads up. I haven't explicitly used lambdas to my knowledge (though I'll check this weekend), but method references instead. I'm guessing those also cause this behavior.

Enamel 32 (talk)19:28, 14 September 2018

Yes, method references and lambdas are the same thing in JVM

Xor (talk)19:49, 14 September 2018

Oops, it seems that roborumble client cannot download your bot, from all over the world. Maybe dropbox set the restriction, or there may be some bug in any of the ends.

And after downloading your bot manually, roborumble client throws exception and exits completely.

Screen Shot 2018-09-17 at 1.12.35 PM.png

Xor (talk)07:38, 17 September 2018

Best I can tell is something happened during upload/download of this version. I've downgraded to and 0.02 works just fine locally. I'll do some more testing and then maybe a version bump before I try again.

Enamel 32 (talk)01:12, 18 September 2018

Maybe my manually curled version is just an empty file, since without -L it wouldn’t follow redirect and leave blank. If that’s the case, I would put 0.02 back since it’s totally fine.

Xor (talk)02:26, 18 September 2018

And if an emety file breaks roborumble/robocode engine completely , another bug fix is waiting...

Xor (talk)02:39, 18 September 2018

Btw, can you try running your bot with robocode And can you try running roborumble to see whether it can download your bot automatically or not?

Xor (talk)07:39, 17 September 2018

Did you share the bot before releasing it? You can't download something from a dropbox link unless it is shared. I generally share it with myself and I haven't had any problems with Dropbox yet.

Dsekercioglu (talk)16:04, 17 September 2018

rumble client on all my machines from all over the world cannot download your bot as well, but manually run curl on the same machine is ok. I guess that’s dropbox restriction or some bug of rumble client.

Xor (talk)16:21, 17 September 2018

If it's as simple as user vs. code, it may be that I made the link http rather than https in an attempt to mimic similar entries. Thanks for taking a look, but I'll re-submit after I've done ALL the homework next time. I'm still learning the build/deployment side of Java.

Enamel 32 (talk)17:03, 17 September 2018

Then it should be roborumble bug. I will submit a pr later

Xor (talk)02:38, 18 September 2018