Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2006 17:09:37 +0200 (CEST)
From:      "zouk@tiscali.nl" <zouk@tiscali.nl>
To:        glewis@FreeBSD.org, freebsd-java@FreeBSD.org
Subject:   weka on freebsd amd64 system because of java problems
Message-ID:  <10349646.1159196977400.JavaMail.root@ps4>

next in thread | raw e-mail | index | archive | help
Hi folks

I've installed weka on my freebsd system (AMD64) and I can use it from 
the command line but the gui keeps crashing if I click on explorer I 
get the following error:

java -Xmx2000M -jar weka.jar
/usr/X11R6/share/themes/Clearlooks/gtk-2.0/gtkrc:49: Engine 
"clearlooks" is unsu pported, ignoring
---Registering Weka Editors---
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
weka.gui.explorer.PreprocessPanel.addPropertyChangeListener(Unknown 
Sour ce)
javax.swing.plaf.synth.SynthPanelUI.installListeners(SynthPanelUI.java:
4 9)
javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:38)
javax.swing.JComponent.setUI(JComponent.java:652)
javax.swing.JPanel.setUI(JPanel.java:131)
javax.swing.JPanel.updateUI(JPanel.java:104)
javax.swing.JPanel.<init>(JPanel.java:64)
javax.swing.JPanel.<init>(JPanel.java:87)
javax.swing.JPanel.<init>(JPanel.java:95)
weka.gui.explorer.PreprocessPanel.<init>(Unknown Source)
weka.gui.explorer.Explorer.<init>(Unknown Source)
weka.gui.GUIChooser$2.actionPerformed(Unknown Source)
java.awt.Button.processActionEvent(Button.java:388)
java.awt.Button.processEvent(Button.java:356)
java.awt.Component.dispatchEventImpl(Component.java:3955)
java.awt.Component.dispatchEvent(Component.java:3803)
java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThrea d.java:242)
java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread. java:163)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

at weka.gui.explorer.PreprocessPanel.addPropertyChangeListener(Unknown 
S ource)
at javax.swing.plaf.synth.SynthPanelUI.installListeners(SynthPanelUI.
jav a:49)
at javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:38)
at javax.swing.JComponent.setUI(JComponent.java:652)
at javax.swing.JPanel.setUI(JPanel.java:131)
at javax.swing.JPanel.updateUI(JPanel.java:104)
at javax.swing.JPanel.<init>(JPanel.java:64)
at javax.swing.JPanel.<init>(JPanel.java:87)
at javax.swing.JPanel.<init>(JPanel.java:95)
at weka.gui.explorer.PreprocessPanel.<init>(Unknown Source)
at weka.gui.explorer.Explorer.<init>(Unknown Source)
at weka.gui.GUIChooser$2.actionPerformed(Unknown Source)
at java.awt.Button.processActionEvent(Button.java:388)
at java.awt.Button.processEvent(Button.java:356)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchTh read.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThre ad.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


What could be wrong here?
I'm using weka 3.5.3.

I've installed the java port which gives me the diablo-jdk but I'm not 
sure that's the correct version. If I can recall some time ago, the 
freebsd foundation had made an agreement with Sun. I thought that I had 
to follow the instructions on the freebsd.org/java page but in the end 
I had this diablo-jdk version installed.

Also I've notice that I cannot have all the functionality that eclipse 
provides on other platforms but I heard that it was because IBM doesn't 
acknowledge FreeBSD as a platform. But maybe I should mail that in 
another post because it's a seperate problem I have which causes me to 
have to turn to ubuntu because of that:-(

Brgds and thanks in advanced,
Robert Gilaard






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10349646.1159196977400.JavaMail.root>