Hi Paul, I don't use Tinyviz. Here's a bet anyways:
The number is too large for an int. This would then be a bug and you'de probably have to fix it yourself. Rewrite the code to use long instead. "current_time" is a class variable, so multiple changes might be necessary (last_time, duration, etc.). If you're at it, I would suggest that you also use a line like "current_time = Long.parseLong(strParsed[2]);" rather than the ugly statement currently in Line 309. Hope this helps, Urs Paul schrieb: > Hi all > > I encountered this Java exception when running Tinyviz with Power Profile > plugin. The system throws this exception after running for 400+ simulation > seconds. > > Please help. _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
