Difference between revisions of "Talk:Robocode/Graphical Debugging"

From Robowiki
Jump to navigation Jump to search
(response)
(reply)
Line 35: Line 35:
  
 
: Actually I just like to use a lot of swear words in my development version class names. =) Just kidding. --[[User:Voidious|Voidious]] 14:22, 13 May 2009 (UTC)
 
: Actually I just like to use a lot of swear words in my development version class names. =) Just kidding. --[[User:Voidious|Voidious]] 14:22, 13 May 2009 (UTC)
 +
 +
:: Then you will need to either use java obfuscater or rename them, along with its reference, to hide the swear words =D Come on, why it is so secret? &raquo; <span style="font-size:0.9em;color:darkgreen;">[[User:Nat|Nat]] | [[User_talk:Nat|Talk]]</span> &raquo; 14:32, 13 May 2009 (UTC)

Revision as of 15:32, 13 May 2009

Anybody else running into these two issues?

RobertWalker 04:01, 13 May 2009 (UTC)

No, but I'm running into a different one. I just haven't taken the time to troubleshoot it and file a report yet.

java.nio.BufferOverflowException
	at java.nio.Buffer.nextPutIndex(Buffer.java:501)
	at java.nio.HeapByteBuffer.putInt(HeapByteBuffer.java:347)
	at net.sf.robocode.robotpaint.Graphics2DSerialized.put(Graphics2DSerialized.java:1760)
	at net.sf.robocode.robotpaint.Graphics2DSerialized.setColor(Graphics2DSerialized.java:204)
	at voidious.utils.RoboGraphic$Dot.render(RoboGraphic.java:45)
	at voidious.move.<CENSORED>.onPaint(<CENSORED>.java:390)
	at voidious.<CENSORED>.onPaint(<CENSORED>.java:103)
	at robocode.PaintEvent.dispatch(PaintEvent.java:61)
	at robocode.Event$HiddenEventHelper.dispatch(Event.java:249)
	at net.sf.robocode.security.HiddenAccess.dispatch(HiddenAccess.java:195)
	at net.sf.robocode.host.events.EventManager.dispatch(EventManager.java:486)
	at net.sf.robocode.host.events.EventManager.processEvents(EventManager.java:459)
	at net.sf.robocode.host.proxies.BasicRobotProxy.executeImpl(BasicRobotProxy.java:403)
	at net.sf.robocode.host.proxies.BasicRobotProxy.execute(BasicRobotProxy.java:119)
	at robocode.AdvancedRobot.execute(AdvancedRobot.java:565)
	at voidious.<CENSORED>.run(<CENSORED>.java:48)
	at net.sf.robocode.host.proxies.HostingRobotProxy.run(HostingRobotProxy.java:250)
	at java.lang.Thread.run(Thread.java:619)
SYSTEM: Exception occurred on robocode.PaintEvent

I get this when I enable paint, but then if I restart the match, everything works and paints fine. --Voidious 05:17, 13 May 2009 (UTC)

I bet this is your new robot, isn't it? Or you need not to <CENSORED> =D I myself sometimes get BufferOverflowException, but I got it when DrawingBot overflow its renderables ArrayList. » Nat | Talk » 05:41, 13 May 2009 (UTC)

Actually I just like to use a lot of swear words in my development version class names. =) Just kidding. --Voidious 14:22, 13 May 2009 (UTC)
Then you will need to either use java obfuscater or rename them, along with its reference, to hide the swear words =D Come on, why it is so secret? » Nat | Talk » 14:32, 13 May 2009 (UTC)