Applet - Oracle 8.0 database connectivity failing in Netscape Browser
I have written a Java Applet to connect to the Oracle (8.0) database. My Applet is residing in a remote server. The Applet connected to the database when run in Internet Explorer, but failed to connect to the database using Netscape Navigator (4.08) and resulted in the following error
############################
java.lang.NullPointerException
at oracle.jdbc.driver.OracleStatement.get_column_index(Compiled Code)
at oracle.jdbc.driver.OracleResultSet.findColumn(Compiled Code)
at oracle.jdbc.driver.OracleResultSet.getInt(Compiled Code)
at EmpActivityApplet.getActivityData(Compiled Code)
at EmpActivityApplet.paint(Compiled Code)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
* at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
at java.awt.EventDispatchThread.run(Compiled Code)
at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)
############################
I have zipped the my Java Applet program with the Oracle Thin Driver classes (EmpActivityApplet.zip) and coded the following HTML page to load the Applet:
############################
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;CHARSET=iso-8859-1">
<TITLE>untitled</TITLE>
</head>
<body>
<applet code="EmpActivityApplet" CODEBASE="." ARCHIVE="EmpActivityApplet.zip"
WIDTH = 1000
HEIGHT = 300>
</applet>
</body>
</html>
############################
Please somebody help me in resolving this problem. This is urgent.
Please reply to mvnraju_undi@yahoo.com
Regards,
Raju.

