RConsole errors

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

RConsole errors

Postby matejdro » Thu Jun 14, 2012 7:02 am

I'm occasionally getting these errors when using RConsole over bluetooth:

Code: Select all
The class number 14 refers to:
  java.lang.NoSuchMethodError (NoSuchMethodError.java)

The method number 708 refers to:
  lejos.nxt.comm.NXTOutputStream.flush()V (NXTOutputStream.java)

PC 19 refers to:
  line 35 in NXTOutputStream.java


Code: Select all
The class number 27 refers to:
  java.lang.ArithmeticException (ArithmeticException.java)

The method number 349 refers to:
  java.lang.StringUtils.getIntChars([CIII)I (StringUtils.java)

PC 20 refers to:
  line 71 in StringUtils.java


What could be wrong?
matejdro
Novice
 
Posts: 54
Joined: Wed Mar 14, 2012 9:10 am

Re: RConsole errors

Postby gloomyandy » Thu Jun 14, 2012 11:50 am

Where is that output from? It looks like the output from NXJDegugTool. I think you need to provide more information as to exactly what it is you are doing and what is happening.

Andy
User avatar
gloomyandy
leJOS Team Member
 
Posts: 3964
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Re: RConsole errors

Postby skoehler » Thu Jun 14, 2012 12:30 pm

I believe, these are exception that happen on the NXT when using RConsole. But I'm not sure.
Also, the usual for reporting a problem a apply:
  • Which version of leJOS are you using? Have you tried upgrading to latest leJOS (0.9.1-3)
  • Describe how to reproduce the issue! If possible, post some code that reproduces the issue.
skoehler
leJOS Team Member
 
Posts: 1405
Joined: Thu Oct 30, 2008 4:54 pm

Re: RConsole errors

Postby matejdro » Thu Jun 14, 2012 12:37 pm

I'm using latest version (0.9.1-3).

It can happen randomly with any RConsole.writeln("something"). There is no much code to add.
matejdro
Novice
 
Posts: 54
Joined: Wed Mar 14, 2012 9:10 am

Re: RConsole errors

Postby skoehler » Thu Jun 14, 2012 12:44 pm

matejdro wrote:I'm using latest version (0.9.1-3).
It can happen randomly with any RConsole.writeln("something"). There is no much code to add.

So you have actually tried a program with void main(String[] args) { while(true) {RConsole.writeln("something");}} and it reproduces the issue?
On the PC-side I have to run nxjconsole, I guess?
And with this configuration, the issue happens randomly?
skoehler
leJOS Team Member
 
Posts: 1405
Joined: Thu Oct 30, 2008 4:54 pm


Return to NXJ Software

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests

more stuff