Lambdas and 1.9.2.5

From RoboWiki
Jump to: navigation, search

1.9.2.5 has a known bug with lambdas which has already been fixed in 1.9.2.6

currently 1.9.2.5 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 1.9.2.6+ is accepted.

Xor (talk)16: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)17:28, 14 September 2018

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

Xor (talk)17: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)05:38, 17 September 2018

Best I can tell is something happened during upload/download of this version. I've downgraded to 1.9.2.5 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)23:12, 17 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)00:26, 18 September 2018

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

Xor (talk)00:39, 18 September 2018
 
 
 

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

Xor (talk)05: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)14: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)14: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)15:03, 17 September 2018

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

Xor (talk)00:38, 18 September 2018
 
 
 
 
 
Personal tools