Skip to content

Loading…

asm45 decoder crash #114

Closed
steaky opened this Issue · 4 comments

2 participants

@steaky

I tried using the asm45 decoder but it just crashes on me without loading up. All the other analyser tools load up fine

[18/08/12 08:56:33 - INFO - ols.client.ClientController]: Running tool: "Asm
45 bus analyser ..." ...
java.lang.IllegalArgumentException: setSelectedIndex: 22 out of bounds
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at nl.lxtreme.ols.tool.asm45.Asm45ProtocolAnalysisDialog.createSettingsP
ane(Asm45ProtocolAnalysisDialog.java:398)
at nl.lxtreme.ols.tool.asm45.Asm45ProtocolAnalysisDialog.initDialog(Asm4
5ProtocolAnalysisDialog.java:514)
at nl.lxtreme.ols.tool.asm45.Asm45ProtocolAnalysisDialog.(Asm45Pro
tocolAnalysisDialog.java:111)
at nl.lxtreme.ols.tool.asm45.Asm45Analyser.invoke(Asm45Analyser.java:78)

    at nl.lxtreme.ols.client.ClientController.runTool(ClientController.java:

1233)
at nl.lxtreme.ols.client.action.RunToolAction.actionPerformed(RunToolAct
ion.java:105)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
[18/08/12 08:56:34 - DEBUG - rSessionManager$WindowStateListener]: Reading windo
w-properties for nl.lxtreme.ols.util.swing.component.JErrorDialog ...
[18/08/12 08:56:49 - DEBUG - rSessionManager$WindowStateListener]: Reading windo
w-properties for javax.swing.JDialog ...
[18/08/12 08:57:08 - DEBUG - rSessionManager$WindowStateListener]: Writing windo
w-properties for javax.swing.JDialog ...

@jawi
Owner

I believe that this is already fixed in the latest beta of 0.9.6. Could you try this out?
You can find it here: http://ols.lxtreme.nl/ols-0.9.6-b3-full.zip.

@steaky

jawi, sorry but I'm still getting the same error with 0.9.6 b3...

Aug 18, 2012 3:14:30 PM nl.lxtreme.ols.util.internal.Activator logEnvironment
INFO: LogicSniffer running on windows7, 6.1 (x86-64); Oracle Corporation, v1.7.0
_06.
Aug 18, 2012 3:14:30 PM org.sump.device.logicsniffer.profile.DeviceProfile setPr
operties
INFO: New device profile settings applied for Original SUMP device (SUMP) ...
Aug 18, 2012 3:14:30 PM org.sump.device.logicsniffer.profile.DeviceProfile setPr
operties
INFO: New device profile settings applied for USB Infrared Toy OLS mode (IRtoy)
...
Aug 18, 2012 3:14:30 PM org.sump.device.logicsniffer.profile.DeviceProfile setPr
operties
INFO: New device profile settings applied for Bus Pirate OLS mode (BP) ...
Aug 18, 2012 3:14:30 PM org.sump.device.logicsniffer.profile.DeviceProfile setPr
operties
INFO: New device profile settings applied for Open Bench Logic Sniffer (OLS) ...

Aug 18, 2012 3:14:30 PM org.sump.device.logicsniffer.profile.DeviceProfile setPr
operties
INFO: New device profile settings applied for Logic Shrimp (SHRIMP) ...
WARNING: Invocation of 'init' failed. (java.lang.StackOverflowError)
JGoodies Looks: I have successfully installed the 'Sky Bluer' theme.
Aug 18, 2012 3:14:32 PM nl.lxtreme.ols.client.ClientController$3 run
INFO: Client started ...
Rendering time = 66.07?s
Rendering time = 26.81?s
Rendering time = 26.05?s
Rendering time = 97.79?s
Rendering time = 25.67?s
Rendering time = 32.47?s
Rendering time = 53.61?s
Rendering time = 1.68ms
Rendering time = 542.16?s
Rendering time = 994.85?s
Rendering time = 1.68ms
java.lang.IllegalArgumentException: setSelectedIndex: 22 out of bounds
at javax.swing.JComboBox.setSelectedIndex(Unknown Source)
at nl.lxtreme.ols.tool.asm45.Asm45ProtocolAnalysisDialog.createSettingsP
ane(Asm45ProtocolAnalysisDialog.java:398)
at nl.lxtreme.ols.tool.asm45.Asm45ProtocolAnalysisDialog.initDialog(Asm4
5ProtocolAnalysisDialog.java:514)
at nl.lxtreme.ols.tool.asm45.Asm45ProtocolAnalysisDialog.(Asm45Pro
tocolAnalysisDialog.java:111)
at nl.lxtreme.ols.tool.asm45.Asm45Analyser.invoke(Asm45Analyser.java:79)

    at nl.lxtreme.ols.client.ClientController.invokeTool(ClientController.ja

va:987)
at nl.lxtreme.ols.client.action.RunToolAction.actionPerformed(RunToolAct
ion.java:105)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Rendering time = 456.84?s
Rendering time = 698.85?s
Rendering time = 2.04ms
Rendering time = 1.04ms

@jawi jawi added a commit that referenced this issue
@jawi Fixed issue #114: when the user settings contain incorrect indexes fo…
…r comboboxes a crash occurs.
6951af6
@jawi
Owner

Ah, I've overlooked the reading of preferences! I've committed a fix for this, consider this fixed for the upcoming 0.9.6 release.

@steaky

I've compiled 0.9.7-b1 from source and the asm45 decoder doesnt crash

@jawi jawi closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.