Solved

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

Posted on 2007-04-05
5
2,005 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: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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
servlet filter example 37 63
web application structure 18 77
hibernate example issues from command prompt 10 41
Problem with duplicate records in Oracle query 16 30
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
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.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

809 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