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

java.lang.ArithmeticException: / by zero at bluej.editor.moe.NaviView.adjustmentValueChanged(NaviView.java:236) #14

Closed
markiewb opened this issue Feb 11, 2015 · 1 comment
Labels
Milestone

Comments

@markiewb
Copy link
Collaborator

WARNING [org.openide.windows.WindowManager]: [Winsys] TopComponent org.netbeans.core.multiview.MultiViewCloneableTopComponent throws exception/error from its componentClosed() method.
Please repair it!
java.lang.ArithmeticException: / by zero
    at bluej.editor.moe.NaviView.adjustmentValueChanged(NaviView.java:236)
    at javax.swing.JScrollBar.fireAdjustmentValueChanged(JScrollBar.java:705)
    at javax.swing.JScrollBar.access$100(JScrollBar.java:81)
    at javax.swing.JScrollBar$ModelListener.stateChanged(JScrollBar.java:727)
    at javax.swing.DefaultBoundedRangeModel.fireStateChanged(DefaultBoundedRangeModel.java:364)
    at javax.swing.DefaultBoundedRangeModel.setRangeProperties(DefaultBoundedRangeModel.java:302)
    at javax.swing.JScrollBar.setValues(JScrollBar.java:623)
    at javax.swing.plaf.basic.BasicScrollPaneUI.syncScrollPaneWithViewport(BasicScrollPaneUI.java:285)
    at javax.swing.plaf.basic.BasicScrollPaneUI$Handler.stateChanged(BasicScrollPaneUI.java:1033)
    at javax.swing.JViewport.fireStateChanged(JViewport.java:1369)
    at javax.swing.JViewport.setViewSize(JViewport.java:1021)
    at javax.swing.ViewportLayout.layoutContainer(ViewportLayout.java:201)
    at java.awt.Container.layout(Container.java:1508)
    at java.awt.Container.doLayout(Container.java:1497)
    at java.awt.Container.validateTree(Container.java:1693)
    at java.awt.Container.validateTree(Container.java:1702)
    at java.awt.Container.validateTree(Container.java:1702)
    at java.awt.Container.validateTree(Container.java:1702)
    at java.awt.Container.validateTree(Container.java:1702)
    at java.awt.Container.validate(Container.java:1628)
    at java.awt.CardLayout.showDefaultComponent(CardLayout.java:488)
    at java.awt.CardLayout.next(CardLayout.java:454)
    at java.awt.CardLayout.removeLayoutComponent(CardLayout.java:248)
    at java.awt.Container.removeAll(Container.java:1298)
    at org.netbeans.core.multiview.TabsComponent.peerComponentClosed(TabsComponent.java:527)
    at org.netbeans.core.multiview.MultiViewPeer.peerComponentClosed(MultiViewPeer.java:331)
    at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentClosed(MultiViewCloneableTopComponent.java:129)
[catch] at org.openide.windows.WindowManager.componentCloseNotify(WindowManager.java:322)
    at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentClosed(WindowManagerImpl.java:1156)
    at org.netbeans.core.windows.Central.removeModeTopComponent(Central.java:1025)
    at org.netbeans.core.windows.ModeImpl.removeTopComponent(ModeImpl.java:478)
    at org.netbeans.core.windows.ModeImpl.close(ModeImpl.java:286)
    at org.netbeans.core.windows.WindowManagerImpl.topComponentClose(WindowManagerImpl.java:1321)
    at org.openide.windows.TopComponent.close(TopComponent.java:561)
    at org.openide.windows.TopComponent.close(TopComponent.java:548)
    at org.netbeans.core.windows.actions.ActionUtils$1.run(ActionUtils.java:515)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744)
    at java.awt.EventQueue.access$400(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:697)
    at java.awt.EventQueue$3.run(EventQueue.java:691)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:714)
    at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
    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)

@markiewb markiewb added the bug label Feb 11, 2015
@markiewb markiewb modified the milestone: 1.2.0 May 1, 2015
markiewb added a commit that referenced this issue May 1, 2015
…View.adjustmentValueChanged(NaviView.java:236)
@markiewb
Copy link
Collaborator Author

markiewb commented May 1, 2015

I hope it is fixed in 1.2.0

@markiewb markiewb closed this as completed May 1, 2015
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