Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

calling applet from portlet(Urgent pls)

1 view
Skip to first unread message

ravikumar_75

unread,
Apr 27, 2004, 9:07:36 AM4/27/04
to
Iam putting the applet code in the view.jsp of the portlet and when i run it...iam getting the following error

java.lang.NullPointerException

at sun.plugin.cache.CachedFileLoader.writeHeaders(Unknown Source)

at sun.plugin.cache.CachedFileLoader.createCacheFiles(Unknown Source)

at sun.plugin.cache.CachedFileLoader.access$200(Unknown Source)

at sun.plugin.cache.CachedFileLoader$3.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin.cache.CachedFileLoader.download(Unknown Source)

at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

at sun.plugin.cache.FileCache.get(Unknown Source)

at sun.plugin.net.protocol.http.HttpURLConnection.connectWithCache(Unknown Source)

at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)

at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at sun.plugin.net.protocol.http.HttpURLConnection.getHeaderField(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

please provide me the solution and help me out.

Regards,
Ravi


warismirza

unread,
Jun 19, 2004, 6:53:35 AM6/19/04
to
Hi
my problem is solved,so follow these steps. goto control panel. click on "Java Plugin" icon. and the goto Cache Tab, then uncheck the "Enable Caching" check Box.

then click apply and then reset button.

now run your applet. hope it willstart working.
if it works do inform me on waris...@yahoo.com

Waris Mirza

0 new messages