Bug 52344

Summary: kbc online problem download one applet
Product: [Applications] konqueror Reporter: Philippe Van Hecke <lephiloux>
Component: kjavaAssignee: Wynn Wilkes <wynnw>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Philippe Van Hecke 2002-12-27 12:45:41 UTC
Version:           unknown (using KDE 3.1.0 (RC5))
Installed from:    Gentoo
Compiler:          gcc version 3.2.1
OS:          Linux (i686) release 2.4.19-gentoo-r10

I will try explain the whole process.

When i want to use my online banking account i have different problems. To access to this account
1) I must enable cookies only for sesssion.
2) when i go to the login page, i must reload the frame twice before the Login Applet start.

here is java console output after the seconde loading of the frame .

ava VM version: 1.4.0-gentoo
Java VM vendor:  Sun Microsystems Inc.
WARNING: Security Manager disabled!
### Probing BCM Location
 # Trying to set NETSCAPE permissions
 # Permissions NS (OK)
 # OS detected (Linux)
 # Determine producttype
 # Type (KBC-Online)
 # Homedir UNIX STD (/home/philoux)
 # Trying path (/home/philoux/KBC-Online/bcm/bcm.ini)
 # Match found (/home/philoux/KBC-Online/bcm/bcm.ini)
### Done haunting...
### Checking whether the key/bcm file exists (/home/philoux/KBC-Online/bcm/bcm.ini)
 # Trying to set NETSCAPE permissions
 # Permissions NS (OK)
 # File (/home/philoux/KBC-Online/bcm/bcm.ini) exists!!!
### Resetting ApiParm object
### Loading users
# Users found (1)
# UserList (VAN HECKE PHILIPPE)
### Reading KeyFileUserIDs from INI file (/home/philoux/KBC-Online/bcm/bcm.ini)
 # UserID (XXXX)
### Last User (0)
### Checking whether the key/bcm file exists (/home/philoux/KBC-Online/bcm/bcm.ini)
 # Trying to set NETSCAPE permissions
 # Permissions NS (OK)
 # File (/home/philoux/KBC-Online/bcm/bcm.ini) exists!!!
### Reading location keyfile from INI file (/home/philoux/KBC-Online/bcm/bcm.ini)
 # Location (/home/philoux/KBC-Online/bcm/XXXX.key)
### Checking whether the key/bcm file exists (/home/philoux/KBC-Online/bcm/XXXX.key)
 # Trying to set NETSCAPE permissions
 # Permissions NS (OK)
 # File (/home/philoux/KBC-Online/bcm/XXXXX.key) exists!!!
### Getting fileSize (/home/philoux/KBC-Online/bcm/XXXX.key)
 # Trying to set NETSCAPE permissions
 # Permissions NS (OK)
 # File size (519)
### Last user set (0)
 # Processing #USER#
 # Processing #INITPIN#
 # Processing #PUBKEY#
 # Processing #TAGS#
### Signing OK

3) whene i am loged into my account and try to sign a tranfsert.

I obtain the following 

KJAS: com.kbc.onl.ifs.d9.appletlight.SignApplet could not be fixed
java.lang.ClassFormatError: com/kbc/onl/ifs/d9/appletlight/SignApplet (Bad magic number)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at org.kde.kjas.server.KJASAppletClassLoader.fixAndDefineClass(KJASAppletClassLoader.java:374)
	at org.kde.kjas.server.KJASAppletClassLoader.loadFixedClass(KJASAppletClassLoader.java:317)
	at org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.java:236)
	at org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.java:274)
	at org.kde.kjas.server.KJASAppletStub$2.run(KJASAppletStub.java:162)
	at java.lang.Thread.run(Thread.java:536)
Class could not be loaded: com.kbc.onl.ifs.d9.appletlight.SignApplet
Backtrace: 
java.lang.ClassNotFoundException: triggered by java.lang.ClassFormatError: com/kbc/onl/ifs/d9/appletlight/SignApplet (Bad magic number)
	at org.kde.kjas.server.KJASAppletClassLoader.loadFixedClass(KJASAppletClassLoader.java:325)
	at org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.java:236)
	at org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.java:274)
	at org.kde.kjas.server.KJASAppletStub$2.run(KJASAppletStub.java:162)
	at java.lang.Thread.run(Thread.java:536)

And my transfert is not done.

for information i use sun-j2sd 1.4.0 
Gentoo Linux 1.4rc2
KDE 3.1 RC5 (compiled from source)
GCC 3.2

URL on wich i have the problem

https://kbconline.kbc.be/MB000101/ELB/D9306?PAK_KD=0094&VNS_NR=0001&TAAL_KD=F&SESS=1&BSYSKD=UNX&BSYSVERSNR=LINUX

And i have set Browser Identification To Netscape 4.76 
any other identification doesn't work well


Can i ask what's the signifcation the (Bad magic number) ?

Thanks 
Philippe.
Comment 1 George Staikos 2003-02-20 20:54:12 UTC
The reload is a problem.  Please don't post more than one bug in a report though.  It's hard to 
track this stuff now. 
 
The Java thing - I think it's fixed.  Please try with 3.1 branch of CVS (or HEAD branch). 
 
Comment 2 Philippe Van Hecke 2003-02-23 17:07:02 UTC
I have compiled and downloaded 3.1 and it seem that my problem is not resolved. 
 
Comment 3 Koos Vriezen 2003-11-08 03:02:14 UTC

*** This bug has been marked as a duplicate of 31903 ***