← Back to team overview

openjdk team mailing list archive

[Bug 590403] Re: After upgrading to Lucid netbank applet dropping NullPointerException

 

this works for me with 6b18-1.8-4ubuntu3

-- 
After upgrading to Lucid netbank applet dropping NullPointerException
https://bugs.launchpad.net/bugs/590403
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “openjdk-6” package in Ubuntu: Fix Released

Bug description:
After upgrade to Lucid my netbank applet stopped to work. See http://www.cib.hu/index?defaultLanguage=english . If I click on Login button in the right upper box, the popup window appears, but it says NullPointerException. Here is the console output of firefox:

user@host:/$ firefox 

(firefox-bin:4703): Gdk-WARNING **: XID collision, trouble ahead

(firefox-bin:4703): Gdk-WARNING **: XID collision, trouble ahead
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
[ APPLET INIT ]
[2010.06.06. 15:55:20] DEBUG     : Current using version: '5'
[2010.06.06. 15:55:20] WARNING   : MainApplet.getCodeBase: Codabase setting error. Parameter REMOTE in HTML is invalid. => REMOTE: not exist. Using default codebase.
[2010.06.06. 15:55:20] DEBUG     : Current using HTML language id: 'en'
[2010.06.06. 15:55:20] DEBUG     : Current using locale: 'en_US'
[2010.06.06. 15:55:20] DEBUG     : Current using country code: 'us'
[2010.06.06. 15:55:20] DEBUG     : NORMAL mode setting ...
[2010.06.06. 15:55:20] DEBUG     : Current using mode: 'NORMAL mode'
[2010.06.06. 15:55:21] DEBUG     : Current using resourcebundle: ebank.applet.Resources_en
[ /APPLET INIT ]


[2010.06.06. 15:55:21] DEBUG     : [ PAGE TURNING ... ]
[2010.06.06. 15:55:21] DEBUG     : Request page data: function_name(Login), page_type(INPUT)
[2010.06.06. 15:55:21] DEBUG     : turnToPage: Answer to 'Lose changing?' question: 'NO'
[2010.06.06. 15:55:21] DEBUG     : turnToPage: Answer to 'Store transaction?' question:'NO'
[2010.06.06. 15:55:21] DEBUG     : Search existing function: Login
[2010.06.06. 15:55:21] DEBUG     : Login is a new function, never initialized yet. -> try create
[2010.06.06. 15:55:21] DEBUG     : Search class of function: ebank.applet.Login
[2010.06.06. 15:55:21] DEBUG     : Create new function: Login / id=063
[2010.06.06. 15:55:21] DEBUG     : Create new page.
[2010.06.06. 15:55:21] DEBUG     : Setting page name. New name of page: KeyGen
[2010.06.06. 15:55:21] DEBUG     : Create new page.
[2010.06.06. 15:55:21] DEBUG     : Setting page name. New name of page: Login
[2010.06.06. 15:55:21] DEBUG     : Create new page.
[2010.06.06. 15:55:21] DEBUG     : Setting page name. New name of page: pwdChange
[2010.06.06. 15:55:21] DEBUG     : Create new page.
[2010.06.06. 15:55:21] DEBUG     : Setting page name. New name of page: errorPage
[2010.06.06. 15:55:21] DEBUG     : Create new page.
[2010.06.06. 15:55:21] DEBUG     : Setting page name. New name of page: secretKeyPage
[2010.06.06. 15:55:21] DEBUG     : Current page data: function_name(Login), base_function(Login(063) 0 > -1/5), page_type(INPUT)
[2010.06.06. 15:55:21] WARNING   : Can't find resource: iTab.Login
[2010.06.06. 15:55:21] WARNING   : Can't find resource: iTab.Login
[2010.06.06. 15:55:21] DEBUG     : 
[ SHOWPAGE (function: Login / 0. page: KeyGen) ]
[2010.06.06. 15:55:21] DEBUG     : PrevPage :-1
[2010.06.06. 15:55:21] DEBUG     : CurrentPage :Login/0
java.lang.NullPointerException
	at sun.applet.PluginAppletViewer.getApplet(PluginAppletViewer.java:878)
	at ebank.applet.MainApplet.i(Unknown Source)
	at ebank.applet.MainApplet.start(Unknown Source)
	at sun.applet.AppletPanel.run(AppletPanel.java:476)
	at java.lang.Thread.run(Thread.java:636)
Exception in thread "ResizeThread" java.lang.NullPointerException
	at sun.applet.PluginAppletViewer.getApplet(PluginAppletViewer.java:878)
	at ebank.applet.MainApplet.i(Unknown Source)
	at ebank.applet.MainApplet$ResizeThread.run(Unknown Source)


When I click on the "Login installed version" link under this button, it loads the applet, despite the error logs:

(firefox-bin:4579): Gdk-WARNING **: XID collision, trouble ahead
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1)
OpenJDK Client VM (build 14.0-b16, mixed mode, sharing)
java.lang.InterruptedException: sleep interrupted
	at java.lang.Thread.sleep(Native Method)
	at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:735)
	at sun.applet.PluginAppletViewer.handleMessage(PluginAppletViewer.java:649)
	at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:270)
	at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:82)
os.arch i386
os.name Linux
java.home /usr/lib/jvm/java-6-openjdk/jre
user.home /home/kz
user.dir /
Found local install (/home/kz/.cib/cibib.jar)
File size = '1566451' (OK)
MD5 Hash = 'EGWpL3qHwVKQV6l5I4pQnQ==' (OK)
[ APPLET INIT ]
[2010.06.06. 15:54:10] DEBUG     : Current using version: '5'
[2010.06.06. 15:54:10] WARNING   : MainApplet.getCodeBase: Codabase setting error. Parameter REMOTE in HTML is invalid. => REMOTE: not exist. Using default codebase.
[2010.06.06. 15:54:10] DEBUG     : Current using HTML language id: 'en'
[2010.06.06. 15:54:10] DEBUG     : Current using locale: 'en_US'
[2010.06.06. 15:54:10] ERROR     : Error in paint(): java.lang.NullPointerException
java.lang.NullPointerException
	at ebank.applet.MainApplet.paint(Unknown Source)
	at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
	at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:73)
	at sun.awt.RepaintArea.paint(RepaintArea.java:240)
	at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:709)
	at java.awt.Component.dispatchEventImpl(Component.java:4545)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
[2010.06.06. 15:54:10] ERROR     : Error in paint(): java.lang.NullPointerException
java.lang.NullPointerException
	at ebank.applet.MainApplet.paint(Unknown Source)
	at ebank.applet.MainApplet.update(Unknown Source)
	at sun.awt.RepaintArea.updateComponent(RepaintArea.java:255)
	at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:60)
	at sun.awt.RepaintArea.paint(RepaintArea.java:232)
	at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:709)
	at java.awt.Component.dispatchEventImpl(Component.java:4545)
	at java.awt.Container.dispatchEventImpl(Container.java:2163)
	at java.awt.Component.dispatchEvent(Component.java:4295)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
[2010.06.06. 15:54:10] DEBUG     : Current using country code: 'us'
[2010.06.06. 15:54:10] DEBUG     : NORMAL mode setting ...
[2010.06.06. 15:54:10] DEBUG     : Current using mode: 'NORMAL mode'
[2010.06.06. 15:54:10] DEBUG     : Current using resourcebundle: ebank.applet.Resources_en
[ /APPLET INIT ]


[2010.06.06. 15:54:11] DEBUG     : [ PAGE TURNING ... ]
[2010.06.06. 15:54:11] DEBUG     : Request page data: function_name(Login), page_type(INPUT)
[2010.06.06. 15:54:11] DEBUG     : turnToPage: Answer to 'Lose changing?' question: 'NO'
[2010.06.06. 15:54:11] DEBUG     : turnToPage: Answer to 'Store transaction?' question:'NO'
[2010.06.06. 15:54:11] DEBUG     : Search existing function: Login
[2010.06.06. 15:54:11] DEBUG     : Login is a new function, never initialized yet. -> try create
[2010.06.06. 15:54:11] DEBUG     : Search class of function: ebank.applet.Login
[2010.06.06. 15:54:11] DEBUG     : Create new function: Login / id=063
[2010.06.06. 15:54:11] DEBUG     : Create new page.
[2010.06.06. 15:54:11] DEBUG     : Setting page name. New name of page: KeyGen
[2010.06.06. 15:54:11] DEBUG     : Create new page.
[2010.06.06. 15:54:11] DEBUG     : Setting page name. New name of page: Login
[2010.06.06. 15:54:11] DEBUG     : Create new page.
[2010.06.06. 15:54:11] DEBUG     : Setting page name. New name of page: pwdChange
[2010.06.06. 15:54:11] DEBUG     : Create new page.
[2010.06.06. 15:54:11] DEBUG     : Setting page name. New name of page: errorPage
[2010.06.06. 15:54:11] DEBUG     : Create new page.
[2010.06.06. 15:54:11] DEBUG     : Setting page name. New name of page: secretKeyPage
[2010.06.06. 15:54:11] DEBUG     : Current page data: function_name(Login), base_function(Login(063) 0 > -1/5), page_type(INPUT)
[2010.06.06. 15:54:11] WARNING   : Can't find resource: iTab.Login
[2010.06.06. 15:54:11] WARNING   : Can't find resource: iTab.Login
[2010.06.06. 15:54:11] DEBUG     : 
[ SHOWPAGE (function: Login / 0. page: KeyGen) ]
[2010.06.06. 15:54:11] DEBUG     : PrevPage :-1
[2010.06.06. 15:54:11] DEBUG     : CurrentPage :Login/0





References