[kepler-dev] [Bug 5508] Link to "Additional background information on Ptolemy" brings up empty page

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Nov 15 10:18:43 PST 2011


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5508

--- Comment #7 from Christopher Brooks <cxh at eecs.berkeley.edu> 2011-11-15 10:18:43 PST ---
Ok, I created a branch with:
svn copy -r 61797 svn+ssh://source.eecs.berkeley.edu/chess/ptII/trunk
svn+ssh://source.eecs.berkeley.edu/chess/ptII/branches/kepler-2-3 -m "Creating
Kepler-2.3 branch"

Is r61797 the right revision?

To check it out, use
svn co svn+ssh://source.eecs.berkeley.edu/chess/ptII/branches/kepler-2-3
ptII-kepler2.3

or

svn co https://source.eecs.berkeley.edu/svn/chess/ptII/branches/kepler-2-3
ptII-kepler2.3


I checked in the change to HTMLViewer.java

For my own notes, I verified the fix with:
1, Checking out the branch
2. Copying ptII/build.default.xml to build.xml and excluding 
     ptolemy/actor/lib/logic/fuzzy
   and
     ptolemy/domains/jogl
3. Building with 
     ant
4. Copied ptII/jars.xml
5. Built the jar files with
     ant -f jars.xml jars
6. Created a script called "doit" that uses just jar files:
java -classpath
"${PTII}/ptolemy/ptsupport.jar:${PTII}/ptolemy/vergil/vergil.jar:${PTII}/lib/diva.jar:${PTII}/doc/docConfig.jar:${PTII}/ptolemy/domains/domains.jar"
ptolemy.vergil.VergilApplication -ptiny

7.  cd'd to a subdirectory so that $PTII was not the cwd (thus avoiding
   accidentally finding source files in the path.
8.  Ran 
      sh ../doit
9. Clicked on Overview.  The title of the window ended in
   ptsupport.jar!/doc/mainVergil.htm
10. File -> New ->Graph Editor -> View -> JVM Properties indicates that
      java.version = 1.6.0_29
11. Exit vergil.
12. Under Mac OS X, I had installed a preview version of Java 1.7, so 
    under Utilities, I selected the Java Preferences program and dragged
    the 64 bit version of Java 1.7 to the top and exited Java Preferences.
13. Reran 
      sh ../doit
14. I get this stack trace in stdout, which I ignore:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException:
Width (-1) and height (-1) cannot be <= 0
        at
java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
        at java.awt.image.BufferedImage.<init>(BufferedImage.java:357)
        at sun.lwawt.macosx.CImage$Creator.createFromImage(CImage.java:101)
        at
sun.lwawt.macosx.CPlatformWindow.getImageForTarget(CPlatformWindow.java:693)
        at
sun.lwawt.macosx.CPlatformWindow.updateIconImages(CPlatformWindow.java:519)
        at
sun.lwawt.macosx.CPlatformWindow.setVisible(CPlatformWindow.java:484)
        at sun.lwawt.LWWindowPeer$1.run(LWWindowPeer.java:260)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
        at java.awt.EventQueue.access$000(EventQueue.java:101)
        at java.awt.EventQueue$3.run(EventQueue.java:666)
        at java.awt.EventQueue$3.run(EventQueue.java:664)
        at java.security.AccessController.doPrivileged(Native Method)
        at
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:240)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:157)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:146)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:142)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:134)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

15.  The various links in the splash screen work
16.  File -> New ->Graph Editor -> View -> JVM Properties has:
        java.version = 1.7.0-ea

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Kepler-dev mailing list