Error starting homebanking applet due to "Incompatible magic value"

Bug #239533 reported by Nikolaj Sheller on 2008-06-12
4
Affects Status Importance Assigned to Milestone
Iced Tea
Fix Released
Medium
icedtea-gcjwebplugin (Ubuntu)
Undecided
Unassigned
Declined for Intrepid by Matthias Klose
openjdk-6 (Ubuntu)
Low
Unassigned
Declined for Intrepid by Matthias Klose

Bug Description

I have just upgraded from Ubuntu 7.10 to 8.04 on a 64 bit machine.
I have added the the AllPermission to .java.policy to solve Bug #157721 comment 15.

My homebanking applet (https://www.netbank.nordea.dk/netbank/) does not start.

Starting firefox in a console, gives me the following error:
"java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject".

To reproduce:
Browse to https://www.netbank.nordea.dk/netbank/, see that the applet does not start, and read console output.
Anybody should be able to load this applet, as it should present a login prompt.

Related branches

To add AllPermission I added the following to ~.java.policy:

grant {
permission java.security.AllPermission;
};

Testing with Ubuntu Intrepid Ibex 8.10 I also get get the following error using "icedtea-gcjwebplugin" 1.0-1ubuntu3.

  PIPE: plugin read: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
GCJ PLUGIN: thread 0x1e7c860: plugin_in_pipe_callback return
  PIPE: appletviewer wrote: status error: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject.
java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file netscape/javascript/JSObject
 at java.lang.ClassLoader.defineClass1(Native Method)

Matthias Klose (doko) wrote :

tested with with icedtea6-plugin in the openjdk PPA (and the ca-certficates-java package installed)

https://www.netbank.nordea.dk/netbank/index.jsp
loads, nothing appears on the login pane. the applet on the second pane does work.

Changed in icedtea-gcjwebplugin:
status: New → Confirmed

https://www.netbank.nordea.dk/netbank/index.jsp
loads, nothing appears on the login pane. the applet on the second pane does work.

Changed in icedtea:
status: Unknown → Confirmed
Matthias Klose (doko) on 2008-10-13
Changed in icedtea-gcjwebplugin:
status: Confirmed → Won't Fix
Changed in openjdk-6:
importance: Undecided → Low
status: New → Triaged

This issue should be fixed -- applet now works for me with the latest release (1.3.1).

Closing issue.

Changed in icedtea:
status: Confirmed → Fix Released

It now works on Intrepid ibex!

Happy day!

This is on:
icedtea6-plugin 6b12-0ubuntu6
2.6.27-7-generic #1 SMP Thu Oct 30 04:12:22 UTC 2008 x86_64 GNU/Linux

This issue can be closed in my opinion.

Matthias Klose (doko) on 2008-11-11
Changed in openjdk-6:
status: Triaged → Fix Released
Changed in icedtea:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.