We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Strange serial bug
Page Index Toggle Pages: 1
Strange serial bug (Read 1976 times)
Strange serial bug
May 11th, 2006, 11:24pm
 
Iv been haveing problems getting the serial conection to work. Im running processing on a mac and i upgraded to 0111 and my serial connection stopped working so I re-downloaded 0110 and its working agian. Very very strange.

Just thought you should no about it.

This is the error its was throughing at me

java.lang.RuntimeException: Error inside Serial.<init>()
at processing.serial.Serial.errorMessage(Serial.java:575)
at processing.serial.Serial.<init>(Serial.java:148)
at processing.serial.Serial.<init>(Serial.java:102)
at Temporary_2036_9845.setup(Temporary_2036_9845.java:25)
at processing.core.PApplet.handleDisplay(PApplet.java:1263)
at processing.core.PGraphics.requestDisplay(PGraphics.java:538)
at processing.core.PApplet.run(PApplet.java:1146)
at java.lang.Thread.run(Thread.java:613)

Re: Strange serial bug
Reply #1 - May 12th, 2006, 5:59pm
 
please don't double post.
Re: Strange serial bug
Reply #2 - May 21st, 2006, 11:23pm
 
I got this error too and reverted to earlier version as well. I ran the macosx_setup.command thinking it would help but nada. I dug through the serial lib for a bit but that is still over my head.  Has anyone found a fix for this besides going to an earlier version?

error:
--------

java.lang.RuntimeException: Error inside Serial.<init>()

at processing.serial.Serial.errorMessage(Serial.java:575)

at processing.serial.Serial.<init>(Serial.java:148)

at processing.serial.Serial.<init>(Serial.java:102)

at Temporary_9268_1662.setup(Temporary_9268_1662.java:16)

at processing.core.PApplet.handleDisplay(PApplet.java:1269)

at processing.core.PGraphics.requestDisplay(PGraphics.java:535)

at processing.core.PApplet.run(PApplet.java:1152)

at java.lang.Thread.run(Thread.java:552)

----------

System:
Mac OS X - V 10.4.5
1.25 Ghz PowerPC G4


Re: Strange serial bug
Reply #3 - May 22nd, 2006, 7:59pm
 
How are you triggering this error?  Or, what are the other parts involved of this puzzle?  Are you running an Ardunio or Wiring board?

I ask because I'm on a mac, and I ran into some issues with serial, but it was because I was running the port monitor in arduino... I couldn't get processing to pick up the serial port because it was busy (obviously, when I thought about it).  The error you're getting doesn't look like that, but it might be easier to figure out if we can hear what else is going on with your setup.

Smiley
Page Index Toggle Pages: 1