Project

General

Custom queries

Profile

Actions

Bug #3882

closed

java.lang.NullPointerException on AppendAggregateProcessor

Added by Lequeux Olivier over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Low
Assigned To:
Category:
-
Target version:
-
Start date:
02/01/2013
Due date:
% Done:

100%

Estimated time:

Description

Conf :

<config xmlns="http://software.in2p3.fr/lavoisier/config.xsd">
    <view name="algo_test">
        <info>
            <category>AR_Algo</category>
        </info>
        <connector type="FileConnector">
            <parameter id="path">../modules/vo_ar/algo/input.xml</parameter>
        </connector>
        <processor type="AppendAggregateProcessor">
            <parameter id="nodes">//entity</parameter>
            <parameter id="node_name">metrics_count</parameter>
            <parameter id="node_values">entity</parameter>
            <parameter id="function">count</parameter>
        </processor>
    </view>
</config>

Fichier input.xml

<entity type="vo" id="atlas">
    <entity type="time" id="123456123">
        <entity type="endpoint_group" id="CE">
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
        </entity>
        <entity type="endpoint_group" id="SE">
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
        </entity>
    </entity>
    <entity type="time" id="123456123">
        <entity type="endpoint_group" id="CE">
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
        </entity>
        <entity type="endpoint_group" id="SE" ar="" re="">
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
            <entity type="endpoint" id="hostname" ar="" re=""/>
        </entity>
    </entity>
</entity>

Actions #1

Updated by Reynaud Sylvain over 12 years ago

  • Description updated (diff)
  • Status changed from New to Resolved
  • Assigned To set to Reynaud Sylvain
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF