Re: java-problem in lenny
Hi Torsten! Am Montag Juli 6 2009 schrieb Torsten Werner: > which program? It is the Prüfmodul of the HzV (Hausärzte-Verband) for the german (bavarian) Hausärzte/domestic physicians. You can only get it, if you have an account at the HzV. > > In Debian lenny with openjdk-6 6b11-9.1+lenny2 and/or sun-java6-bin > > 6-12-1 I get an error with that program. > > What kind of error do you get? clau...@schlepptop:~/a/xpm20092/hzv$ java -Djava.endorsed.dirs=bin/lib -jar bin/hzvpmodul.jar -p xxx.xml Exception in thread "main" java.lang.NullPointerException at de.crosssoft.hzvpm.g.d.do(ZipAndEncryption.java:127) at de.crosssoft.hzvpm.g.d.a(ZipAndEncryption.java:60) at de.crosssoft.hzvpm.Main.main(Main.java:204) Java-Result: Abbruch von ausserdhalb! The programmer's answer was: Ich habe auch herausgefunden, an welcher Stelle das Programm abbricht. Zum Verschlüsseln der Daten wird ein Session-Key generiert. Dies geschieht mit einer Standard-Java Funktion( Die Klasse KeyGenerator). Innerhalb dieses Aufrufs kommt es zu einem Fehler. Da dies aber nicht in unserem Quellcode geschieht, habe ich da keinen Einfluss mehr darauf. Warum dies in ihrer Linux Version nicht funktioniert, habe ich leider nicht herausgefunden. Unter Ubuntu habe ich beides ausprobiert, das JKD von Sun und das OpenJDK. Es hat beides funktioniert. Viele Grüße Claudia Neumann -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: java-problem in lenny
* Claudia Neumann: > The programmer's answer was: > Ich habe auch herausgefunden, an > welcher Stelle das Programm abbricht. Zum Verschlüsseln der Daten wird > ein Session-Key generiert. Dies geschieht mit einer Standard-Java > Funktion( Die Klasse KeyGenerator). Innerhalb dieses Aufrufs kommt es > zu einem Fehler. Da dies aber nicht in unserem Quellcode geschieht, > habe ich da keinen Einfluss mehr darauf. Warum dies in ihrer Linux > Version nicht funktioniert, habe ich leider nicht herausgefunden. > Unter Ubuntu habe ich beides ausprobiert, das JKD von Sun und das > OpenJDK. Es hat beides funktioniert. This could mean that the corresponding JDK functionality was improperly stubbed out in the lenny version. Does the issue happen with the version in sid/squeeze, too? -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: java-problem in lenny
Hi Florian! Am Montag Juli 6 2009 schrieben Sie: > * Claudia Neumann: > >> This could mean that the corresponding JDK functionality was > >> improperly stubbed out in the lenny version. Does the issue happen > >> with the version in sid/squeeze, too? > > > > Didn't test that. You don't want me to update my system to sid, do you? > > You could create a sid or squeeze chroot and test within that. > > Just run something like this: > > debootstrap squeeze /tmp/squeeze http://ftp.de.debian.org/debian/ > chroot /tmp/squeeze > mount /proc /proc -t proc > apt-get update > apt-get install --no-install-recommends openjdk-6-jdk > > umount /proc > exit > > (This temporarily needs about 400M of disk space in /tmp.) > > For testing, you might have to copy your .Xauthority file into the > chroot, otherwise the software run in there hasn't got access to your > X display. Okay, I did that. With Sid there is no error. Seems to be a problem with lenny. Kind regards Claudia Neumann -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: java-problem in lenny
Hi all! Am Montag Juli 6 2009 schrieb Claudia Neumann: > Hi Florian! > > Am Montag Juli 6 2009 schrieben Sie: > > * Claudia Neumann: > > >> This could mean that the corresponding JDK functionality was > > >> improperly stubbed out in the lenny version. Does the issue happen > > >> with the version in sid/squeeze, too? > > > > > > Didn't test that. You don't want me to update my system to sid, do you? > > > > You could create a sid or squeeze chroot and test within that. > > > > Just run something like this: > > > > debootstrap squeeze /tmp/squeeze http://ftp.de.debian.org/debian/ > > chroot /tmp/squeeze > > mount /proc /proc -t proc > > apt-get update > > apt-get install --no-install-recommends openjdk-6-jdk > > > > umount /proc > > exit > > > > (This temporarily needs about 400M of disk space in /tmp.) > > > > For testing, you might have to copy your .Xauthority file into the > > chroot, otherwise the software run in there hasn't got access to your > > X display. > > Okay, I did that. > With Sid there is no error. > Seems to be a problem with lenny. I did the same with lenny and in that chroot fresh lenny installation there is no error. I will try to compare the packages. What can possibly change the behavior of th keyGenerator class? Kind regards Claudia Neumann -- To UNSUBSCRIBE, email to debian-java-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org