Null Pointer Exception in "Documents" page after creating a Coll. room

Hi,
  I am new to KMC. we are on EP7 SP5.
  I have created a collaboration room template.. and created a ROOM (say CommunityRoom) via this Room template...
  I have referred the following document:
<a href="http://sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/Collaboration%20with%20SAP%20NetWeaver%20Learn%20How%20to%20Create%20New%20Collaboration%20Room%20Templates%20Exercise">How to create a collaboration room template</a>
(Probably as this document was on EP6.. i didn't have all the properties and their parameters ..exactly as said in this document)
  I have added the following pages in the Room template:
[code]  --> com.sap.netweaver.coll.RoomDiscussionsPage
  --> com.sap.netweaver.coll.RoomDocumentsPage
  --> RoomMaintenance
  --> Test page (my custom page.. )[/code]
  After i enter into the room..i am able to see the discussions, room maintenance & test page .. pages...but, I am getting the following error in the 'Documents' page:
[code]     java.lang.NullPointerException
     at com.sap.ip.collaboration.core.impl.properties.resolver.ConfigFWKPropertyResolver.wrapConfigurable(ConfigFWKPropertyResolver.java:313)
     at com.sap.ip.collaboration.core.impl.properties.resolver.ConfigFWKPropertyResolver.wrapValue(ConfigFWKPropertyResolver.java:331)
     at com.sap.ip.collaboration.core.impl.properties.resolver.ConfigFWKPropertyResolver.wrapConfigurable(ConfigFWKPropertyResolver.java:320)
     at com.sap.ip.collaboration.core.impl.properties.resolver.ConfigFWKPropertyResolver.getWrappedConfigurable(ConfigFWKPropertyResolver.java:287)
     at com.sap.ip.collaboration.core.impl.properties.resolver.ConfigFWKPropertyResolver.resolveProperty(ConfigFWKPropertyResolver.java:86)
     at com.sap.ip.collaboration.core.impl.properties.PropertyRegistry.getPropertyFromConfigFWK(PropertyRegistry.java:115)
     at com.sap.ip.collaboration.core.impl.properties.PropertyRegistry.getProperty(PropertyRegistry.java:89)
     at com.sap.ip.collaboration.core.impl.properties.portal.PropertyRegistryService.getProperty(PropertyRegistryService.java:50)
     at com.sap.netweaver.coll.coreui.api.registry.PropertyRegistryReader.getContextMenus(PropertyRegistryReader.java:83)
     at com.sap.netweaver.coll.coreui.api.generic.GenericUIBOGroupCommand.getResourceCommands(GenericUIBOGroupCommand.java:125)
     at com.sapportals.wcm.rendering.uicommand.UIGroupCommand.getResourceGroupCommands(UIGroupCommand.java:131)
     at com.sapportals.wcm.rendering.uicommand.UIGroupCommand.getResourceCommands(UIGroupCommand.java:101)
     at com.sapportals.wcm.rendering.uicommand.UIGroupCommand.getListWithReplaceCommands(UIGroupCommand.java:191)
     at com.sapportals.wcm.rendering.uicommand.UIMenuFactory.getRenderMenu(UIMenuFactory.java:217)
     at com.sapportals.wcm.rendering.readymades.UICommandComponent.buildContentWithFactory(UICommandComponent.java:156)
     at com.sapportals.wcm.rendering.readymades.UICommandComponent.buildContent(UICommandComponent.java:140)
     at com.sapportals.wcm.control.util.components.base.BaseCompositeComponent.buildComposition(BaseCompositeComponent.java:190)
     at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:34)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:34)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.Container.preRender(Container.java:118)
     at com.sapportals.htmlb.rendering.PageContext.render(PageContext.java:944)
     at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)
     at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
     at com.sapportals.htmlb.page.PageProcessorServlet.handleRequest(PageProcessorServlet.java:62)
     at com.sapportals.htmlb.page.PageProcessorServlet.doGet(PageProcessorServlet.java:29)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sapportals.wcm.app.servlet.WcmHtmlbBaseServlet.service(WcmHtmlbBaseServlet.java:104)
     at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:332)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
     at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
     at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
     at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
     at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
     at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
     at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
     at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
     at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)[/code]
   I guess, i have made some mistake in the mappings section of the 'Documents' page. I have given the following mappings:
<b>com.sap.netweaver.coll.RoomDocumentsPage</b> PAGE:
[code]  1) <i>com.sap.netweaver.coll.RoomInformation</i> iView
     --> com_sap_netweaver_coll_information_roomid = roomid
  2) <i>com.sap.netweaver.coll.RoomDocuments</i> iView
     --> roomId = roomid
     i couldnot map the properties <b>path</b> and <b>startUri</b> = <i>'private_store_cmStore'</i> (as I didn't have the option <i>'private_store_cmStore'</i> in the dropdown on the right hand side)
  3) <i>com.sap.netweaver.coll.RoomMemberList</i> iView
     --> path = room_allusersgroup_rid
     --> roomRid = room_rid
     --> startUri = room_allusersgroup_rid[/code]
What could be the issue?
Please help me...
Regards,
SK.

Hi Devendra,
Did you get a chance to see the OA Framework FileUploadBean section in Dev guide. When you create a messageFileUpload bean, you might not require to write custom logic. Please see the dev guide section for details
Regards
Sumit

Similar Messages

  • Null pointer exception in Search page with ADF

    Hi,
    I have an entity and view object for table1. I created one more viewobject for the same entity object. And the viewobject has the following query with a bind variable.
    select * from table1 where table1.value = :bindVar
    I added this view object into my application module. I dragged and dropped the 'ExecutewithParams' option into my jsp page. I was trying to run this page to atleast get the search field. But I am getting following exception.
    javax.faces.el.EvaluationException: java.lang.NullPointerException     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:190)     at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:143)     at com.sun.faces.util.Util.evaluateVBExpression(Util.java:974)     at com.sun.faces.taglib.jsf_core.ConvertNumberTag.evaluateExpressions(ConvertNumberTag.java:256)     at com.sun.faces.taglib.jsf_core.ConvertNumberTag.createConverter(ConvertNumberTag.java:219)     at javax.faces.webapp.ConverterTag.doStartTag(ConverterTag.java:130)     at com.sun.faces.taglib.jsf_core.ConvertNumberTag.doStartTag(ConvertNumberTag.java:205)     at resources.jsp._CRSCF001._jspService(_CRSCF001.java:149)     [resources/jsp/CRSCF001.jsp]
    I tried the same search page with a new workspace. But it worked well.
    I am not able to figure out what went wrong with the application.
    Could anyone please help me with this issue?
    Thanks,
    Priya.S

    Hi,
    drag it as a parameter form and it should work as you expect it.
    Frank

  • Null pointer exception in jsp ,data missing in chat application

    Hi all....
    I have a chat application in jsp using ajax.I have opened a d/b connection in a jsp which is called each time I sent a message.But sometimes I get null pointer exception in this page when msgs are sent so fast...also I miss some of the msgs I sent....I can't avoid that connection ther..When I commented all those d/b connection statements...everything is working fine..Please suggest me any solution...
    Thanks in advance.

    Hi,
    Am not getting exception now.In the jsp wer I ve written connection,am taking some values using request.getParameter("msg") . I had opened the connection statement before getting these parameter values.Think I ws getting null pointer exception due to this.Now I have opened connection after getting these parameter values...anyway am not getting the exception now...
    Thanks.

  • Compleated guided procedure task throws Java.lang.null pointer exception.

    Hello,
    Compleated guided procedure task throws Java.lang.null pointer exception in UWL.
    From UWL  tracking of finished task of guided procedures throws null pointer exception .
    Guided procedure is created in local J2EE Engine not in Back end SAP System.
    Any ideas.
    Regards
    Mark

    Hi
    If u solved the problem mentioned above please tell me g\how u managed to do it.We are facing the same issue.Completed gp shows the same exception while opening from tracking tab

  • SAP Portal Display Documents is hanging with Null Pointer Exception

    Hi I am having problems with an iview from the products section of SAP standard iviews
    In my portal page I have the following three iviews, find documents, display master data and display documents both the find docs and display master data work great, but the display documents seems to hang and a java Null Pointer Exception shows in the data frame of IE.  It hangs up the whole page and I have to keep hitting back button to close the window and open.  I have the following in config for web front end
    DOC_OBJ is mapped to DOKAR, DOKNR, DOKVR and DOKTL with default set.
    DOC_REQ is set to DOKAR default checked
    EQUI_REQ is set to EQUI-EQUNR default checked
    This is under SIMG_SPORT -> products -> select data fields for web front end
    Am I missing something?
    Cheers,
    Devlin

    The following code is your problem:
    //-------construct
    public void MySlide()
      contents = new Tile[ROWS][COLS];
      reset();
    }Constructors don't return anything including void. Therefore you really aren't calling the above method as you assume in your main method as it is not a constructor. Remove the void keyword and your initializing code will execute properly.

  • Creating SC dependencies result in null pointer exception

    Hi
    I have installed JDI landscape and am nearly finished but I encounter a null pointer exception when I tried to adjust dependencies for my newly created SC and as a result I cannot create a track (no SCs could be added to it).
    The exception is as follows:
    java.lang.NullPointerException
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.supplyFilteredSoftwareComponentVersions(CreateNewDependency.java:231)
         at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.supplyFilteredSoftwareComponentVersions(InternalCreateNewDependency.java:378)
         at com.sap.sld.wd.softwarecatalog.wdp.IPrivateCreateNewDependency$IFilteredSoftwareComponentVersionsNode.doSupplyElements(IPrivateCreateNewDependency.java:1693)
         at com.sap.tc.webdynpro.progmodel.context.Node.supplyElements(Node.java:406)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElementList(Node.java:345)
         at com.sap.tc.webdynpro.progmodel.context.Node.getElements(Node.java:333)
         at com.sap.tc.webdynpro.progmodel.context.Node.size(Node.java:721)
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.onActionSort(CreateNewDependency.java:588)
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.onActionAutoSort(CreateNewDependency.java:578)
         at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.onActionAutoSort(InternalCreateNewDependency.java:522)
         at com.sap.sld.wd.softwarecatalog.CreateNewDependency.wdDoModifyView(CreateNewDependency.java:157)
         at com.sap.sld.wd.softwarecatalog.wdp.InternalCreateNewDependency.wdDoModifyView(InternalCreateNewDependency.java:830)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
         at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:759)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    PLEASE help me out
    Thanks

    Hi,
    Did you create Product/Software Components in SLD? And did you define dependencies(the three standard SAP SCs) for the SC in SLD? Did you update CMS after you've created SCs/dependencies in SLD?
    Thanks,
    Rajit Srinivas

  • Jbo null pointer exception whilst creating an AM

    Hello,
    I am trying to create some EO's,VO's and associated AM. At the end of the creation, I tend to get the following error
    Load Error
    Exception: oracle.jbo.dt.objects.JboException(java.lang.NullPointerException).
    The creation of EO's runs smooth, but if I decide to create the associated VO's and the AM, the application hangs, and I have to kill it before I can move forward.
    Please guide me

    I am sorry I was ambiguous in my previous post.
    I am trying to create a EO/VO/AM triplet for a host of tables using JDev 11g, and the tables under the 'mct' database.
    I followed the following steps to create my triplet.
    1. Using the EO wizard, I selected a host of tables, for instance, MCT_CONFIG_CONTACT_CENTER_VL from the MCT db
    2. Following the usual steps, I tend to get the null pointer exception, with a 'load error' for one of the classes contained in a zip file, which I do not think I'm using, in the creation of the EO.
    In the light of the above scenario, can you please guide me?

  • Null pointer exception when running OAF page

    Hi
    I am getting null pointer exception when i execute the code below.
    OAApplicationModule am = oapagecontext.getRootApplicationModule();
    OAApplicationModuleImpl childam = (OAApplicationModuleImpl)am.findApplicationModule("QuestAnswerAM");
    oapagecontext.putDialogMessage(new OAException("PER", "XXOM_APPR_OVR_NULL_MSG"+am+childam, null, OAException.ERROR, null));
    OAViewObjectImpl VO= (OAViewObjectImpl)childam.findViewObject("QuestDetailsVO") ;
    OAViewRowImpl Dff1Row = (OAViewRowImpl)VO.getCurrentRow();
    quest = Dff1Row.getAttribute("LastUpdateDate");
    I later commented out the last 3 lines and used the code below to track the application module name.
    OAApplicationModule am = oapagecontext.getRootApplicationModule();
    OAApplicationModuleImpl childam = (OAApplicationModuleImpl)am.findApplicationModule("QuestAnswerAM");
    oapagecontext.putDialogMessage(new OAException("PER", "XXOM_APPR_OVR_NULL_MSG"+am+childam, null, OAException.ERROR, null));
    When i run the page i am getting this error:
    Message not found. Application: PER, Message Name: XXOM_APPR_OVR_NULL_MSGoracle.apps.per.selfservice.appraisals.server.AppraisalsAMImpl@2982bfnull.
    the above error indicates that the Root application module is AppraisalsAMImpl.
    But the view i need that is QuestDetailsVO exists in a child AM that is QuestAnswerAM. However in the above diag message as you can see it returns child AM to be null.
    When i click on About this page it clearly says that the QuestDetailsVO exists in QuestAnswerAM
    Please help
    Thanks
    Ashish

    Hi
    Thanks for the quick response.
    I am fine with the error message:
    Message not found. Application: PER, Message Name: XXOM_APPR_OVR_NULL_MSGoracle.apps.per.selfservice.appraisals.server.AppraisalsAMImpl@2982bfnull.
    I am getting message not found becos I have registered only XXOM_APPR_OVR_NULL_MSG and am displaying '+am+childam' also in the exception which is not associated with the registered message.
    See below.
    oapagecontext.putDialogMessage(new OAException("PER", "XXOM_APPR_OVR_NULL_MSG"+am+childam, null, OAException.ERROR, null));
    I am fine with that. My concern is in the error above for 'am' part i am getting the root appl module name. but for childam i am getting null
    Message not found. Application: PER, Message Name: XXOM_APPR_OVR_NULL_MSGoracle.apps.per.selfservice.appraisals.server.AppraisalsAMImpl@2982bf*null*.
    See the high lighted.
    I will look into the current row returning -1 issue and get back to you./
    Thanks
    Ashish

  • Null pointer exception with ImageToBuffer.create(........)

    I'm trying to draw two lines on received video frames so I implemented an effect that takes a frame then :
    frame = Buffer -> Image -> BufferedImage -> draw lines -> Image -> Buffer ( Problem ).
    the problem is in converting the Image back to Buffer in order to assign it as the Effect outcome buffer ( which will be showed ), the process function code is as followed :
    BufferToImage bti;
    ImageToBuffer itb;
    public int process(Buffer inBuffer, Buffer outBuffer)
    Object data = inBuffer.getData();
    if (bti == null)
    bti = new BufferToImage( (VideoFormat) inBuffer.getFormat());
    Image image = bti.createImage(inBuffer);
    if (image != null)
    Graphics2D g = bImage.createGraphics();
    g.drawImage(image, null, null);
    g.drawLine(160, 0, 160, 240);
    g.drawLine(0, 120, 320, 120);
    if (itb == null)
    itb = new ImageToBuffer();
    Image i = Toolkit.getDefaultToolkit().createImage(bImage.getSource());
    if (b == null)
    b = new Buffer();
    b = itb.createBuffer(i, 15); ///causes null pointer exception
    if (b != null)
    inBuffer.setData(outBuffer.getData());
    outBuffer.setData(b.getData());
    else
    inBuffer.setData(outBuffer.getData());
    outBuffer.setData(data);
    // Copy the input attributes to the output
    outBuffer.setFormat(inBuffer.getFormat());
    outBuffer.setLength(inBuffer.getLength());
    outBuffer.setOffset(inBuffer.getOffset());
    return BUFFER_PROCESSED_OK;
    Any solutions for the problem.
    Thank you for replying in advance..

    thanks Timo
    through this URL i get possible deletion methods...
    pls give more Information about the concept of removeRowWithKey, setCurrentRowWithKey, setCurrentRowWithKeyValue operation.... Just For Knowledge....
    Edited by: NZL on Mar 2, 2012 9:37 AM
    Edited by: NZL on Mar 2, 2012 9:42 AM

  • Null Pointer Exception after adding Transient attribute in View Object

    Hello Experts
    I am using Jdev 11.1.2.3. I have added a transient attribute in view object and set default value to another view object attribute via view accessor of view link between view objects. the value of expression is ItemMasterRO.Description, where ItemMasterRO is the name of view accessor define in the view link and Description is the name of attribute which is in other view object.
    Data is retrieving as per my requirements, but when i click on add record button in application module, it is throwing a  null pointer exception. Here is stack trace
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
        at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1218)
        at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1253)
        at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1075)
        at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2132)
        at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1856)
        at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1967)
        at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:829)
        at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:911)
        at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:859)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1213)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:764)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:792)
        at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.updateValuesFromRow(JUCtrlAttrsBinding.java:145)
        at oracle.jbo.uicli.jui.JULabelBinding.updateValuesFromRow(JULabelBinding.java:114)
        at oracle.jbo.uicli.binding.JUIteratorBinding.updateValuesFromRows(JUIteratorBinding.java:349)
        at oracle.adf.model.binding.DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:867)
        at oracle.adf.model.binding.DCIteratorBinding.refreshControlAndNotifyDCE(DCIteratorBinding.java:707)
        at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:676)
        at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:485)
        at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4555)
        at oracle.adf.model.binding.DCBindingContainer.refreshExecutables(DCBindingContainer.java:3542)
        at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3375)
        at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:2938)
        at oracle.jbo.jbotester.NavigationBar.doInsertAction(NavigationBar.java:143)
        at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:110)
        at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6289)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6054)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4652)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4482)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4482)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
        at java.awt.EventQueue.access$000(EventQueue.java:85)
        at java.awt.EventQueue$1.run(EventQueue.java:603)
        at java.awt.EventQueue$1.run(EventQueue.java:601)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$2.run(EventQueue.java:617)
        at java.awt.EventQueue$2.run(EventQueue.java:615)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.lang.NullPointerException
        at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.acceptGetProperty(PogoGetPropertySite.java:32)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
        at bc4j_com_syncreon_model_queries_SequenceItemContainerXrefVO_ItemDescription_null_gs.run(bc4j_com_syncreon_model_queries_SequenceItemContainerXrefVO_ItemDescription_null_gs.groovy:1)
        at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1200)
        ... 62 more
    ## Detail 0 ##
    java.lang.NullPointerException
        at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.acceptGetProperty(PogoGetPropertySite.java:32)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGetProperty(AbstractCallSite.java:237)
        at bc4j_com_syncreon_model_queries_SequenceItemContainerXrefVO_ItemDescription_null_gs.run(bc4j_com_syncreon_model_queries_SequenceItemContainerXrefVO_ItemDescription_null_gs.groovy:1)
        at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:1200)
        at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:1253)
        at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:1075)
        at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2132)
        at oracle.jbo.server.ViewRowStorage.getAttributeInternal(ViewRowStorage.java:1856)
        at oracle.jbo.server.ViewRowImpl.getAttributeValue(ViewRowImpl.java:1967)
        at oracle.jbo.server.ViewRowImpl.getAttributeInternal(ViewRowImpl.java:829)
        at oracle.jbo.server.ViewRowImpl.getAttrInvokeAccessor(ViewRowImpl.java:911)
        at oracle.jbo.server.ViewRowImpl.getAttribute(ViewRowImpl.java:859)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.internalGetAttributeValueFromRow(JUCtrlValueBinding.java:1213)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:764)
        at oracle.jbo.uicli.binding.JUCtrlValueBinding.getAttributeFromRow(JUCtrlValueBinding.java:792)
        at oracle.jbo.uicli.binding.JUCtrlAttrsBinding.updateValuesFromRow(JUCtrlAttrsBinding.java:145)
        at oracle.jbo.uicli.jui.JULabelBinding.updateValuesFromRow(JULabelBinding.java:114)
        at oracle.jbo.uicli.binding.JUIteratorBinding.updateValuesFromRows(JUIteratorBinding.java:349)
        at oracle.adf.model.binding.DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:867)
        at oracle.adf.model.binding.DCIteratorBinding.refreshControlAndNotifyDCE(DCIteratorBinding.java:707)
        at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:676)
        at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:485)
        at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4555)
        at oracle.adf.model.binding.DCBindingContainer.refreshExecutables(DCBindingContainer.java:3542)
        at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3375)
        at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:2938)
        at oracle.jbo.jbotester.NavigationBar.doInsertAction(NavigationBar.java:143)
        at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:110)
        at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:118)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
        at java.awt.Component.processMouseEvent(Component.java:6289)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6054)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4652)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4482)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4482)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
        at java.awt.EventQueue.access$000(EventQueue.java:85)
        at java.awt.EventQueue$1.run(EventQueue.java:603)
        at java.awt.EventQueue$1.run(EventQueue.java:601)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
        at java.awt.EventQueue$2.run(EventQueue.java:617)
        at java.awt.EventQueue$2.run(EventQueue.java:615)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Please advice....
    Thanks

    Hi,
    Just the exception stack without any information like what JDev version, what expression you've used for the default value of the transient attribute etc., is not enough for us to help you.
    -Arun

  • Null pointer exception when relaunching the admin console after failover

              Hi All,
              I am facing a strange type of problem for last few days can you please help
              me in solving this problem .
              This Problem is like That
              In the My domian or other similar enviroment (i.e. Service Guarded admin server,
              with managed server clusters running on two separate servers)
              when I Bring up the admin console as usual via a web browser
              And Start both managed servers in a cluster
              Then Sends transactions to the clustered pair of managed servers
              Observed that transation flow is normal
              Then during Failover the managed server from the primary to the secondary i observed
              that
              While the failover is in process, observe the transaction flow and verify that
              it is not interrupted
              When the failover completes log in to the admin console via the web browser I
              am getting a null pointer exception...
              can you please suggest me the soultion
              

              Hi All,
              I am facing a strange type of problem for last few days can you please help
              me in solving this problem .
              This Problem is like That
              In the My domian or other similar enviroment (i.e. Service Guarded admin server,
              with managed server clusters running on two separate servers)
              when I Bring up the admin console as usual via a web browser
              And Start both managed servers in a cluster
              Then Sends transactions to the clustered pair of managed servers
              Observed that transation flow is normal
              Then during Failover the managed server from the primary to the secondary i observed
              that
              While the failover is in process, observe the transaction flow and verify that
              it is not interrupted
              When the failover completes log in to the admin console via the web browser I
              am getting a null pointer exception...
              can you please suggest me the soultion
              

  • Problem in getEelementById() method-null pointer exception

    Hi All,
    I am using DocumentBuilder factory for parsing a xml file.
    I am getting the document object and also creating an element in
    the root element .And also I am setting the element id for the
    element as attiribute .I need to select the element having same ID
    using getElementById() method .But it is giving null pointer
    exception.
    N.B: My parsing file contains dtd declaration and root element.
    My sample code look like this;
    DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
    DocumentBuilder db=dbf.newDocumentBuilder();
    Document doc=db.parse(ne File("C:/index.xml");
    Element root t=doc.getDocumentElement();
    root.setAttribute("ID","12345");
    Element oElement = doc.createElement(element_name);
    oElement.setAttribute("ID",element_id);
    Element oEle=doc.getElementById(element_id);
    Could anyone please to solve this problem.
    Please do favour with me.
    Thanks and Regards,
    Sreekanth

    while creating xml you should mention which attribute is ID attribute using
    setIDAttribute() method,
    as you are setting "ID" attribute as ID so
    after adding Id attribute to the root element
    use setIDAttribute("ID",true);
    then getElementById will return the element by using ID
    regards
    shivakumar.T

  • Null pointer exception to database

    I can' figure out why it keeps giving me a null pointer exception. I have a database in which I am supposed to search through it based on user input given on a servlet page. Here is the code. Also if anyone could help me on how to execute queries based on an exact search, all search, or any search, that would be great. thanks
    import java.io.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.*;
    public class WelcomeServlet extends HttpServlet{
        String keywords = null;
        int nResults = 0;
        String logic = null;
        StringTokenizer list;
        int nRows = 0;
        int i = 0;
        Statement stmt = null;
        ResultSet rs = null;
        String[] wordList = null;
        public void init()
            try{
         Class.forName("com.mysql.jdbc.Driver");
            }catch(ClassNotFoundException cnfe){};
            try{
            Connection conn = DriverManager.getConnection("jdbc:mysql://localhost/cop4610webs",
            "root", "anatoly");
            conn.createStatement();
            conn.close();
            }catch(SQLException sqle){};
        protected void doGet(HttpServletRequest req, HttpServletResponse rep) throws IOException
           try{
           keywords = req.getParameter("keywords");
           logic = req.getParameter("logic");
           nResults = Integer.parseInt(req.getParameter("number"));
           rep.setContentType("text/html");
           PrintWriter out = rep.getWriter();
          out.println("<html>");
          // head section of document
          out.println( "<head><title>Servlet Example</title></head>");
          // body section of document
          out.println( "<body>" );
          out.println( "<h1>Welcome to Servlets!</h1>" );
         // if(keywords.length()==0)
          //out.println("NO SEARCH WORDS WERE ENTERED, PRESS BACK TO ENTER SEARCH WORD(S)");
          //else
              rs = stmt.executeQuery("SELECT protocolID,serverID,pageName FROM pages WHERE pageContent LIKE %ucf%");
            out.println(rs.getString(1) + rs.getString(2) + rs.getString(3));
          out.println( "</body>" );
          // end XHTML document
          out.println( "</html>" );
          out.close();  // close stream to complete the page
           }catch(SQLException sqle){};
    }

    It's easy to see why:
    conn.createStatement();This method returns a Statement, but you don't assign that value to anything. Your data member stmt is set to null and you never change the value.
    You've got another problem, though. Once you close that connection you can't talk to the database anymore.
    You either have to create a connection inside the doGet and close both as soon as you're done with it OR figure out how to use a connection pool. Tomcat can do it for you. Maybe it's worth a read:
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    You're not working with the ResultSet properly, either. Do something like this:
    rs = stmt.executeQuery("SELECT protocolID,serverID,pageName FROM pages WHERE pageContent LIKE %ucf%");
    while (rs.next())
       out.println(rs.getString(1) + rs.getString(2) + rs.getString(3));
    }I'm not sure how well that LIKE clause is going to work out.
    I'd look at the JDBC tutorial to the left, too. It doesn't look like you've done SQL and JDBC before. - MOD

  • Null Pointer Exception and Illegal Arguement when ran with Wireless Toolkit

    The following code throws a null pointer exception after it tried to initialize the textBox. I am not sure if there is something I am not importing, or if it's just because I'm sick and my head is cloudy. :-}.
    I am using Wireless Toolkit 2.2 and Java 5.0
    Anyhelp would be appreicated. Thank You.
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    public class TacticalTestMain extends MIDlet implements CommandListener {
         private Display display;
         private Form formMain;
         private TextBox tbHelp;          //Text Box for help Command
         private Command cmExit;          //A button to exit midLet
         private Command cmBack;          //Go "back" to main form
         private Command cmHelp;          //Ask for help
         public TacticalTestMain()
              display = Display.getDisplay(this);
              formMain = new Form("Tactical Survey Program");
              cmExit = new Command("Exit", Command.SCREEN, 1);
              cmBack = new Command("Back", Command.BACK, 1);
              cmHelp = new Command("Help", Command.HELP, 1);
              formMain.addCommand(cmExit);
              formMain.addCommand(cmBack);
              formMain.addCommand(cmHelp);
              formMain.setCommandListener(this);
              System.out.println("Before Create Text Box");
              //Create the help textBox with a max of 25 charecters
              tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
              tbHelp.addCommand(cmBack);
              tbHelp.setCommandListener(this);
              System.out.println("AfTER Create Text Box");               
         }//end constructor
         public void startApp()
              System.out.println("Inside StartApp()");
              display.setCurrent(formMain);
         }//end startApp()
         public void pauseApp()
         }//end pauseApp
         public void destroyApp(boolean unconditional)
              notifyDestroyed();
         }//end destroyApp()
         //Check to see if the exit button was selected
         public void commandAction(Command c, Displayable d)
              System.out.println("Inside commandAction()");
              String sLabel = c.getLabel();
              if(sLabel.equals("Exit"))
                   destroyApp(true);
    Errors from the KToolbar:
    Running with storage root DefaultColorPhone
    Before Create Text Box
    Unable to create MIDlet TacticalTestMain
    java.lang.IllegalArgumentException
         at javax.microedition.lcdui.TextField.setChars(+105)
         at javax.microedition.lcdui.TextField.setString(+27)
         at javax.microedition.lcdui.TextField.<init>(+134)
         at javax.microedition.lcdui.TextBox.<init>(+74)
         at TacticalTestMain.<init>(+134)
         at java.lang.Class.runCustomCode(+0)
         at com.sun.midp.midlet.MIDletState.createMIDlet(+19)
         at com.sun.midp.midlet.Selector.run(+22)
    Execution completed.
    743701 bytecodes executed
    23 thread switches
    741 classes in the system (including system classes)
    4071 dynamic objects allocated (120440 bytes)
    2 garbage collections (91412 bytes collected)

    Hi zoya,
    Here is the problem:
    tbHelp = new TextBox("HeLp", "You can press the back button", 25, 0);
    This line declares a maximum textbox size of 25 but in reality he is declaring a textbox of size 29.
    Thats why it is throwing the illegal argument.
    happy coding :)

  • 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.

Maybe you are looking for