Page 1 of 1

Let's find bugs in Dev Console?

Posted: Sat Feb 22, 2014 4:33 am
by AndreyB
Starting engines is cool, but it all begins with working tools. Java dev console is our foundational tool and I need help with testing it.

Guys, please launch dev console, connect it to rusEfi and try to break it. Type weird stuff, click weird buttons, drag&drop... Please abuse the console and see what would go wrong. You would need SourceForge account to report bugs right into the tracker but you can simply report them here.

For now, let's begin with bugs and major usability issues - not new feature requests.

Open issue:
https://sourceforge.net/p/rusefi/tickets/46/

Fixed:
https://sourceforge.net/p/rusefi/tickets/19/
https://sourceforge.net/p/rusefi/tickets/47/

Re: Let's find bugs in Dev Console?

Posted: Sat Feb 22, 2014 9:53 am
by hasse.69
Ha ha ha .
You asked for it....
I will do my best.
Best regards , Hasse.

Re: Let's find bugs in Dev Console?

Posted: Sun Mar 02, 2014 9:05 pm
by AndreyB
Either I have wrote a perfect java dev console without one single issue...

Re: Let's find bugs in Dev Console?

Posted: Fri Sep 12, 2014 3:07 pm
by puff
from v 3916 (july, 7) to 4662
got these errors in dev console after just clicking on 'main' tab:
exception occurred
Java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:340)
at sun.java2d.pipe.DrawImage.renderImageXform(DrawImage.java:487)
at sun.java2d.opengl.OGLDrawImage.renderImageXform(OGLDrawImage.java:89)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:264)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:76)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1010)
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3169)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3147)
at eu.hansolo.steelseries.gauges.Radial.paintComponent(Radial.java:484)
at javax.swing.JComponent.paint(JComponent.java:1054)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintChildren(JComponent.java:887)
at javax.swing.JComponent.paint(JComponent.java:1063)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219)
at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1529)
at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1452)
at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
at javax.swing.JComponent._paintImmediately(JComponent.java:5167)
at javax.swing.JComponent.paintImmediately(JComponent.java:4978)
at javax.swing.RepaintManager$3.run(RepaintManager.java:808)
at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Re: Let's find bugs in Dev Console?

Posted: Fri Sep 12, 2014 3:09 pm
by puff
which engine type is rover? i entered set_engine_type 12 and got some nasty error: firmware error: findTriggerZeroEventIndex() failed

Re: Let's find bugs in Dev Console?

Posted: Fri Sep 12, 2014 3:22 pm
by AndreyB
puff wrote:which engine type is rover? i entered set_engine_type 12 and got some nasty error: firmware error: findTriggerZeroEventIndex() failed
rusefi_enums.h tells us that rover is 10

Try grounding PD6 for full reset - see http://rusefi.com/wiki/index.php?title=Manual:Software:User/en#Configuration_reset

Re: Let's find bugs in Dev Console?

Posted: Fri Sep 12, 2014 3:45 pm
by AndreyB
puff wrote:from v 3916 (july, 7) to 4662
got these errors in dev console after just clicking on 'main' tab:
exception occurred
Java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:340)
at sun.java2d.pipe.DrawImage.renderImageXform(DrawImage.java:487)
at sun.java2d.opengl.OGLDrawImage.renderImageXform(OGLDrawImage.java:89)
at sun.java2d.pipe.DrawImage.transformImage(DrawImage.java:264)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:76)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1010)
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:186)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3169)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3147)
at eu.hansolo.steelseries.gauges.Radial.paintComponent(Radial.java:484)
I've created https://github.com/HanSolo/SteelSeries-Swing/issues/11