Solved

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

Posted on 2007-04-05
5
2,020 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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:Mayank S
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:Mayank S
ID: 19010857
What was the solution
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle Query to Find number of process consumed by a session 15 74
Oracle Date 6 42
Oracle perfomance tuneing. 3 47
oracle sql developer + get hour from datetime field 2 26
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…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to recover a database from a user managed backup

710 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