Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrectly load BIF as a SIF: Stack traces #32

Open
wjrl opened this issue Feb 23, 2017 · 0 comments
Open

Incorrectly load BIF as a SIF: Stack traces #32

wjrl opened this issue Feb 23, 2017 · 0 comments
Assignees
Labels

Comments

@wjrl
Copy link
Owner

wjrl commented Feb 23, 2017

Java version = 1.8.0_92 vendor = Oracle Corporation operating system = Mac OS X
java.lang.NullPointerException
at java.util.TreeMap.compare(TreeMap.java:1294)
at java.util.TreeMap.put(TreeMap.java:538)
at java.util.TreeSet.add(TreeSet.java:255)
at java.util.AbstractCollection.addAll(AbstractCollection.java:344)
at java.util.TreeSet.addAll(TreeSet.java:312)
at java.util.TreeSet.(TreeSet.java:160)
at org.systemsbiology.biofabric.layouts.DefaultLayout.defaultNodeOrder(DefaultLayout.java:226)
at org.systemsbiology.biofabric.layouts.DefaultLayout.doNodeLayout(DefaultLayout.java:90)
at org.systemsbiology.biofabric.model.BioFabricNetwork.processLinks(BioFabricNetwork.java:507)
at org.systemsbiology.biofabric.model.BioFabricNetwork.(BioFabricNetwork.java:240)
at org.systemsbiology.biofabric.cmd.CommandSet.expensiveModelOperations(CommandSet.java:988)
at org.systemsbiology.biofabric.cmd.CommandSet$NewNetworkRunner.runCore(CommandSet.java:4130)
at org.systemsbiology.biofabric.util.BackgroundWorker.runBackground(BackgroundWorker.java:85)
at org.systemsbiology.biofabric.util.BackgroundWorker.run(BackgroundWorker.java:70)
at java.lang.Thread.run(Thread.java:745)
FIXME: NO! If IO ERROR, DO NOT CLOSE, RIGHT??
FIXME: NO! If IO ERROR, Early result (String) different from late result (Buffered image)
Java version = 1.8.0_92 vendor = Oracle Corporation operating system = Mac OS X
java.lang.ClassCastException: java.lang.String cannot be cast to java.awt.image.BufferedImage
at org.systemsbiology.biofabric.cmd.CommandSet$NetworkBuilder.finishedImport(CommandSet.java:3827)
at org.systemsbiology.biofabric.cmd.CommandSet$NetworkBuilder.cleanUpPostRepaint(CommandSet.java:3813)
at org.systemsbiology.biofabric.util.BackgroundWorkerClient.finishedWork(BackgroundWorkerClient.java:275)
at org.systemsbiology.biofabric.util.BackgroundWorker$3.run(BackgroundWorker.java:113)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at java.awt.Component.show(Component.java:1671)
at java.awt.Component.setVisible(Component.java:1623)
at java.awt.Window.setVisible(Window.java:1014)
at java.awt.Dialog.setVisible(Dialog.java:1005)
at org.systemsbiology.biofabric.util.BackgroundWorkerClient.launchWorker(BackgroundWorkerClient.java:121)
at org.systemsbiology.biofabric.util.BackgroundWorkerClient.launchWorker(BackgroundWorkerClient.java:132)
at org.systemsbiology.biofabric.cmd.CommandSet$NetworkBuilder.doNetworkBuild(CommandSet.java:3775)
at org.systemsbiology.biofabric.cmd.CommandSet.finishLoadFromSIFSource(CommandSet.java:697)
at org.systemsbiology.biofabric.cmd.CommandSet.loadFromSifSource(CommandSet.java:569)
at org.systemsbiology.biofabric.cmd.CommandSet.access$5(CommandSet.java:548)
at org.systemsbiology.biofabric.cmd.CommandSet$ImportSIFAction.performOperation(CommandSet.java:2798)
at org.systemsbiology.biofabric.cmd.CommandSet$ImportSIFAction.actionPerformed(CommandSet.java:2757)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

@wjrl wjrl self-assigned this Feb 23, 2017
@wjrl wjrl added the bug label Feb 23, 2017
wjrl pushed a commit that referenced this issue Jul 30, 2018
Perfect label now grayed out when not selected issue #34; also fixed
orphan bug issue #32; discovered new bug with dialog issue #35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant