Open GoogleCodeExporter opened 9 years ago
This a very strange
Original comment by danjaredg
on 8 Jun 2015 at 3:10
Can you help me test the correction?
Execute the next commands to try.
sudo apt-get install libglib2.0-dev libxt-dev libdbusmenu-glib-dev
openjdk-7-jdk ant
svn checkout -r 277 http://java-swing-ayatana.googlecode.com/svn/branches/2.0
/tmp/jayatana/
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
export PATH=/usr/lib/jvm/java-7-openjdk-amd64/bin:$PATH
cd /tmp/jayatana/libjayatanaag ; make BUILD=debug
cd /tmp/jayatana/libjayatana ; make BUILD=debug
cd /tmp/jayatana/jayatanaag ; make
cd /tmp/jayatana/jayatana ; make
export
JAVA_TOOL_OPTIONS=-javaagent:/tmp/jayatana/jayatanaag/target/jayatanaag.jar
export JAYATANA_LIBAGPATH=/tmp/jayatana/libjayatanaag/libjayatanaag.so
export JAYATANA_NATIVEPATH=/tmp/jayatana/libjayatana/libjayatana.so
export JAYATANA_JAVAPATH=/tmp/jayatana/jayatana/target/jayatana.jar
unset JAVA_HOME
export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin:$PATH
Then try any java swing application
Original comment by danjaredg
on 8 Jun 2015 at 5:32
Ok, I built the library and tried to reproduce like this:
1) I tried several times without resetting the JAVA_TOOL_OPTIONS etc. The
exception came in about 10% of runs.
2) I reset JAVA_TOOL_OPTIONS etc as you explained and tried again. I could not
reproduce the exception.
So it seems like it works.
But one more remark: You said "try any java swing application". That's not
enough. I never got the exception when running netbeans. I first observed it in
an application I wrote myself and found out that it only happened when the file
dialog was shown before any instance of JEditorPane was used. If I started my
application with a command line argument to load a document on startup, the
exception was never thrown - even if I opened another document afterwards. The
attached file is the simplest thing I could create to reproduce the problem. So
it seems to be a very special case. However I hope this is fixed now.
Thanks for your quick response and your work on jayatana.
Original comment by mailxze...@gmail.com
on 11 Jun 2015 at 9:33
Original issue reported on code.google.com by
mailxze...@gmail.com
on 14 May 2015 at 12:57Attachments: