View Single Post
  #1  
Old 23.03.2009, 07:48
nicola
Guest
 
Posts: n/a
Unhappy every time jdownload start require language and home directory for files

Hi
I'm using linux (debian lenny).
i have installed sun jre 6 from debian repository packages.
Every time i start jdownloader with the command "java -jar JDownloader.jar" i receive this error:

nicola@vulkanus-dk:~/jdownaloder$ java -jar JDownloader.jar
JAR
23-mar-2009 6.19.29 - INFO [jd.config.DatabaseConnector(<init>)] -> Loading database
23-mar-2009 6.19.29 - INFO [jd.config.DatabaseConnector(checkDatabaseHeader)] -> Checking database
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.DatabaseConnector.checkDatabaseHeader(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.DatabaseConnector.<init>(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.SubConfiguration.<init>(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDUtilities.getSubConfig(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.getLocaleString(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.L(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.Main.main(Unknown Source)
23-mar-2009 6.19.29 - GRAVE [jd.config.DatabaseConnector(<init>)] -> Database broken! Creating fresh Database
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.sql.SQLException: Utente non trovato: SA
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at org.hsqldb.jdbcDriver.getConnection(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at org.hsqldb.jdbcDriver.connect(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at java.sql.DriverManager.getConnection(DriverManager.java:582)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at java.sql.DriverManager.getConnection(DriverManager.java:185)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.DatabaseConnector.<init>(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDUtilities.getDatabaseConnector(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.SubConfiguration.<init>(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDUtilities.getSubConfig(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.getLocaleString(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.L(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.Main.main(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.DatabaseConnector.getData(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.SubConfiguration.<init>(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDUtilities.getSubConfig(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.getLocaleString(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.L(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.Main.main(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> java.lang.NullPointerException
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.DatabaseConnector.saveConfiguration(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.config.SubConfiguration.save(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDUtilities.getSubConfig(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.getLocaleString(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.utils.JDLocale.L(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.controlling.interaction.Interaction.initTriggers(Unknown Source)
23-mar-2009 6.19.30 - GRAVE [jd.utils.JDUtilities$4(write)] -> at jd.Main.main(Unknown Source)
23-mar-2009 6.19.30 - INFO [jd.utils.JDUtilities(getJDClassLoader)] -> Create Classloader: for: /home/nicola/jdownaloder
23-mar-2009 6.19.30 - FINE [jd.JDClassLoader(<init>)] -> rootDir:/home/nicola/jdownaloder

And every time ask me languages , home directory for files and my premium accounts are lost.

My env variables are:

nicola@vulkanus-dk:~/jdownaloder/libs$ env
GPG_AGENT_INFO=/tmp/seahorse-k0MSJ1/S.gpg-agent:2838:1
SHELL=/bin/bash
DESKTOP_STARTUP_ID=
TERM=xterm
GTK_RC_FILES=/etc/gtk/gtkrc:/home/nicola/.gtkrc-1.2-gnome2
WINDOWID=44040268
USER=nicola
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31; 01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj= 01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.b z2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01 ;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35: *.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.p ng=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv= 01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;3 5:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xc f=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=0 0;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
SSH_AUTH_SOCK=/tmp/keyring-V1RmM0/ssh
GNOME_KEYRING_SOCKET=/tmp/keyring-V1RmM0/socket
SESSION_MANAGER=local/vulkanus-dk:/tmp/.ICE-unix/2783
USERNAME=nicola
DESKTOP_SESSION=default
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
GDM_XSERVER_LOCATION=local
PWD=/home/nicola/jdownaloder/libs
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.12/
LANG=it_IT.UTF-8
GNOME_KEYRING_PID=2782
GDM_LANG=it_IT.UTF-8
GDMSESSION=default
HISTCONTROL=ignoreboth
HOME=/home/nicola
SHLVL=1
GNOME_DESKTOP_SESSION_ID=Default
LOGNAME=nicola
CLASSPATH=.;/usr/lib/jvm/java-6-sun-1.6.0.12/jre/lib
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-ihmvyNl5nk,guid=3841275d1a83f85a11fbec0449c718ec
WINDOWPATH=7
DISPLAY=:0.0
COLORTERM=gnome-terminal
XAUTHORITY=/home/nicola/.Xauthority
_=/usr/bin/env
OLDPWD=/home/nicola/jdownaloder
nicola@vulkanus-dk:~/jdownaloder/libs$

There is someone that could help me ?
I can write a Faq for debian users .
Reply With Quote