Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Java.lang.NullPointerException for Oracle EJB
Hi, Everyone,
Our Database system: Sun E3000 Solaris 2.6 with Oracle 8.1.6.0.0. Tool: Oracle Jdeveloper 3.1 on Windows NT.
Problem: Tried many times to work out the tutorial example "Online Orders
Application",
for which everything was fine until I reached the Deployment step: to deploy
the Business
component as EJB on Oracle 8i. After creating/loading a lot of classes, I
always got
the following messages:
"Generating Jar File...done
Loading EJB Jar file and Comm Stubs Jar file...done
Generating EJBHome and EJBObject on the server...
Compilation errors in
oracle/aurora/ejb/gen/_test_bc4j_ejb_OnlineOrders/OnlineOrdersModule/EjbObje
ct_RemoteOnlineOrdersModule:ORA-29535: source requires
recompilationjava.lang.NullPointerException at
sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.Environment.error(Environment.java) at sun.tools.java.OracleClassLocator.getHandle(OracleClassLocator.java) at sun.tools.java.OracleClassLocator.getLocationEntry(OracleClassLocator.java)at
java) at sun.tools.java.LocatorFinder.find(LocatorFinderFactory.java) at oracle.aurora.compiler.SqljInterface$MyFinder.find(SqljInterface.java) at oracle.aurora.compiler.MemoizedFi
sun.tools.javac.AuroraEnvironment.classExists(AuroraEnvironment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.classExists(Environment.java) at sun.tools.java.Environment.resolvePackageQualifiedName(Environment.java) at sun.tools.java.ClassDefinition.resolveName(ClassDefinition.java) at sun.tools.java.Environment.resolveNames(Environment.java) at sun.tools.java.Environment.resolveNames(Environment.java) at sun.tools.javac.SourceMember.resolveTypeStructure(SourceMember.java) at sun.tools.javac.SourceClass.resolveTypeStructure(SourceClass.java) at sun.tools.javac.SourceClass.basicCheck(SourceClass.java) at sun.tools.java.ClassDeclaration.
oracle.aurora.jdkcompiler.JdkDriver.compile(JdkDriver.java) at oracle.aurora.rdbms.Compiler.doCompile(Compiler.java) at oracle.aurora.rdbms.Compiler.compile(Compiler.java)<no file>: An exceptionhas occurred in the compiler; This is a compiler bug not an error in source. Info: 1 errors
What the messages tell me is that It's a COMPILER BUG. However, I don't know
it's the
JDK on Client side ( Jdeveloper ) or on the server side ( Oracle 8i EJB
server ) has the bug.
Has anybody encountered similar problem before? Please help, any suggestions
and advises are
greatly appreciated. Thank you.
sean zhang
seam_at_cnfei.com
Received on Fri Aug 18 2000 - 22:13:59 CDT
![]() |
![]() |