CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Java error while starting FoamX

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   September 16, 2005, 12:58
Default I have installed OpenFOAM 1.2
  #1
New Member
 
Canelli Claudio
Join Date: Mar 2009
Location: Genoa, Italy
Posts: 11
Rep Power: 17
cfdengineering is on a distinguished road
I have installed OpenFOAM 1.2 on an AMD64 debian system today.

Installation is ok, but when I try to start FoamX I receive this error:

Exec : FoamXHostBrowser
Date : Sep 16 2005
Time : 18:52:09
Host : cfd8
PID : 13304
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/claudio/OpenFOAM/OpenFOAM-1.2/applications/utilities/preProcessing/FoamX/l ib/FoamX.jar
Using jar /home/claudio/OpenFOAM/OpenFOAM-1.2/applications/utilities/preProcessing/FoamX/l ib/jlfgr-1_0.jar
/home/claudio/OpenFOAM/OpenFOAM-1.2/bin/FoamX: line 239: /home/claudio/OpenFOAM/linuxAMD64/j2sdk1.4.2_05/bin/java: No such file or directory
/home/claudio/OpenFOAM/OpenFOAM-1.2/bin/runFoamXHB: line 131: 13304 Killed FoamXHostBrowser -ORBNamingAddr $myIOP
runFoamXHB : cleanup
runFoamXHB: Killing name server nsd(pid 13302).

The problem is that /home/claudio/OpenFOAM/linuxAMD64/j2sdk1.4.2_05/bin/java exists!

If I edit ~/OpenFOAM/OpenFOAM-1.2/.bashrc and change $JAVA_HOME to /usr (I have java installed in /usr/bin/) I receive this error:

Exec : FoamXHostBrowser
Date : Sep 16 2005
Time : 18:55:34
Host : cfd8
PID : 15738
Root :
Case :
Nprocs : 1
HostBrowser running.....
Using jar /home/claudio/OpenFOAM/OpenFOAM-1.2/applications/utilities/preProcessing/FoamX/l ib/FoamX.jar
Using jar /home/claudio/OpenFOAM/OpenFOAM-1.2/applications/utilities/preProcessing/FoamX/l ib/jlfgr-1_0.jar
java.lang.NullPointerException
at FoamX.CaseManagement.CaseBrowserPanel.CaseBrowserP anel (CaseBrowserPanel.java:213)
at FoamX.CaseManagement.CaseManager.CaseManager (CaseManager.java:95)
at FoamX.App.App (App.java:258)
at FoamX.App.main (App.java:184)
at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
at java.lang.VirtualMachine.main (VirtualMachine.java:108)

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed

(.:15829): Gdk-CRITICAL **: gdk_window_get_origin: assertion `window != NULL' failed
java.lang.NoSuchMethodError
at FoamX.App.initialiseHostBrowser (App.java:418)
at FoamX.App.initialise (App.java:343)
at FoamX.App.main (App.java:186)
at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
at java.lang.VirtualMachine.main (VirtualMachine.java:108)

and a window with title "class java.lang.Null" and two little buttons appears.

Has anyone an idea to solve this?
cfdengineering is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting FoamX error jaswi OpenFOAM Installation 15 February 7, 2012 14:53
FoamX and Java Issues olih OpenFOAM Installation 5 March 30, 2008 17:22
FoamX starting on Fedora 8 x86_64 and i386 Error nsd ORBIIOPAddr %24myIOP ior %24FOAMX_CONFIGnsref %2360 devnull rationaalinen OpenFOAM Pre-Processing 6 December 2, 2007 11:40
FoamX not starting Javarelated error agrahn OpenFOAM Pre-Processing 5 October 20, 2007 05:33
Java error while starting FoamX erydj OpenFOAM Pre-Processing 2 May 4, 2007 08:53


All times are GMT -4. The time now is 14:51.