IBM Support

JR46438: IAAdmin -create/-update command thorws Null Pointer Exception .

 

APAR status

  • Closed as fixed if next.

Error description

  • Importng Information Analyzer data rule or data rule
    definitions using IAADmin -create -projectContent <xmlfile>
    options can cause a java.lang.NullPointerException. The
    following stack trace will be seen
    
    <?xml version="1.0" encoding="UTF-8"?>
    <exception
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:java="http://java.sun.com"><errorcode>500</errorcode><stac
    ktrace>java.lang.NullPointerException
            at
    com.ascential.investigate.api.internal.ProjectCreator.createFold
    ers(ProjectCreator.java:996)
            at
    com.ascential.investigate.api.internal.ProjectCreator.createProj
    ect(ProjectCreator.java:340)
            at
    com.ascential.investigate.api.APIServiceBridge.create(APIService
    Bridge.java:549)
            at
    com.ascential.investigate.api.server.impl.APIServiceBean.create(
    APIServiceBean.java:231)
            at
    com.ascential.investigate.api.server.EJSRemoteStatelessAPIServic
    e_7c9628f5.create(Unknown Source)
            at
    com.ascential.investigate.api.server._APIServiceRemote_Stub.crea
    te(_APIServiceRemote_Stub.java:899)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
            at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
            at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:37)
            at java.lang.reflect.Method.invoke(Method.java:611)
            at
    com.ibm.is.binding.rest2.Servlet.callOperation(Servlet.java:390)
            at
    com.ibm.is.binding.rest2.Servlet.processRequest(Servlet.java:313
    )
            at
    com.ibm.is.binding.rest2.Servlet.doRequest(Servlet.java:261)
            at
    com.ibm.is.binding.rest2.Servlet.doPost(Servlet.java:230)
            at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
            at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1663)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:939)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:502)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
    (ServletWrapperImpl.java:179)
            at
    com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReques
    t(CacheServletWrapper.java:91)
            at
    com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.
    java:864)
            at
    com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContai
    ner.java:1583)
            at
    com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLin
    k.java:186)
            at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr
    imination(HttpInboundLink.java:452)
            at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe
    quest(HttpInboundLink.java:511)
            at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ
    est(HttpInboundLink.java:305)
            at
    com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpI
    nboundLink.java:276)
            at
    com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sen
    dToDiscriminators(NewConnectionInitialReadCallback.java:214)
            at
    com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.com
    plete(NewConnectionInitialReadCallback.java:113)
            at
    com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureComp
    leted(AioReadCompletionListener.java:165)
            at
    com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyn
    cFuture.java:217)
            at
    com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncC
    hannelFuture.java:161)
            at
    com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
            at
    com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
            at
    com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHand
    ler.java:775)
            at
    com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
            at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
    </stacktrace><classname>java.lang.NullPointerException</classnam
    e><requestURI>/InformationAnalyzer/create</requestURI></exceptio
    n>
    

Local fix

  • Import from export created by existing IA 8.7 RUP 6
    installation.
    
    Fix provided in rollup_RU7_IA_ALL_8702
    

Problem summary

  • Pre 87 RP5 getProject output xml throws NPE with IAAdmin
    -create/-update command on 87 RP6 or higher release version.
    Pre 87RP5 does not have folder attribute hence using Pre 87RP5
    xml file causes NPE on 87 RP6 or 91 FP1 release.To resolve the
    issue upgrade to 87 Rp7 or 91 FIx pack 2.
    

Problem conclusion

Temporary fix

  • Upgrade the system to 87RP6 before exporting getProject output
    to XML file.Now export  it on base server and use the output xml
    to export on target server.
    

Comments

APAR Information

  • APAR number

    JR46438

  • Reported component name

    WIS INFORM ANAL

  • Reported component ID

    5724Q36IA

  • Reported release

    870

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-04-24

  • Closed date

    2013-04-26

  • Last modified date

    2013-08-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R870 PSY

       UP

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSZJLG","label":"InfoSphere Information Analyzer"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.7"}]

Document Information

Modified date:
12 October 2021