IBM Support

IJ08965: AQL QUERIES CONTAINING ASSET FUNCTIONS CAN FAIL WHEN RUN AGAINST LARGE ASSET MODELS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • It has been identified that AQL queries containing ASSET
    functions can fail against large asset models.
    
    When this occurs:
    Applications such as UBA might show "code": 404 messages
    instead of usage data.
    Queries made on the Log Activity page might show "An error
    occurred during the search." instead of the intended search
    results.
    Messages similar to the following might be visible in
    /var/log/qradar.log when this issue is occurring:
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]
    com.q1labs.frameworks.nio.exceptions.ExtendedRuntimeException:
    GenericAssetFunction function: Error during initialization
    com.q1labs.core.aql.AssetUserFunction
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction.initialize(GenericAsset
    Function.java:221)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.util.Utils.initialize(Utils.java:458)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.ql.parser.ScalarFunctionKeyCreator.initialize(S
    calarFunctionInfo.java:1109)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.util.Utils.initialize(Utils.java:458)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTreeUtils$Initializer.process(IndexTreeUti
    ls.java:24)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.useTree(IndexTree.java:254)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.useTree(IndexTree.java:256)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.useTree(IndexTree.java:256)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.initialize(IndexTree.java:300)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.util.Utils.initialize(Utils.java:458)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTreeUtils$Initializer.process(IndexTreeUti
    ls.java:24)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.useTree(IndexTree.java:254)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.useTree(IndexTree.java:256)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.useTree(IndexTree.java:256)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.IndexTree.initialize(IndexTree.java:300)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.util.Utils.initialize(Utils.java:458)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.QueryParams.initialize(QueryParams.java:1041)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.searches.tasks.ArielQueryTask.waitForChildrenAn
    dInitializeParameters(ArielQueryTask.java:232)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.searches.tasks.ArielQueryTask.execute(ArielQuer
    yTask.java:64)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.searches.tasks.ServiceTaskBase.runTask(ServiceT
    askBase.java:89)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.searches.tasks.ServiceTask.runTask(ServiceTask.
    java:69)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.ariel.searches.tasks.ServiceTaskBase$Runner.run(Servi
    ceTaskBase.java:32)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1160)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:635)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.lang.Thread.run(Thread.java:811)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5] Caused by:
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]
    java.lang.Exception: Error during initialization
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$CacheManager.initialize
    (GenericAssetFunction.java:511)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$CacheManager.access$000
    (GenericAssetFunction.java:432)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction.checkoutCache(GenericAs
    setFunction.java:326)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction.initialize(GenericAsset
    Function.java:212)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    ... 18
    more
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5] Caused by:
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]
    java.lang.RuntimeException: Failed to invoke updateCache
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$CacheManager.updateCach
    e(GenericAssetFunction.java:664)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$CacheManager.initialize
    (GenericAssetFunction.java:494)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    ... 21
    more
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5] Caused by:
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]
    java.nio.BufferOverflowException
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.nio.DirectByteBuffer.put(DirectByteBuffer.java:366)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.nio.ByteBuffer.put(ByteBuffer.java:859)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.nio.KeySerializers$StringKeySerializer.put
    (KeySerializers.java:1411)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.nio.KeySerializers$StringKeySerializer.put
    (KeySerializers.java:1386)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$TreeMapSerializer.put(G
    enericAssetFunction.java:119)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$TreeMapSerializer.put(G
    enericAssetFunction.java:79)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache$InsertionChainEntry
    .serialize(ChainAppendCache.java:331)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache$ChainEntry.write(Ch
    ainAppendCache.java:266)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache.addDiskEntry(ChainA
    ppendCache.java:1131)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache.access$100(ChainApp
    endCache.java:43)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache$1.removeEldestEntry
    (ChainAppendCache.java:465)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.util.LinkedHashMap.afterNodeInsertion(LinkedHashMap.java:31
    0)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.util.HashMap.putVal(HashMap.java:675)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    java.util.HashMap.put(HashMap.java:623)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache$1.put(ChainAppendCa
    che.java:392)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache$1.put(ChainAppendCa
    che.java:367)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.frameworks.cache.ChainAppendCache.put(ChainAppendCach
    e.java:1108)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$CacheManager.putInCache
    (GenericAssetFunction.java:718)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]    at
    com.q1labs.core.aql.GenericAssetFunction$CacheManager.updateCach
    e(GenericAssetFunction.java:652)
    [ariel_proxy.ariel_proxy_server]
    [ariel_query_14:0ebaccb8-e31a-44c3-90f3-5aebffcb19f5]
    

Local fix

  • Contact Support for a possible workaround that might address
    this issue in some instances.
    

Problem summary

  • This issue was fixed in QRadar QRM QVM release of 7.3.3 GA.
    

Problem conclusion

  • This issue was fixed in QRadar QRM QVM release of 7.3.3 GA.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ08965

  • Reported component name

    QRADAR SOFTWARE

  • Reported component ID

    5725QRDSW

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-05

  • Closed date

    2019-12-08

  • Last modified date

    2019-12-08

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

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

Fix information

  • Fixed component name

    QRADAR SOFTWARE

  • Fixed component ID

    5725QRDSW

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"}, "Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"720","Edition":""}]

Document Information

Modified date:
08 December 2019