Go Down

Topic: Need help getting rid of code errors (Read 809 times) previous topic - next topic

Tonyodonnell01

Here is the last part.

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 49
   at processing.app.tools.DiscourseFormat.appendFormattedLine(DiscourseFormat.java:192)
   at processing.app.tools.DiscourseFormat.show(DiscourseFormat.java:99)
   at processing.app.Editor$36.actionPerformed(Editor.java:1171)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
   at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
   at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
   at java.awt.MenuItem.processEvent(MenuItem.java:586)
   at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:337)
   at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:325)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:687)
   at java.awt.EventQueue.access$000(EventQueue.java:85)
   at java.awt.EventQueue$1.run(EventQueue.java:643)
   at java.awt.EventQueue$1.run(EventQueue.java:641)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
   at java.awt.EventQueue$2.run(EventQueue.java:657)
   at java.awt.EventQueue$2.run(EventQueue.java:655)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

spycatcher2k

Have you tested the modified sketch?
Drew.
http://www.uk-pcb.co.uk - My UK Based PCB Fab & Assembly Company
Design work undertaken
SMD & Thru-Hole assembly

Tonyodonnell01

Yes I did and I found some typing errors that I did. Thank you for your help and time.

Tonyodonnell01

One more thing. Do you happen to know how to add Ping))) sensor and code into the code I have already?

Go Up