ktaschler

XOG null pointer exception

Discussion created by ktaschler on Oct 12, 2010
Latest reply on Oct 12, 2010 by Kathy_Fisher
Hello!   I am having issues getting XOG to work.   I'm new to XOG, and am just trying to execute a few reads, to see how it works.   So far, I have tried reading the resource object, the team object, and the projmgr.resourceWorkloads portlet.   I believe I have the read XML set up correctly, because the data being retrieved looks right, and each time my output file has 3MB - 6MB of data.   However, in each case, at the end of the file, there's a NullPointerException.   I'm assuming that means that not all of the data was retrieved, but I have not been able to figure out what is causing it.   This happens when I run XOG from my desktop, and when I run XOG in the xog.client UI.  

Does anyone know how to get past this error?
<XOGOutput>
        <Object type="contentPack"/>
        <Status state="SUCCESS"/>
        <Statistics failureRecords="0" insertedRecords="0"
            totalNumberOfRecords="46" updatedRecords="0"/>
        <Records>
            <Record>
                <KeyInformation>
                    <column name="view">reqResFinderList</column>
                </KeyInformation>
                <ErrorInformation>
                    <Severity>FATAL</Severity>
                    <Description>XOG-3002: Fatal Error Exception occurred loading filter view information from db. viewCode=reqResFinderList</Description>
                    <Exception><![CDATA[
java.lang.NullPointerException
 at com.niku.odf.griphendor.dal.FilterObjectAdapter.getObject(FilterObjectAdapter.java:57)
 at com.niku.odf.griphendor.dal.FilterObjectAdapter.<init>(FilterObjectAdapter.java:39)
 at com.niku.odf.view.filter.FilterViewLoader.loadObjectInfo(FilterViewLoader.java:2331)
 at com.niku.odf.view.filter.FilterViewLoader.loadViewFromDatabase(FilterViewLoader.java:511)
 at com.niku.odf.view.filter.FilterViewLoader.loadFromDatabase(FilterViewLoader.java:837)
 at com.niku.odf.view.filter.FilterViewLoader.load(FilterViewLoader.java:319)
 at com.niku.odf.view.filter.FilterViewLoader.getLoadedInstance(FilterViewLoader.java:214)
 at com.niku.odf.view.filter.ODFFilterView.load(ODFFilterView.java:150)
 at com.niku.odf.view.filter.ODFFilterView.<init>(ODFFilterView.java:82)
 at com.niku.odf.view.filter.ODFFilterView.<init>(ODFFilterView.java:129)
 at com.niku.odf.view.xbl.ViewHandler.getView(ViewHandler.java:200)
 at com.niku.odf.view.xbl.ViewHandler.preProcess(ViewHandler.java:163)
 at com.niku.odf.view.xbl.XOGFilterViewHandler.preProcess(XOGFilterViewHandler.java:37)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.MatchHandler.preProcess(MatchHandler.java:129)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.TryHandler.preProcess(TryHandler.java:50)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:161)
 at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:91)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.MatchHandler.preProcess(MatchHandler.java:129)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.LoopHandler.processObject(LoopHandler.java:161)
 at com.niku.xql2.handlers.LoopHandler.preProcess(LoopHandler.java:91)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)
 at com.niku.xql2.handlers.TryHandler.preProcess(TryHandler.java:50)
 at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)
 at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)
 at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:36)
 at com.niku.xog.service.XOGXBLHandler.processXBL(XOGXBLHandler.java:243)
 at com.niku.xog.service.XOGXBLHandler.process(XOGXBLHandler.java:149)
 at com.niku.xog.service.ObjectHandler.processRequest(ObjectHandler.java:167)
 at com.niku.xog.service.ObjectHandler.process(ObjectHandler.java:90)
 at com.niku.xog.service.XOGDispatch.processMessage(XOGDispatch.java:114)
 at com.niku.xog.service.XOGSOAPServlet.processMessage(XOGSOAPServlet.java:265)
 at com.niku.xog.service.XOGSOAPServlet.doPost(XOGSOAPServlet.java:87)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1143)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1084)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:587)
 at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3453)
 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
 at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:119)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
 at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)
 at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)
 at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)
 at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)
]]></Exception>
                </ErrorInformation>
            </Record>
        </Records>
    </XOGOutput>

Outcomes