Solved

ERROR [JRCCommunicationAdapter] JRCAgent1 detected an exception: java.lang.NullPointerException

Posted on 2007-04-05
5
1,987 Views
Last Modified: 2013-12-19
I am viewing reports (crystal) from my web application built using java , jsp and struts with SQL Server as database but when i changed my database to Oracle 9i then i get the following exception and could not view the reports.  Could you please tell me why this exception occured?  My reportt has a sub report linked with the parameter 'as_session_id'.

14:30:42,401 INFO  [STDOUT] 14:30:42,401 INFO  [datainterface] Connection opened (Connection:  databaseType=JDBC  serverName=java:comp/env/MLO_DS  state=open  databaseDriverName=crdb_jdbc.dll).
14:30:42,401 INFO  [STDOUT] 14:30:42,401 INFO  [queryengine] Executing query: select max(deposit_no) deposit_no,
 max(deposit_date) deposit_date
FROM lcps.t_rpt_of_collections  
   WHERE lcps.t_rpt_of_collections.session_id in ( {?as_session_id} )
14:30:42,433 INFO  [STDOUT] 14:30:42,433 ERROR [JRCCommunicationAdapter] JRCAgent1 detected an exception: java.lang.NullPointerException.

0
Comment
Question by:Sreekanth_Nagabandi
  • 2
  • 2
5 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 18860714
Did you change the reports to use the new database?

mlmcc
0
 
LVL 30

Expert Comment

by:mayankeagle
ID: 18860754
>> java.lang.NullPointerException.

Can you print the stack trace of the exception? That will help identify at which line it occurs.
0
 

Author Comment

by:Sreekanth_Nagabandi
ID: 18863864
we are getting datasource from JNDI lookup.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 18984256
Glad i could help

mlmcc
0
 
LVL 30

Expert Comment

by:mayankeagle
ID: 19010857
What was the solution
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now