[Logo] VUE Users Forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Login] Login 
If this is your first visit to the new VUE forums, you can login using the same username and password you currently use on VUE's website. If you need an account, please create one through VUE's website. If you have problems, please contact us via the contact form on http://vue.tufts.edu
Running VUE 1.5.5 Beta in Linux  XML
Forum Index » Technical Problems and Bug Reports
Author Message
Joseph Portelli


Joined: 08/08/2008 11:36:13
Messages: 1
Offline

I downloaded the jar archive form of the above and ran it under Linux (java -jar VUE.jar). It gave the following error :-

VUE init failed
java.lang.NullPointerException; in Thread[main,5,main] at 1156316265950 Wed Aug 23 16:57:45 EST 2006
at tufts.vue.gui.GUI.stringWidth(GUI.java:409)
at tufts.vue.gui.GUI.stringLength(GUI.java:405)
at tufts.vue.gui.DockWindow.setTitle(DockWindow.java:1004)
at tufts.vue.gui.DockWindow.<init>(DockWindow.java:187)
at tufts.vue.gui.GUI.createDockWindow(GUI.java:563)
at tufts.vue.gui.GUI.createDockWindow(GUI.java:569)
at tufts.vue.gui.GUI.createDockWindow(GUI.java:584)
at tufts.vue.VUE.buildApplicationInterface(VUE.java:591)
at tufts.vue.VUE.initApplication(VUE.java:361)
at tufts.vue.VUE.main(VUE.java:320)
END java.lang.NullPointerException

VUE 2006-08-23 16:58:19,787 [main] INFO startup completed.

This happened both under SUSE 10.1 and CENTOS 4.3 (CENTOS is a recompilatilation of RHEL 4 I beleive).

I then downloaded VUE 1.4.0 and repeated the above. This time it ran happily ! (and luckily for me) I am using java 1.5.0_07 (SUSE 10.1) and java 1.5.0_08 (CENTOS machine).

Regards
Joseph Portelli
Thomas Schneider


Joined: 08/08/2008 11:36:13
Messages: 1
Offline

I encountered the same problem (Suse 10.1). Any idea?

Regards,

Thomas
M. Habiger


Joined: 08/08/2008 11:36:13
Messages: 2
Offline

Hello

I compiled the source package and found the bug. It seems that some entries for the dockWindow are not updated in the VueResources.properties file. I wonder, why it's running under Windows / Mac...

Try this:

- extract the sources

- first try to build it (with ant, I used Eclipse). Use the ant-target "jar-repository", then "jar".

- If you found the newly created VUE.jar in source/build (and the NPE above after starting it) then proceed.

- edit the file tafts/vue/VueResources.properties. Copy all properties starting with "dockWindow" and prefix them with "gui." (e.g., dockWindow.Resources.loading.label becomes gui.dockWindow.Resources.loading.label)
After this, add these entries:

gui.dockWindow.title.font=default,plain,12
gui.dockWindow.title.background.top=#FFE0E0
gui.dockWindow.title.background.bottom=#00FF00

(or the colors you like)
- save the file, delete VUE.jar and build again. Now the VUE.jar should run.

This was a quickfix (took some time anyway) and I'm sure there is an easier solution. But for now, it works.

Greetings

M. Habiger
M. Habiger


Joined: 08/08/2008 11:36:13
Messages: 2
Offline

Sorry, it was late ;-)
As I finally did no change in the code, you certainly don't have to rebuild it.

Simply unjar the VUE.jar, edit tufts/vue/VueResources.properties as mentioned above and jar it together again. Don't forget the original MANIFEST.MF:


/tmp/vue/> jar -cvmf META-INF/MANIFEST.MF ../VUE_fixed.jar *



Greetings,

M. Habiger
Peter Wilkins


Joined: 08/08/2008 11:36:13
Messages: 41
Offline

We are preparing to release the 1.5 final version, which will run on the Linux platform. If you send me your email address, I can direct you to a site where you can download this version to verify that it works for you.

Regards,
Peter
VUE Project Manager
peter.wilkins (at) tufts.edu
 
Forum Index » Technical Problems and Bug Reports
Go to:   
Powered by JForum 2.1.8 © JForum Team