Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

867 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

15 Experts available now in Live!

Get 1:1 Help Now