Menu

#75 Workaround needed for OS X

open
nobody
None
5
2008-03-19
2008-03-19
No

See
http://lists.apple.com/archives/java-dev/2005/Nov/msg00164.html

I get this regularly

Parsing SVN log '/Users/build/svn/devel/svn.log' exclude pattern 'null'
Scheduled 0 svn diff calls on 0 threads.
Generating report for /branches/rel_3_4_x into
Using default CSS file (statcvs.css)
2008-03-19 16:49:22.584 java[15102] CFLog (0): CFMessagePort: bootstrap_register(): failed 1100 (0x44c), port = 0x13e03, name = 'Processes-2.15102'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2008-03-19 16:49:22.585 java[15102] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (Processes-2.15102)
CFMessagePortCreateLocal failed (name = Processes-2.15102 error = 0)
./svnstat: line 22: 15102 Abort trap java -Xmx256m -jar statsvn.jar $SVNDIR/svn.log $SVNDIR/$x

I'm guessing (and my Java is rubbish) that moving this into init() might help

+ // make JFreeChart work on systems without GUI
+ System.setProperty("java.awt.headless", "true");

but I really don't know.

Discussion


Log in to post a comment.