JRC (upg. to CR4E) - Report w Subreport - Oracle DB -  Null Pointer Excepti

Hi
We have a Crystal Designer/Developer Version 11.5.10.1263. We develop reports using this.
Most of the reports have SQL Command mode design with JNDI/JDBC connection. It gets deployed with our Web application. And during runtime, when users access these reports from our web application, we typically use Java Reporting Component with Crystal Report Viewer SDK to open and display the report to the user.
Besides other issues, current problem I am having is:
I have a sub-report in my report. I am connecting to Oracle database. If this sub-report does not return any rows, I was getting a Null Pointer Exception. This seems to be a known bug. This happened to us when we had just the above mentioned components.
We recently upgraded just the JAR libraries to the ones packaged in CR4E (Crystal Reports For Eclipse) - initially to get more exporting capability.This upgrade gets us past the Null Pointer Exception issue.
Now, I am getting an error like "Unexpected database connector error". Please see the exception stack trace below if needed. Since we are a product and this display is specific to one out of about 100 different clients; with all the time we spent on making this report stuff work against this oracle DB client, we had finally ended up creating the display in JSP into our general product just for one of about 100 clients. Client must be the Lucky one...As a developer, I felt really frustrated.
One note:- SQL Server DB works perfect.
Other thing - Do we need to change any API calls after upgrading the JARS from standard JRC/Viewer to CR4E package?
11:46:57,540 INFO  [STDOUT] 11:46:57,540 ERROR [JRCCommunicationAdapter]  detected an exception: Unexpected database connector error
     at com.crystaldecisions.reports.datafoundation.DFQuery.for(SourceFile:632)
     at com.crystaldecisions.reports.datalayer.a.do(SourceFile:1621)
     at com.crystaldecisions.reports.datalayer.a.a(SourceFile:1404)
     at com.crystaldecisions.reports.dataengine.m.b(SourceFile:334)
     at com.crystaldecisions.reports.dataengine.j.b(SourceFile:515)
     at com.crystaldecisions.reports.dataengine.m.o(SourceFile:408)
     at com.crystaldecisions.reports.dataengine.m.a(SourceFile:173)
     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:114)
     at com.crystaldecisions.reports.dataengine.ContextNode.a(SourceFile:95)
     at com.crystaldecisions.reports.dataengine.j.case(SourceFile:1080)
     at com.crystaldecisions.reports.dataengine.h.<init>(SourceFile:108)
     at com.crystaldecisions.reports.dataengine.DataContext.a(SourceFile:254)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4660)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:4574)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.new(SourceFile:2652)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.byte(SourceFile:2610)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.try(SourceFile:2282)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.int(SourceFile:2442)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.I(SourceFile:1013)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.if(SourceFile:4816)
     at com.crystaldecisions.reports.dataengine.DataProcessor2.a(SourceFile:2020)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:309)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:250)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.a(SourceFile:922)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.e(SourceFile:784)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.u.for(SourceFile:242)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:243)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.a(SourceFile:210)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:185)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.v.a(SourceFile:230)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:511)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:452)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.a(SourceFile:369)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ah.a(SourceFile:72)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ReportColumnFormatter.a(SourceFile:86)
     at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.a(SourceFile:332)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:359)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ai.for(SourceFile:133)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.ColumnFormatter.for(SourceFile:120)
     at com.crystaldecisions.reports.formatter.formatter.paginator.SinglePageFormatter.for(SourceFile:177)
     at com.crystaldecisions.reports.formatter.formatter.objectformatter.aa.a(SourceFile:64)
     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.do(SourceFile:737)
     at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236)
     at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(SourceFile:219)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1909)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
     at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
     at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
     at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
     at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
     at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
     at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
     at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
     at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
     at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
     at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(SourceFile:767)
     at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(SourceFile:324)
     at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.getPage(SourceFile:149)
     at com.businessobjects.report.web.event.s.a(SourceFile:158)
     at com.businessobjects.report.web.event.s.a(SourceFile:127)
     at com.businessobjects.report.web.event.bt.a(SourceFile:47)
     at com.businessobjects.report.web.event.bw.broadcast(SourceFile:93)
     at com.businessobjects.report.web.event.am.a(SourceFile:53)
     at com.businessobjects.report.web.a.t.if(SourceFile:2104)
     at com.businessobjects.report.web.e.a(SourceFile:300)
     at com.businessobjects.report.web.e.a(SourceFile:202)
     at com.businessobjects.report.web.e.a(SourceFile:135)
     at com.crystaldecisions.report.web.ServerControl.a(SourceFile:607)
     at com.crystaldecisions.report.web.ServerControl.processHttpRequest(SourceFile:342)
     at org.apache.jsp.ipalHistoryReportViewer_jsp._jspService(org.apache.jsp.ipalHistoryReportViewer_jsp:201)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     at org.apache.catalina.core.Standar
11:46:57,540 INFO  [STDOUT] dEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
     at java.lang.Thread.run(Thread.java:595)
11:46:57,634 INFO  [STDOUT]  CustomReports - finally Calling CrystalReportViewer dispose ...

I have exactly the same problem. Had posted it on the forum last week, but haven't received any response yet. I just file a single support case ($195) with SAP.  If I hear anything useful back, will keep you posted. Please let me know if you are able to resolve the problem.
In my case, I can get my report to work with a single subreport.  When I put multiple subreports, I get the same error as you are currently getting.
Check if your report has any special section formatting (conditional suppression etc).  Try to remove those to see if it helps at all.

Similar Messages

  • ViewDocument.jsp gets null pointer exception when using report token instead of docid for DHTML

    <p>The following command gets a null pointer error showing up in Tomcat log:</p><p>../../viewers/cdz_adv/viewDocument.jsp?sEntry=<%=strEntry%>&lang=en&iDocID=830&ViewType=I&kind=Webi</p><p>where sEntry is a valid report token </p><p>but works fine if the ViewType is H  or id=830 is used instead of sEntry.  When the above command is issued the drill columns are displayed correctly but no report is shown and a null pointer exception is encountered.</p>

    There is a Consulting Solution called BOInterface that Business Objects Global Services sells and that may help you if you are implementing your own "InfoView".
    A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
    Particularly, see the <a href="http://www.mnsoft.org/pmiv.0.html">Poor Man's InfoView</a> web application.
    Contact me via direct email for more information if this is interesting for you.
    HTH,
    M
    Matthias Nott -  Business Objects
    Service Line Leader Products EMEA
    [email protected]

  • Null pointer exception in com.crystaldecisions.sdk.occa.report.application.ControllerBase.checkViewReportRight

    I am testing BOE 4.0 with a simple jsp based on the samples.  The code is what I used to test BOE xi 3.1.  But I ran into some report display inconsistencies with 3.1 so I am trying 4.0.  The code below works in 3.1  But in 4.0, I get the report viewer screen coming up but get a null pointer exception coming to the screen.
    2014-06-18 13:48:01
    java.lang.NullPointerException
    at com.crystaldecisions.sdk.occa.report.application.ControllerBase.checkViewReportRight(ControllerBase.java:114)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(ReportSource.java:945)
    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(AdvancedReportSource.java:343)
    at com.businessobjects.report.web.event.PageListener.renderContentLocally(PageListener.java:394)
    at com.businessobjects.report.web.event.PageListener.getPage(PageListener.java:181)
    at com.businessobjects.report.web.event.PageListener.updatePage(PageListener.java:123)
    at com.businessobjects.report.web.event.UpdatePageEvent.processListener(UpdatePageEvent.java:47)
    at com.businessobjects.report.web.event.ViewerBroadcaster.broadcast(ViewerBroadcaster.java:109)
    at com.businessobjects.report.web.event.EventQueue.processEvents(EventQueue.java:53)
    at com.businessobjects.report.web.component.ViewerContainer.processEvents(ViewerContainer.java:1403)
    at com.businessobjects.report.web.WorkflowController.doEventProcessing(WorkflowController.java:353)
    at com.businessobjects.report.web.WorkflowController.doLifecycle(WorkflowController.java:255)
    at com.businessobjects.report.web.WorkflowController.doAsyncLifecycle(WorkflowController.java:106)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerUpdater._processHttpRequest(CrystalReportViewerUpdater.java:61)
    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(ServerControl.java:345)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doUpdate(CrystalReportViewerServlet.java:156)
    at com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet.doPost(CrystalReportViewerServlet.java:144)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
    Here is the AlwaysRequiredSteps_UnmanagedRas.jsp
    <%
    String path = "rassdk://C:\\reports\\asn.rpt";
    ReportAppSession ra = new ReportAppSession();
    ra.createService("com.crystaldecisions.sdk.occa.report.application.ReportClientDocument");
    ra.setReportAppServer("10.189.15.175:1566");
    ra.initialize();
    ReportClientDocument clientDoc = new ReportClientDocument();
    clientDoc.setReportAppServer(ra.getReportAppServer());
    clientDoc.open(path, OpenReportOptions._openAsReadOnly);
    %>
    Here is the OpenReport.jsp
    <%@ page contentType="text/html; charset=utf-8" %>
    <%@
       page import="com.crystaldecisions.sdk.occa.report.application.*,
      com.crystaldecisions.sdk.occa.report.data.*,
      com.crystaldecisions.sdk.occa.report.lib.*,
      com.crystaldecisions.report.web.viewer.*,
      com.crystaldecisions.sdk.occa.report.definition.*"
    %>
    <html>
    <head>
    <title>Preview Report</title>
    </head>
    <body>
    <%@ include file="AlwaysRequiredSteps_UnmanagedRAS.jsp"%>
    <%
      Tables oTablesCollection = clientDoc.getDatabaseController().getDatabase().getTables();
      for(int i = 0; i < oTablesCollection.size(); i++) {
          // We'll get two copies of the original table, change one, and use set table.
          ITable originalTable = oTablesCollection.getTable(i);
          ITable changedTable = oTablesCollection.getTable(i);
          IConnectionInfo newConnectionInfo = new ConnectionInfo();
          PropertyBag attributes = new PropertyBag();
          attributes.putBooleanValue(PropertyBagHelper.CONNINFO_SSO_ENABLED, false);
          attributes.putStringValue(PropertyBagHelper.CONNINFO_CRQE_DATABASETYPE, "JDBC (JNDI)");
          attributes.putStringValue(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_jdbc.dll");
          attributes.putStringValue(PropertyBagHelper.CONNINFO_CRQE_DATABASENAME, "");
          attributes.putBooleanValue(PropertyBagHelper.CONNINFO_CRQE_SQLDB, true);
          PropertyBag logonProperties = new PropertyBag();
          logonProperties.putStringValue("JDBC Connection String", "!oracle.jdbc.driver.OracleDriver!jdbc:oracle:thin:{userid}/{password}@10.189.12.248:1521:gbg");
          logonProperties.putBooleanValue("Trusted_Connection", false);
          logonProperties.putBooleanValue("Use JDBC", true);
          logonProperties.putStringValue("Database Class Name", "oracle.jdbc.driver.OracleDriver");
          logonProperties.putStringValue("Connection URL", "jdbc:oracle:thin:@10.189.12.248:1521:gbg");
          logonProperties.putStringValue("Server", "10.189.12.248");
          attributes.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, logonProperties);
          attributes.putStringValue("QE_ServerDescription", "10.189.12.248");
          newConnectionInfo.setKind(ConnectionInfoKind.CRQE);
          newConnectionInfo.setUserName("dsdone");
          newConnectionInfo.setPassword("dbuser");
          newConnectionInfo.setAttributes(attributes);
          changedTable.setQualifiedName("DSDONE" + "." + changedTable.getName());
          changedTable.setConnectionInfo(newConnectionInfo);
          // Commit the changes by calling the setTableLocation method from
          // the Database controller with the new table
          clientDoc.getDatabaseController().setTableLocation(originalTable, changedTable);
      // Create a Viewer object
      CrystalReportViewer viewer = new CrystalReportViewer();
      // Set the name for the viewer
      viewer.setName("Crystal_Report_Viewer");
      // Set the report source for the  viewer to the ReportClientDocument's report source
      viewer.setReportSource(clientDoc.getReportSource());
      // Process the http request to view the report
      viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
      // Dispose of the viewer object
      viewer.dispose();
      // Release the memory used by the report
      clientDoc.close();
    %>
    </body>
    </html>

    Hi Jason,
    Call any one of the methods
    viewer.dispose(); or clientDoc.close();
    Do not use both in BI 4.x version.
    Test the same and let me know if it works.
    Thanks,
    Prithvi

  • Crystal report (crystalReportsViewer) crash with null pointer exception

    Hi,
    My application are simple : m_crystalReportsViewer.ViewerCore.ReportSource = report; but in throw exception null pointer when I call showDialog.
    I see in code, we have method ShowTabHeader.
    private void ShowTabHeader(bool isShow)
        Grid child = VisualTreeHelper.GetChild(this.tabViews, 0) as Grid;
        TabPanel panel = child.FindName("HeaderPanel") as TabPanel;
        if (!isShow)
            panel.Visibility = Visibility.Collapsed;
        else
            panel.Visibility = Visibility.Visible;
    My problem :  child.FindName("HeaderPanel") as TabPanel return null
    =>  if (!isShow)
            panel.Visibility = Visibility.Collapsed;
        else
            panel.Visibility = Visibility.Visible;
    throws null pointer exception.
    Do you have any idea about this?
    Thanks.
    Here is stack trace :
    Unerwarteter Fehler im System ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.ShowTabHeader(Boolean isShow)
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.ItemsChangedEventHandler(Object sender, ItemsChangedEventArgs e)
       at System.Windows.Controls.Primitives.ItemsChangedEventHandler.Invoke(Object sender, ItemsChangedEventArgs e)
       at System.Windows.Controls.ItemContainerGenerator.OnItemAdded(Object item, Int32 index)
       at System.Windows.Controls.ItemContainerGenerator.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Windows.Controls.ItemContainerGenerator.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
       at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
       at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
       at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)
       at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
       at System.Windows.Controls.ItemCollection.System.Windows.IWeakEventListener.ReceiveWeakEvent(Type managerType, Object sender, EventArgs e)
       at System.Windows.WeakEventManager.DeliverEventToList(Object sender, EventArgs args, ListenerList list)
       at System.Windows.WeakEventManager.DeliverEvent(Object sender, EventArgs args)
       at System.Collections.Specialized.CollectionChangedEventManager.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Windows.Data.CollectionView.OnCollectionChanged(NotifyCollectionChangedEventArgs args)
       at System.Windows.Data.ListCollectionView.ProcessCollectionChangedWithAdjustedIndex(NotifyCollectionChangedEventArgs args, Int32 adjustedOldIndex, Int32 adjustedNewIndex)
       at System.Windows.Data.ListCollectionView.ProcessCollectionChanged(NotifyCollectionChangedEventArgs args)
       at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
       at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
       at System.Collections.ObjectModel.Collection`1.Add(T item)
       at SAPBusinessObjects.WPF.Viewer.ReportAlbum.OnCreateNewDocumentViewComplete(CreateNewDocumentArgs args)
       at SAPBusinessObjects.WPF.Viewer.DelegateMarshaler.<>c__DisplayClass6`1.<Invoke>b__4(Object )
       at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
       at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
       --- End of inner exception stack trace ---
    Edited by: duyhai707 on Jul 13, 2011 7:42 PM
    Edited by: duyhai707 on Jul 13, 2011 8:09 PM

    A lot I don't understand in here... actually, I don't understand anything in your post:
    When you call ShowDialog, what exactly are you trying to show?  The code is the decompiled showtabheader method of the viewer. So, are you trying to override the viewer control and reportalbum?  My guess is that the null reference is for the reportalbum's child object which is not the reportalbum object of the viewer.  I don't understand why the code since its all handled internally to the viewer anyhow.
    Perhaps searching the forum for code sample will help?
    Also, see the [WPF Demo|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8]
    Other good WPF resources to consult:
    http://www.redmondpie.com/incorporate-crystal-reports-in-a-c-wpf-application/
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/a09f7025-0629-2d10-d7ae-df006a51d1a8
    http://www.codeproject.com/Tips/74499/Crystal-Report-in-WPF.aspx
    Re: Crystal Reports for Visual Studio 2010 - WPF Viewer for .Net 4.0
    http://codegain.com/articles/crystalreports/howto/incorporate-crystal-reports-in-wpf-using-c-sharp.aspx
    CRVS2010 Beta - WPF Viewer, how to hide the GroupTree control?
    Re: CRVS2010 Beta - WPF Viewer, how to hide the GroupTree control?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Null Pointer Exception with Oracle Transformer

    Hi all,
    I'm getting a NullPointerException after building a DOM tree and feeding it to a stream via the Oracle JAXP transformer. I am trying to convert the data in DOMSource to PDF file. The following code:
    TransformerFactory transFact = TransformerFactory.newInstance();
    Transformer transForm = transFact.newTransformer();
    ByteArrayOutputStream pdfOutStream = new ByteArrayOutputStream();
    DOMSource pdfInput = new DOMSource(doc);
    StreamResult pdfOutput = new StreamResult(pdfOutStream);
    transForm.transform(pdfInput,pdfOutput);
    int pdfByteSize = pdfOutStream.size();
    System.out.println("Size of pdfByteSize : "+ pdfByteSize);
    pdfByte = new byte[pdfByteSize];
    pdfByte = pdfOutStream.toByteArray();
    InputStream formInputStream = new ByteArrayInputStream(pdfByte);
    Iam getting error at "transForm.transform(pdfInput,pdfOutput);".
    Here the StackTrace :
    07/05/24 10:59:40 XML-22900: (Fatal Error) An internal error condition occurred.
    javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:775)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:374)
    Caused by: java.lang.NullPointerException
         at oracle.xml.parser.v2.XMLText.reportSAXEvents(XMLText.java:402)
         at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3072)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3061)
         at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3072)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3061)
         at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3072)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:2165)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:337)
    Environment we are using is Sun JDK 1.4.2_06 on Windows, running JDeveloper 10 g with OC4j as Application Server.
    Can any one please explain me in this regard?
    Thanks
    Manoj

    Thanks for the Reply.
    Before Null Pointer Exception I am getting another Fatal error:
    javax.xml.transform.TransformerException: XML-22900: (Fatal Error) An internal error condition occurred.
         at oracle.xml.jaxp.JXTransformer.reportException(JXTransformer.java:775)
         at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:374)
    Please Help

  • Oracle 10g JDev IDE 9.0.5.2 Null Pointer Exception while debugging

    Hi,
    In windows XP m/c, I am facing following Null Pointer
    Exception while debugging basic Java application through
    10g JDev 9.0.5.2, and it failed in debugging that application...
    May I know, How to get it out of this problem..., am
    suspecting Is it related to any of my windows XP configuration?
    Here's the stack trace shown in the 10g JDev console while
    debugging simple java application..,
    java.lang.NullPointerException
    at javax.swing.border.EmptyBorder.<init>(EmptyBorder.java:54)
    at com.sun.java.swing.plaf.windows.WindowsTableHeaderUI$XPDefaultRendere
    r.getTableCellRendererComponent(WindowsTableHeaderUI.java:63)
    at oracle.jdevimpl.runner.debug.ThreadsPanel$3.getTableCellRendererCompo
    nent(ThreadsPanel.java:306)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderRenderer(BasicTabl
    eHeaderUI.java:394)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getHeaderHeight(BasicTableH
    eaderUI.java:428)
    at javax.swing.plaf.basic.BasicTableHeaderUI.createHeaderSize(BasicTable
    HeaderUI.java:454)
    at javax.swing.plaf.basic.BasicTableHeaderUI.getPreferredSize(BasicTable
    HeaderUI.java:485)
    at javax.swing.JComponent.getPreferredSize(JComponent.java:1275)
    at oracle.jdevimpl.runner.debug.ThreadsPanel.threadsPanelSettingsChanged
    (ThreadsPanel.java:538)
    at oracle.jdevimpl.runner.debug.ThreadsWindow$AllThreadsPanel.threadsWin
    dowSettingsChanged(ThreadsWindow.java:408)
    at oracle.jdevimpl.runner.debug.ThreadsWindow.threadsWindowSettingsChang
    ed(ThreadsWindow.java:138)
    at oracle.jdevimpl.runner.debug.ThreadsWindow.<init>(ThreadsWindow.java:
    112)
    at oracle.jdevimpl.runner.debug.JDebugger.getThreadsWindow(JDebugger.jav
    a:3048)
    at oracle.jdevimpl.runner.debug.DebuggingProcess.selected(DebuggingProce
    ss.java:565)
    at oracle.ideimpl.runner.RunManager.viewSelectionChanged(RunManager.java
    :467)
    at oracle.ide.addin.AbstractView.fireViewSelectionChanged(AbstractView.j
    ava:484)
    at oracle.ideri.navigator.DefaultNavigatorWindow.fireViewSelectionChange
    d(DefaultNavigatorWindow.java:791)
    at oracle.ideri.navigator.DefaultNavigatorWindow$3.viewSelectionChanged(
    DefaultNavigatorWindow.java:1218)
    at oracle.ide.addin.AbstractView.fireViewSelectionChanged(AbstractView.j
    ava:484)
    at oracle.ideimpl.explorer.BaseTreeExplorer.actionPerformed(BaseTreeExpl
    orer.java:2077)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh

    John,
    You mentioned "I closed the IDE so that the TopLink project would pick up the changes..."
    1. We need to find out why you needed to close the IDE? Was TopLink mapping editor not picking up your changes?
    2. I am sure you did not modified .java outside of Jdev, but in case if you did, let me know.
    3. After removing a superclass attribute, did you save all changes?
    4. We tried various combinations, but were unable to reproduce the project reopen issue that you mentioned was fixed by changing the ClassDescriptor.xml. It would be extremely helpful if you could either send us (anuj dot k dot jain at oracle dot com) a project that can reproduce this issue, or outline the exact steps.

  • Oracle native API for AQ  - Null pointer exception

    Hi
    I am trying to enqueue a message to AQ adapter through the java native api. But i am getting a null pointer exception.
    import java.sql.*;
    import oracle.AQ.*;
    Connection db_conn;
    AQSession aq_sess = null;
    AQQueueTable q_table = null;
    AQQueue queue = null;
    AQMessage message ;
    byte[] b_array ;
    try{
    String test_data = "hello";
    Class.forName("oracle.jdbc.driver.OracleDriver");
    db_conn =
    DriverManager.getConnection(
    "jdbc:oracle:thin:@localhost:1521:SOABRM",
    "soabrm", "password");
    System.out.println("JDBC Connection opened ");
    db_conn.setAutoCommit(false);
    Class.forName("oracle.AQ.AQOracleDriver");
    aq_sess = AQDriverManager.createAQSession(db_conn);
    System.out.println("Successfully created AQSession ");
    q_table = aq_sess.getQueueTable ("soabrm", "AQ_Test");
    queue = aq_sess.getQueue ("soabrm", "AQ_Queue_Test");
    message = queue.createMessage();
    b_array = test_data.getBytes();
    AQRawPayload raw_payload = message.getRawPayload();
    AQEnqueueOption enq_option = new AQEnqueueOption();
    raw_payload.setStream(b_array,b_array.length); */* Erroring out at this statement*/*
    message.setRawPayload(raw_payload);
    queue.enqueue(enq_option, message);
    db_conn.commit();
    catch(Exception ex){
    System.out.println("Exception "+ex.getMessage());
    Error : Exception null
    Please let me know if I missed something.
    Thanks in advance!!!!!

    hi,
    I had found the issue. The queue takes object type messages where as I was trying with Raw messages.
    Instead of AQRawPayload raw_payload = message.getRawPayload();
    I need to use
    AQObjectPayload raw_payload = message.getObjectPayload()
    and pass object as input to the queue.

  • Crystal Report throws NULL Pointer Exception from Java

    Hi,
    <br>
    We are using crystal report in our application and we are changing the report datasource with the application datasource through our code. We are using CR4E 2008 to achieve this solution. We are getting a NULLPointerException, when we run the report in Oc4J(Oracle Apps Server) with JDK1.6. Could you please help us in achieving the solution
    <br><br>
    Exception:
    <br>
    Connection logon:Database DLL=s(crdb_jdbc.dll);Trusted_Connection=s(true);PreQEServerType=s(JDBC (JNDI));Server
    Type=s(JDBC (JNDI));Use JDBC=s(true);Database Class Name=s();JNDI Datasource Name=s(jdbc/1495);Connection URL=s();User ID=s(myapp);Password=
    detected an exception: java.lang.NullPointerException
    at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
    at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
    at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
    at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
    at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:696)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(SourceFile:706)
    at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(SourceFile:198)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(SourceFile:957)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:635)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
    at com.mysystems.myapp.common.CrystalRpt.print(CrystalRpt.java:387)
    at regular.ShowReport._jspService(_ShowReport.java:277)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.mysystems.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:662)
    2011-06-27 10:42:03.598 09041510myappt myapp ShowReport.jspService(277) Error while generating crystal report com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
    at com.mysystems.myapp.common.CrystalRpt.print(CrystalRpt.java:387)
    at regular.ShowReport._jspService(_ShowReport.java:277)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.mysystems.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NullPointerException
    at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
    at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
    at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
    at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
    at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:696)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(SourceFile:706)
    at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(SourceFile:198)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(SourceFile:957)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:635)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    ... 33 more
    Regards,
    Karthik.

    Hi,
    <br>
    We are using crystal report in our application and we are changing the report datasource with the application datasource through our code. We are using CR4E 2008 to achieve this solution. We are getting a NULLPointerException, when we run the report in Oc4J(Oracle Apps Server) with JDK1.6. Could you please help us in achieving the solution
    <br><br>
    Exception:
    <br>
    Connection logon:Database DLL=s(crdb_jdbc.dll);Trusted_Connection=s(true);PreQEServerType=s(JDBC (JNDI));Server
    Type=s(JDBC (JNDI));Use JDBC=s(true);Database Class Name=s();JNDI Datasource Name=s(jdbc/1495);Connection URL=s();User ID=s(myapp);Password=
    detected an exception: java.lang.NullPointerException
    at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
    at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
    at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
    at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
    at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:696)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(SourceFile:706)
    at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(SourceFile:198)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(SourceFile:957)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:635)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
    at com.mysystems.myapp.common.CrystalRpt.print(CrystalRpt.java:387)
    at regular.ShowReport._jspService(_ShowReport.java:277)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.mysystems.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:662)
    2011-06-27 10:42:03.598 09041510myappt myapp ShowReport.jspService(277) Error while generating crystal report com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:741)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527)
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352)
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337)
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(SourceFile:286)
    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(SourceFile:209)
    at com.mysystems.myapp.common.CrystalRpt.print(CrystalRpt.java:387)
    at regular.ShowReport._jspService(_ShowReport.java:277)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    at com.mysystems.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.NullPointerException
    at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
    at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
    at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
    at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
    at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2978)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.a(SourceFile:696)
    at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.for(SourceFile:706)
    at com.crystaldecisions.reports.reportdefinition.ReportHelper.a(SourceFile:198)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.long(SourceFile:957)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:635)
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944)
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661)
    ... 33 more
    Regards,
    Karthik.

  • Facing NULL Pointer Exception in XMLP report

    Hi ,
    We are develping a new report in XMLP. When we run the report , the request ends up in warning.
    Below is the log content of the request.
    I checked the conc pgm short code , template source code and the data definition code . All are in sync. But still the issue is not solved.
    log file :
    XDO Data Engine Version No: 5.6.3
    Resp: 51322
    Org ID : 22
    Request ID: 189773324
    All Parameters: P_BOOK=CORPORATE:P_DIVISION=TTT:P_PERIOD1=JAN-11:P_PERIOD2=JAN-11
    Data Template Code: FA0CPAD_BIP
    Data Template Application Short Name: SEAFA
    Debug Flag: N
    {P_PERIOD2=JAN-11, P_PERIOD1=JAN-11, P_DIVISION=TTT, P_BOOK=CORPORATE}
    Calling XDO Data Engine...
    [101812_082245358][][EXCEPTION] java.lang.NullPointerException
         at oracle.apps.xdo.dataengine.DataTemplateParser.GetNodeNumChildren(DataTemplateParser.java:345)
         at oracle.apps.xdo.dataengine.DataTemplateParser.templateParser(DataTemplateParser.java:277)
         at oracle.apps.xdo.dataengine.XMLPGEN.setDataTemplate(XMLPGEN.java:599)
         at oracle.apps.xdo.dataengine.DataProcessor.setDataTemplate(DataProcessor.java:193)
         at oracle.apps.xdo.oa.util.DataTemplate.<init>(DataTemplate.java:136)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:282)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
         at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492)
         at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
         at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(DataTemplateParser.java:1737)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:320)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:279)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:266)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:205)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:237)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:364)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:236)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    If anyone are aware of this error kindly help me.
    Thanks
    Antony.

    Hi Jason,
    Call any one of the methods
    viewer.dispose(); or clientDoc.close();
    Do not use both in BI 4.x version.
    Test the same and let me know if it works.
    Thanks,
    Prithvi

  • ADF_FACES-60098 and null pointer exception at oracle.adfinternal.controller.debug.ActivityBreakpointFacadeImpl$1.afterPhase(ActivityBreakpointFacadeImpl.java:111)

    Can you please look at this stack trace to see if you can identify a reason why this error happens when I leave a page open in my ADF application for 3 minutes or longer?
    Target URL -- http://127.0.0.1:7101/PTS/faces/dashboard.jsf
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-menuSearch-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-menuSearch-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'view1'].>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-menuEst-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-menuEst-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'createProjEstimate'].>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-toolBoxMenu-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-toolBoxMenu-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'basicEstimator'].>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: /WEB-INF/adfc-toolBoxMenu-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewXmlImpl> <parse> ADFc: Failed to find/parse page name for view activity.>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: /WEB-INF/adfc-toolBoxMenu-config.xml:>
    <Nov 8, 2013 2:24:52 PM CST> <Notice> <Stdout> <BEA-000000> <<ActivityXmlImpl> <parse> ADFc: Activity metadata could not be parsed. [Activity Type, ID] = ['view', 'writeReport'].>
    <Nov 8, 2013 2:24:53 PM CST> <Notice> <Stdout> <BEA-000000> <<ViewHandlerImpl> <_checkTimestamp> Apache Trinidad is running with time-stamp checking enabled. This should not be used in a production environment. See the org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml>
    <Nov 8, 2013 2:24:59 PM CST> <Notice> <Stdout> <BEA-000000> <<UIXEditableValue> <_isBeanValidationAvailable> A Bean Validation provider is not present, therefore bean validation is disabled>
    <Nov 8, 2013 2:25:16 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:25:22 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\kri\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 8, 2013 2:25:22 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\kri\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log03208. Log messages will continue to be logged in C:\Users\kri\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Nov 8, 2013 2:25:23 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    [02:26:14 PM] Updated /C:/Users/kri/AppData/Roaming/JDeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/PTS_MavenProjectTrackingSys/PTS_ViewControllerWebApp.war
    <Nov 8, 2013 2:26:18 PM CST> <Notice> <Stdout> <BEA-000000> <<GlobalConfiguratorImpl> <_startConfiguratorServiceRequest>
    weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/PTS/faces/projectPlan-task-flow/projectPlan'
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2144)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2024)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1918)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getParameter(ServletRequestImpl.java:1995)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access$800(ServletRequestImpl.java:1817)
    at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:804)
    at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:43)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:31)
    at org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAttributeMap.java:73)
    at oracle.adfinternal.controller.state.ControllerState.getRootViewPortFromRequest(ControllerState.java:788)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:185)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79)
    at oracle.adfinternal.controller.application.AdfcConfigurator.beginRequest(AdfcConfigurator.java:53)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at main.java.com.dairynet.pts.util.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:37)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at nagiworld.net.filters.gzip.GZIPFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.net.ProtocolException: EOF after reading only: '0' of: '16' promised bytes, out of which at least: '0' were already buffered
    at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:93)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:179)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:228)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2118)
    ... 43 more>
    <Nov 8, 2013 2:26:19 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    [02:28:40 PM] Updated /C:/Users/kri/AppData/Roaming/JDeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/PTS_MavenProjectTrackingSys/PTS_ViewControllerWebApp.war
    <Nov 8, 2013 2:28:48 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:29:00 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,697 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:29:00 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,696 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:29:00 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,698 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:29:05 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:29:10 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,704 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:29:19 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    [02:31:19 PM] Updated /C:/Users/kri/AppData/Roaming/JDeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/PTS_MavenProjectTrackingSys/PTS_ViewControllerWebApp.war
    <Nov 8, 2013 2:31:46 PM CST> <Notice> <Stdout> <BEA-000000> <<GlobalConfiguratorImpl> <_startConfiguratorServiceRequest>
    weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/PTS/faces/projectPlan-task-flow/projectPlan'
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2144)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2024)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1918)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getParameter(ServletRequestImpl.java:1995)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access$800(ServletRequestImpl.java:1817)
    at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:804)
    at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:43)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:31)
    at org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAttributeMap.java:73)
    at oracle.adfinternal.controller.state.ControllerState.getRootViewPortFromRequest(ControllerState.java:788)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:185)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79)
    at oracle.adfinternal.controller.application.AdfcConfigurator.beginRequest(AdfcConfigurator.java:53)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at main.java.com.dairynet.pts.util.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:37)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at nagiworld.net.filters.gzip.GZIPFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.net.ProtocolException: EOF after reading only: '0' of: '16' promised bytes, out of which at least: '0' were already buffered
    at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:93)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:179)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:228)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2118)
    ... 43 more>
    <Nov 8, 2013 2:32:06 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:32:12 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:33:23 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:33:35 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,740 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:33:35 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,738 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:33:35 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,739 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:33:59 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:37:13 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:37:17 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    [02:38:43 PM] Updated /C:/Users/kri/AppData/Roaming/JDeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/PTS_MavenProjectTrackingSys/PTS_ViewControllerWebApp.war
    <Nov 8, 2013 2:38:48 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:40:54 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:41:00 PM CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it on 127.0.0.1:57,790 during the configured idle timeout of 5 secs>
    <Nov 8, 2013 2:46:53 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    [02:50:22 PM] Updated /C:/Users/kri/AppData/Roaming/JDeveloper/system11.1.2.3.39.62.76.1/o.j2ee/drs/PTS_MavenProjectTrackingSys/PTS_ViewControllerWebApp.war
    <Nov 8, 2013 2:50:43 PM CST> <Notice> <Stdout> <BEA-000000> <<GlobalConfiguratorImpl> <_startConfiguratorServiceRequest>
    weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/PTS/faces/projectPlan-task-flow/projectPlan'
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2144)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2024)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1918)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getParameter(ServletRequestImpl.java:1995)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access$800(ServletRequestImpl.java:1817)
    at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:804)
    at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:43)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:31)
    at org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAttributeMap.java:73)
    at oracle.adfinternal.controller.state.ControllerState.getRootViewPortFromRequest(ControllerState.java:788)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:185)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79)
    at oracle.adfinternal.controller.application.AdfcConfigurator.beginRequest(AdfcConfigurator.java:53)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at main.java.com.dairynet.pts.util.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:37)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at nagiworld.net.filters.gzip.GZIPFilter.doFilter(Unknown Source)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.net.ProtocolException: EOF after reading only: '0' of: '16' promised bytes, out of which at least: '0' were already buffered
    at weblogic.servlet.internal.PostInputStream.complain(PostInputStream.java:93)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:179)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:228)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2118)
    ... 43 more>
    <Nov 8, 2013 2:50:43 PM CST> <Notice> <LoggingService> <BEA-320400> <The log file C:\Users\kri\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log will be rotated. Reopen the log file if tailing has stopped. This can happen on some platforms like Windows.>
    <Nov 8, 2013 2:50:43 PM CST> <Notice> <LoggingService> <BEA-320401> <The log file has been rotated to C:\Users\kri\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log03209. Log messages will continue to be logged in C:\Users\kri\AppData\Roaming\JDeveloper\system11.1.2.3.39.62.76.1\DefaultDomain\servers\DefaultServer\logs\DefaultServer.log.>
    <Nov 8, 2013 2:50:43 PM CST> <Notice> <Stdout> <BEA-000000> <<TrainRenderer> <encodeAll> Either a MenuModel object was not provided or an invalid object was provided.>
    <Nov 8, 2013 2:50:52 PM CST> <Notice> <Stdout> <BEA-000000> <<GlobalConfiguratorImpl> <_startConfiguratorServiceRequest>
    weblogic.utils.NestedRuntimeException: Cannot parse POST parameters of request: '/PTS/faces/dashboard.jsf'
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.mergePostParams(ServletRequestImpl.java:2144)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.parseQueryParams(ServletRequestImpl.java:2024)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getQueryParams(ServletRequestImpl.java:1918)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.getParameter(ServletRequestImpl.java:1995)
    at weblogic.servlet.internal.ServletRequestImpl$RequestParameters.access$800(ServletRequestImpl.java:1817)
    at weblogic.servlet.internal.ServletRequestImpl.getParameter(ServletRequestImpl.java:804)
    at javax.servlet.ServletRequestWrapper.getParameter(ServletRequestWrapper.java:169)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:43)
    at org.apache.myfaces.trinidadinternal.context.external.ServletRequestParameterMap.getAttribute(ServletRequestParameterMap.java:31)
    at org.apache.myfaces.trinidadinternal.context.external.AbstractAttributeMap.get(AbstractAttributeMap.java:73)
    at oracle.adfinternal.controller.state.ControllerState.getRootViewPortFromRequest(ControllerState.java:788)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:185)
    at oracle.adfinternal.controller.state.AdfcContext.initialize(AdfcContext.java:79)
    at oracle.adfinternal.controller.application.AdfcConfigurator.beginRequest(AdfcConfigurator.java:53)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)
    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at main.java.com.dairynet.pts.util.ApplicationSessionExpiryFilte

    Frank,
    I do not get this error when I run the application on the Weblogic standalone server. I do not get this error when I run the application on my integrated weblogic server, unless I run it is debug mode. I do get it on my integrated weblogic server if I run in debug mode.
    Can you please give me an idea of where I can look for settings on the other weblogic servers where this is happening to see if I can chase this down? I am not a weblogic server admin by any means, but I have looked at the Debug tab for the server to see if I can see anything enabled. Unfortunately, I may not be looking in the right place to know if there is some kind of debug setting enabled.
    Any assistance would be greatly appreciated! This is happening to our users on our production server as well.
    Thank you!

  • Null Pointer Exception in Oracle Lite

    Hi,
    I am confused what might be causing this error.. pls help or suggest soemthing ..
    java.lang.NullPointerException
    at com.pega.pegarules.web.sql.SQLExplorer.getTableInformation(SQLExplorer.java:225)
    at org.apache.jsp.sql.objdetails_jsp._jspService(objdetails_jsp.java:96)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at com.pega.pegarules.web.StaticContentFilter.doFilter(StaticContentFilter.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
    it might be coming from this source code but i am not sure ..
    public TableObject getTableInformation(String aCatalog, String aSchema, String
    aObjectName) {
    TableObject toInfo = null;
    ArrayList alTemp = new ArrayList();
    try {
    DatabaseMetaData dmdInfo = mSession.getConnection().getMetaData();
    ResultSet rset = dmdInfo.getColumns(aCatalog, aSchema, aObjectName, "%");
    while (rset.next()) {
    if (toInfo == null) {
    toInfo = new TableObject();
    toInfo.mCatalog = rset.getString(1);
    toInfo.mSchema = rset.getString(2);
    toInfo.mObjectName = rset.getString(3);
    ColumnDefinition cdInfo = toInfo.new ColumnDefinition();
    cdInfo.mColumnName = rset.getString(4);
    cdInfo.mJavaColumnType = getJavaTypeName(rset.getInt(5));
    getColumns is returning a zero length result set, which causes a NPE in our
    code. (below). It appears something strange is going on with the 10 lite
    Text continued in next action...
    16-MAR-05 22:32:04 GMT
    Text continued from previous action...
    drivers to cause this behavior -- can you guys shed any light?
    Here's the link to the Sun docs re getColumns
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getColumn
    s(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String)

    Could you please tell when you are getting this error ,at the time of start of webtogo or somewhere else

  • Null pointer in setTableLocation for a report based on a stored procedure

    im using the crjavahelper class and setTableLocation to change the datasource of a stored procedure based report and its throwing a null pointer exception somewhere in the sdk.  This is happening with sqljdbc4.jar and sql2005 and jdk 1.6.
    Jan 20, 2010 12:43:37 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.do(SourceFile:4605)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:621)
         at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:75)
         at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:106)
         at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)
         at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)
         at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(SourceFile:2906)
         at com.businessobjects.samples.CRJavaHelper.changeDataSource(CRJavaHelper.java:191)
         at org.apache.jsp.index_jsp._jspService(index_jsp.java:114)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    any ideas? I tried using the jtds driver and it doesnt throw the exception but it doesnt return any data either, ive never gotten a stored procedure based report to work with it.
    Jeremy

    Check out this forum post:
    Problem using Null as a parameter with a stored procedure

  • Error while creating a report that uses Oracle OCI JDBC connectivity

    Please let me know why my CR and LF characters are removed from my forum posting *****
    Hi,
    I was trying to create a report that uses Oracle OCI JDBC connectivity. I am using Eclipse3.4 download from "cr4e-all-in-one-win_2.0.2.zip".  I have successfully created a JDBC OCI connection.
    The connection parameters are given below:
    URL: jdbc:oracle:oci8:@xe
    Database: xe
    username: <userName>
    password: <password>
    I have tested the above connection in Data source Explorer and it works fine!!!
    But I am getting the following error when I drag-and-drop a table from the list of tables. Not sure what I am missing here?  Any help is highly appreciated.
    com.businessobjects.reports.jdbinterface.common.DBException: InvalidURLOrClassName
         at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCConnection.Open(Unknown Source)
         at com.crystaldecisions.reports.queryengine.JDBConnectionWrapper.Open(SourceFile:123)
         at com.crystaldecisions.reports.queryengine.Connection.br(SourceFile:1771)
         at com.crystaldecisions.reports.queryengine.Connection.bs(SourceFile:491)
         at com.crystaldecisions.reports.queryengine.Connection.t1(SourceFile:2979)
         at com.crystaldecisions.reports.queryengine.Table.u7(SourceFile:2408)
         at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
         at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
         at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
         at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
         at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:657)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:163)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:525)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:523)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$3.doWork(ExecutorWithIdleProcessing.java:182)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityTask.run(PriorityTask.java:75)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.runSubtask(PriorityCompoundCancellableRunnable.java:187)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityProgressAwareRunnable.runSubtask(PriorityProgressAwareRunnable.java:90)
         at com.businessobjects.crystalreports.designer.core.util.thread.PriorityCompoundCancellableRunnable.doWork(PriorityCompoundCancellableRunnable.java:144)
         at com.businessobjects.crystalreports.designer.core.util.thread.AbstractCancellableRunnable.run(AbstractCancellableRunnable.java:69)
         at com.businessobjects.crystalreports.designer.core.util.thread.ExecutorWithIdleProcessing$IdleTask.run(ExecutorWithIdleProcessing.java:320)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Thanks
    Karthik
    Edited by: KARTHIK1 on Oct 14, 2009 9:38 PM

    Hi Ted,
    Thanks for the feedback. I was able to create a report in Creystal Reports Designer 2008 using OCI.  It is not allowing only in the Eclipse plugin. In our environment we are not allowed to user Oracle thin connections and ONLY OCI is allowed.
    1) Can you please let me know if there is a way to do this? 
    2) Will it allow data sources using native database driver?
    3) If so, can I use JRC to create these reports from a desktop java program?
    Thanks & Regards
    Karthik
    Edited by: KARTHIK1 on Oct 15, 2009 4:38 PM

  • Crystal Subreport Oracle Session Problem

    dear all <br /><br />We are using Oracle 9i,Crystal Report 9 and Visual Basic 6 as FrontEnd <br />in which we are using RDC. We have limited sessions in Oracle and we <br />can&#39;t increase them. When we connect a simple report through set data <br />source method it doesn&#39;t occupy any oracle session, but when we use a <br />report in which have subreports,WE get null password given error.If we set connection properties. It takes sessions we just want to open <br />subreports without any extra session. I tried connection properties in <br />code, but it doesn&#39;t work. <br /><br /><br />warrm regards <br />Nikunj

    When you use the setdatasource method to pass a dataset to a report you won't see any additional oracle connections being used because the connection used to create the original recordset will be used. This is called the 'data push' method. When you run a report with sub-reports and you let the report 'pull' the data it will connect to the database and use an oracle connection. In the case of sub-reports I believe it may make one connection per sub-report.
    The way to get around this is to use the setdatasource method on the subreports aswell. If you decide to do this then you will want to uncheck "Verify Stored Procs" in the report designer settings. Are the subs using the same connection/tables as the main? Apparently, calling LogoffServer() helps, even tho LogonServer is not used. It is the main rpt that does not use an Oracle session using a RecordSet? (Push model). If so, use the same for subs, then only the code will connect, and build a recordset and the report will not need to connect at all.
    Rob Horne
    http://diamond.businessobjects.com/blog/10

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

Maybe you are looking for

  • How to use the same image map over and over

    Sorry, I posted this a couple of years ago and got a good answer by Murray. I'm so rusty with it, I can understand how it works anymore. Question: I have a large jpeg image map for a hundred pages. The jpegs are all the same except I changed the city

  • Mail issues since upgrading to Mountain Lion

    Hello everyone, Today I've upgraded to Mountain Lion. When I opened mail my (serveral) hotmail accounts didn't work (kept 'offline'). Got this message: "Mail can't connect to the account ***@live.nl" http://img835.imageshack.us/img835/6369/geenverbin

  • Struggling to get a signal from my Midi Keyboard

    I have Logic Pro X and a couple of weeks ago managed to successfully connect up by Korg Workstation to act as a Midi Keyboard so that I could access the library and play the sounds in real time  through the keyboard. I have just moved my studio to a

  • About conversion rule using BD79

    Dear experts, I would like to fall back on your help on the conversion rule in BD79. In our system, there is a HTTP connection used for sending IDoc to the website. The Unit of measurement need be converted when sending out to the receiver side. The

  • How do I drag clips to a bin?

    All of a sudden I did the updates and I can't drag clips from my timeline to a bin? Help? Creative Cloud Subscription