[help needed] Let's find bugs in Dev Console?

It's all about the code!
Post Reply
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Let's find bugs in Dev Console?

Post 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/
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
hasse.69
donator
donator
Posts: 77
Joined: Wed Dec 04, 2013 3:34 pm
Location: Sweden Linkoping/Vadstena

Re: Let's find bugs in Dev Console?

Post by hasse.69 »

Ha ha ha .
You asked for it....
I will do my best.
Best regards , Hasse.
"Electronically challenged of the world, unite!"
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Let's find bugs in Dev Console?

Post by AndreyB »

Either I have wrote a perfect java dev console without one single issue...
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
puff
contributor
contributor
Posts: 2962
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Let's find bugs in Dev Console?

Post 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)
puff
contributor
contributor
Posts: 2962
Joined: Mon Nov 11, 2013 11:28 am
Location: Moskau

Re: Let's find bugs in Dev Console?

Post by puff »

which engine type is rover? i entered set_engine_type 12 and got some nasty error: firmware error: findTriggerZeroEventIndex() failed
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Let's find bugs in Dev Console?

Post 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
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14381
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Let's find bugs in Dev Console?

Post 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
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Post Reply