Code Monkey home page Code Monkey logo

cerebro-layout's People

Contributors

vijaykrishna avatar jycamus90 avatar

Stargazers

Brian Chipman avatar

Watchers

 avatar James Cloos avatar  avatar Brandon Fergerson avatar coco avatar

Forkers

jycamus90

cerebro-layout's Issues

"color-nodes" or "show-edges" commands throwing NPE

Tried to use "color-nodes" or "show-edges" commands to see edges and colors of the nodes, but get "Null pointer exception".

Edit:

Terminal output showing the null pointer exception -

Available Commands:
 snap image_name 
 hide-edges 
 show-edges 
 decolor-nodes 
 color-nodes 
 done
>> show-edges
Exception in thread "main" java.lang.NullPointerException
    at org.spideruci.cerebro.layout.Main.mainmenu(Main.java:169)
    at org.spideruci.cerebro.layout.Main.main(Main.java:146)

ButtonPushed error

When I click a node, I keep getting a message 'Selection begins at ......'. If I keep clicking nodes, I get the error message that I copied below. I will look into it but I wanted to create a report.

>> Selection begins at 70.000000 429.000000
Selection begins at 329.000000 392.000000
Selection begins at 429.000000 298.000000
Selection begins at 429.000000 298.000000
Selection begins at 429.000000 298.000000
Selection begins at 429.000000 298.000000
59:event/CircularShifter:update(Ljava/util/Observable;Ljava/lang/Object;)V:104
java.lang.Exception
OKAY! Something went wrong.
Feel free to report this exception.
Continue using the command menu... 
    at org.spideruci.cerebro.layout.ViewerEventListener.buttonPushed(ViewerEventListener.java:215)
    at org.graphstream.ui.swingViewer.ViewerPipe.nodeAttributeAdded(ViewerPipe.java:157)
    at org.graphstream.stream.SourceBase.sendAttributeChangedEvent(SourceBase.java:815)
    at org.graphstream.stream.SourceBase.sendNodeAttributeAdded(SourceBase.java:699)
    at org.graphstream.stream.thread.ThreadProxyPipe.processMessage(ThreadProxyPipe.java:577)
    at org.graphstream.stream.thread.ThreadProxyPipe.pump(ThreadProxyPipe.java:264)
    at org.graphstream.ui.swingViewer.ViewerPipe.pump(ViewerPipe.java:94)
    at org.spideruci.cerebro.layout.ViewerEventListener.mouseClicked(ViewerEventListener.java:57)
    at java.awt.Component.processMouseEvent(Component.java:6538)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6300)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4891)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4713)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2750)
    at java.awt.Component.dispatchEvent(Component.java:4713)
    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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.