From: Ted F. <fi...@ma...> - 2010-01-23 13:29:21
|
Hi, Thank you. Its nice to know I'm not just doing something wrong! For both OS X and RHEL, Link Sliding does not work when running zgrviewer as an application. After selecting the 'link sliding' icon, then clicking on or near a link I get a java exception on the console window (see below for full text). On OS X I am using java 1.5.0_22 on OS X 10.5.8 and Graphviz 2.26.2 (20100122.0421). On RHEL I am using java 1.6.0_18 and Graphviz 2.26.0 (20091210.2329). For both I am using build 2790 of ZGRViewer 0.9.0. -------------Begin output of java exception text from console -------------- Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at net.claribole.zgrviewer.GraphicsManager.attemptLinkSliding(GraphicsManager.java:1397) at net.claribole.zgrviewer.ZgrvEvtHdlr.press1(ZgrvEvtHdlr.java:76) at fr.inria.zvtm.engine.ViewPanel.mousePressed(ViewPanel.java:315) at java.awt.Component.processMouseEvent(Component.java:6260) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4235) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -------------End output of java exception text from console -------------- On Sat, Jan 23, 2010 at 1:17 AM, Emmanuel Pietriga < emm...@in...> wrote: > Hi all, > > Bring and Go and Link Sliding are not yet implemented in the Applet > version. The icons are there, but that's it. I'll try to make it work ASAP. > > Regarding the issue with Linux RHEL + standalone app, that requires further > investigation. Can you give me the exact JVM+GraphViz config you are using? > > Thanks, > Emmanuel > -- > Emmanuel Pietriga > INRIA Saclay - Projet In Situ > http://www.lri.fr/~pietriga <http://www.lri.fr/%7Epietriga> > > > > > On 22 janv. 2010, at 22:01, Jerry Pendergraft wrote: > > > Perhaps I got the scenarios a bit mixed, my experience was as an > application! > > > > The painful delay I saw was running on Linux (RHEL4.3 and RHEL5) but it > worked fine on OS-X (Leopard). > > From your description it seems it works ok as an application on all > platforms? > > > > On 22 Jan, 2010, at 14:56 , Ted Fines wrote: > > > >> Hi, > >> > >> I hadn't tried holding the button for a minute, fair enough! > >> > >> I did now, and still don't get any bring and go action. I held the > button down for over a minute on Firefox/Safari on OS X and IE/Firefox on > Windows. > >> > >> By "noticed similar behavior on linux" do you mean when Linux is the > server? As in, if I setup ZGRViewer and a web server on Windows would I see > this problem go away? > >> > >> Thanks, > >> Ted > >> > >> On Fri, Jan 22, 2010 at 1:59 PM, Jerry Pendergraft < > jpe...@sj...> wrote: > >> I have noticed similar behavior on linux, however it is not true that > >> "nothing" happens. > >> Rather more like "nothing" happens within normal patience limits ;^) > >> Would you try and see what happens if you hold the click for a long > >> time - and I mean long like upwards of a full minute! > >> > >> On 22 Jan, 2010, at 12:08 , Ted Fines wrote: > >> > >> > Hi, > >> > > >> > I saw an earlier thread about this issue and would like to report I > >> > am seeing the same behavior. When I run ZGRViewer as an applet, > >> > Bring and Go does not work, while when I run it as an application it > >> > does work. I saw the previous poster did not post sample .dot, .svg > >> > or .html files where this happens. I have included some samples in > >> > this message. > >> > > >> > I am using ZGRViewer 0.9.0-snapshot, build 2790 (the "pom.xml" file > >> > has "$Id: pom.xml 2790 2010-01-18 16:37:13Z epietrig" at the top). > >> > Graphviz is version 2.26.0. > >> > > >> > I am using java version 1.6.0.18 on Linux (Centos 5.4) to test > >> > running it as an application. I have used the same Linux system to > >> > test the applet. I also tried testing the applet from OS X and > >> > Windows. On all systems the "Bring and Go" does not work. Just > >> > nothing happens when I click and hold on a node, like the event is > >> > ignored. > >> > > >> > Here is the entire html file I am using to run the applet: > >> > ----------------- > >> > <html> > >> > <head> > >> > <meta name="robots" content="noindex,nofollow"> > >> > <title>ZGRViewer v0.9.0-SNAPSHOT</title> > >> > <link rel="shortcut icon" href="/webdot/icon.png"> > >> > </head> > >> > <body bgcolor="white"> > >> > <h1>ZGRViewer Applet Test</h1> > >> > <Applet code="net.claribole.zgrviewer.ZGRApplet.class" > >> > archive="zvtm-0.10.1-SNAPSHOT.jar,zgrviewer-0.9.0- > >> > SNAPSHOT.jar,timingframework-1.0.jar" width="720" height="480"> > >> > <param name="type" value="application/x-java-Applet;version=1.5" /> > >> > <param name="scriptable" value="false" /> > >> > <param name="width" value="720" /> > >> > <param name="height" value="480" /> > >> > <param name="svgURL" value="/images/sd-twopi-small.svg" /> > >> > <param name="title" value="zgrviewer - Applet" /> > >> > <param name="appletBackgroundColor" value="#DDD" /> > >> > <param name="graphBackgroundColor" value="#DDD" /> > >> > <param name="highlightColor" value="red" /> > >> > <param name="displayOverview" value="true" /> > >> > <param name="focusNodeMagFactor" value="2.0" /> > >> > </Applet> > >> > > >> > </body> > >> > </html> > >> > ------------------------ > >> > > >> > Here is the sd.dot file used to generate the .svg file: > >> > ------------------------ > >> > digraph Dependencies { > >> > size="24,24"; ratio = fill; > >> > # ratio = "auto"; > >> > # repulsiveforce = 2; > >> > model="circuit"; > >> > # model="subset"; > >> > label = "System Dependencies"; > >> > "Wired Network" -> Internet > >> > "Wired Network" -> SAN > >> > "Wired Network" -> "Wireless Network" > >> > SAN -> "Netware Servers" > >> > SAN -> "VMWare Infrastructure" > >> > "Netware Servers" -> "Printing" > >> > "Netware Servers" -> LDAP > >> > "VMWare Infrastructure" -> DNS > >> > "VMWare Infrastructure" -> DHCP > >> > "VMWare Infrastructure" -> WWW > >> > "VMWare Infrastructure" -> "Active Directory" > >> > "Active Directory" -> Citrix > >> > LDAP -> FreeRadius > >> > } > >> > ---------- > >> > > >> > The command used to generate the file: > >> > twopi -Tsvg ../webdot/sd.dot > sd-twopi-small.svg > >> > > >> > Thanks, > >> > Ted > >> > > >> > > ------------------------------------------------------------------------------ > >> > Throughout its 18-year history, RSA Conference consistently attracts > >> > the > >> > world's best and brightest in the field, creating opportunities for > >> > Conference > >> > attendees to learn about information security's most important > >> > issues through > >> > interactions with peers, luminaries and emerging and established > >> > companies. > >> > > http://p.sf.net/sfu/rsaconf-dev2dev_______________________________________________ > >> > zvtm-devel mailing list > >> > zvt...@li... > >> > https://lists.sourceforge.net/lists/listinfo/zvtm-devel > >> > >> Jerry Pendergraft > >> jpe...@sj... > >> > >> > >> > >> This communication, including any attachments, may contain information > that is proprietary, privileged, confidential or legally exempt from > disclosure. If you are not a named addressee, you are hereby notified that > you are not authorized to read, print, retain a copy of or disseminate any > portion of this communication without the consent of the sender and that > doing so may be unlawful. If you have received this communication in error, > please immediately notify the sender via return e-mail and delete it from > your system. > >> > >> > ------------------------------------------------------------------------------ > >> Throughout its 18-year history, RSA Conference consistently attracts the > >> world's best and brightest in the field, creating opportunities for > Conference > >> attendees to learn about information security's most important issues > through > >> interactions with peers, luminaries and emerging and established > companies. > >> http://p.sf.net/sfu/rsaconf-dev2dev > >> _______________________________________________ > >> zvtm-devel mailing list > >> zvt...@li... > >> https://lists.sourceforge.net/lists/listinfo/zvtm-devel > >> > >> > ------------------------------------------------------------------------------ > >> Throughout its 18-year history, RSA Conference consistently attracts the > >> world's best and brightest in the field, creating opportunities for > Conference > >> attendees to learn about information security's most important issues > through > >> interactions with peers, luminaries and emerging and established > companies. > >> > http://p.sf.net/sfu/rsaconf-dev2dev_______________________________________________ > >> zvtm-devel mailing list > >> zvt...@li... > >> https://lists.sourceforge.net/lists/listinfo/zvtm-devel > > > > Jerry Pendergraft > > jpe...@sj... > > > > > > > > > > This communication, including any attachments, may contain information > that is proprietary, privileged, confidential or legally exempt from > disclosure. If you are not a named addressee, you are hereby notified that > you are not authorized to read, print, retain a copy of or disseminate any > portion of this communication without the consent of the sender and that > doing so may be unlawful. If you have received this communication in error, > please immediately notify the sender via return e-mail and delete it from > your system. > > > ------------------------------------------------------------------------------ > > Throughout its 18-year history, RSA Conference consistently attracts the > > world's best and brightest in the field, creating opportunities for > Conference > > attendees to learn about information security's most important issues > through > > interactions with peers, luminaries and emerging and established > companies. > > > http://p.sf.net/sfu/rsaconf-dev2dev_______________________________________________ > > zvtm-devel mailing list > > zvt...@li... > > https://lists.sourceforge.net/lists/listinfo/zvtm-devel > > > > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > zvtm-devel mailing list > zvt...@li... > https://lists.sourceforge.net/lists/listinfo/zvtm-devel > |