Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2013-08-21T16:02:15Z by F47Y_venkat_avirneni
F47Y_venkat_avirneni
4 Posts
ACCEPTED ANSWER

Pinned topic WinProcessIntegrator fails

‏2013-06-20T22:37:18Z |

HI, i am pretty much new to this produt, We are finding it very hard to Process data , that has been collected by WinProcess collector, We are getting

AUCIN0303E The Integrator process ended unsuccessfully with the following exception: java.lang.NullPointerException. Refer to the log messages and trace files to determine the problem and take the appropriate actions. If the problem persists, contact IBM Software Support.  
**  
Below is the job file we configured, the log file in input section is there in proper folder and i can see some data in there.

To make sure that we are following correct steps, i ran the same file by changing input to sample log file came with sccm installation, it worked.

 

 problem is with the log that has been collected from another windows machine

 

<Process id="WinProcess"
               description="Process for Windows Process Collection"
               active="true">
         <Steps stopOnStepFailure="true">
            <Step   id="server1"
                    description="server1WinProcess - Process"
                    type="ConvertToCSR"
                    programName="integrator"
                    programType="java"
                    active="true">
                <Integrator>
                    <Input name="CollectorInput" active="true">
                        <Collector name="WINPROCESS">
                             <Template filePath="%HomePath%/collectors/winprocess/StandardTemplates.xml" name="WPC_PROC" />
                        </Collector>
                        <Parameters>
                            <Parameter name="LogDate" value="PREMON" DataType="String"/>
                            <Parameter name="Feed" value="server1" DataType="String"/>
                        </Parameters>
                        <Files>
                            <File name="%HomePath%/data/raw/server1/ProcessLog-%LogDate_End%.txt" type="input"/>
                            <File name="%ProcessFolder%/exception.txt" type="exception" />
                        </Files>
                    </Input>
 <Stage name="Aggregator" active="true">
                        <Identifiers>
                            <Identifier name="Feed"/>
                            <Identifier name="headerstartdate"/>
                            <Identifier name="headerstarttime"/>
                            <Identifier name="headerenddate"/>
                            <Identifier name="headerendtime"/>
                            <Identifier name="ProcessName"/>
                            <Identifier name="ProcessPath"/>
                            <Identifier name="Server"/>
                            <Identifier name="User"/>
                            <Identifier name="PriorityClass"/>
                            <Identifier name="BasePriority"/>
                            <Identifier name="Project"/>
                            <Identifier name="HostName"/>
                            <Identifier name="IPAddress"/>
                        </Identifiers>
                        <Resources>
                            <Resource name="WINELPTM"/>
                            <Resource name="WINCPUTM"/>
                            <Resource name="WINKCPUT"/>
                            <Resource name="WINCPUUS"/>
                            <Resource name="WINRDREQ"/>
                            <Resource name="WINKBYTR"/>
                            <Resource name="WINWRREQ"/>
                            <Resource name="WINKBWRI"/>
                            <Resource name="WINPGFLT"/>
                        </Resources>
                        <Parameters>
                            <Parameter defaultAggregation="false"/>
                            <!--Parameter aggregationIntervalMinutes="5"/-->
                            <!--Parameter includeNumRcdsResource="true"/-->
                            <!--Parameter aggregationIntervalValidation="true"/-->
                        </Parameters>
                    </Stage>
 
                    <Stage name="CreateIdentifierFromIdentifiers" active="true" trace="false" stopOnStageFailure="true" >
                        <Identifiers>
                            <Identifier name="Account_Code">
                                <FromIdentifiers>
                                    <FromIdentifier name="HostName"    offset="1" length="12"/>
                                    <FromIdentifier name="IPAddress"   offset="1" length="15"/>
                                    <FromIdentifier name="User"        offset="1" length="12"/>
                                </FromIdentifiers>
                            </Identifier>
                        </Identifiers>
                        <Parameters>
                            <Parameter keepLength="true"/>
                            <Parameter modifyIfExists="true"/>
                        </Parameters>
                    </Stage>
 
                    <Stage name="DropFields" active="true">
                        <Fields>
                            <Field name="Project"/>
                            <Field name="WINPGFLT"/>
                        </Fields>
                    </Stage>
                                       <Stage name="CSRPlusOutput" active="true">
                        <Files>
                            <File name="%ProcessFolder%/server1/%LogDate_End%-WPC_PROC.txt"/>
                        </Files>
                    </Stage>
                </Integrator>
 
  • F47Y_venkat_avirneni
    4 Posts
    ACCEPTED ANSWER

    Re: WinProcessIntegrator fails

    ‏2013-06-21T18:52:20Z  in response to F47Y_venkat_avirneni

    Here is the Log....can someone help us

     

      AUCJR0027I The tivprdcgy998 step started at the following time: Jun 21, 2013 12:49:12 PM.  
     
         AUCJR0056I Parameters passed to this step are:  
     
         AUCJR0057I Single-value parameters:
    logdate=PREDAY
    retentionflag=Keep
    outputfolder=/opt/ibm/tuam/processes/WinProcess/
      
     
         AUCJR0062I Generated external file '/opt/ibm/tuam/processes/WinProcess/tivprdcgy998.xml'  
     
         ** Begin Step Output. **  
     
         Input Stage: CollectorInput  
     
         Collector --> Template --> filePath=/opt/IBM/tivoli/tuam/collectors/winprocess/StandardTemplates.xml,name=WPC_PROC,  
     
         Parameters --> Parameter --> DataType=String,name=LogDate,value=CURMON,  
     
         Parameters --> Parameter --> DataType=String,name=Feed,value=tivprdcgy998,  
     
         Files --> File --> name=/opt/IBM/tivoli/tuam/data/raw/tivprdcgy998/ProcessLog-20130620.txt,type=input,  
     
         Files --> File --> name=/opt/ibm/tuam/processes/WinProcess/exception.txt,type=exception,  
     
         Stage: Aggregator  
     
         Identifiers --> Identifier --> name=Feed,  
     
         Identifiers --> Identifier --> name=headerstartdate,  
     
         Identifiers --> Identifier --> name=headerstarttime,  
     
         Identifiers --> Identifier --> name=headerenddate,  
     
         Identifiers --> Identifier --> name=headerendtime,  
     
         Identifiers --> Identifier --> name=ProcessName,  
     
         Identifiers --> Identifier --> name=ProcessPath,  
     
         Identifiers --> Identifier --> name=Server,  
     
         Identifiers --> Identifier --> name=User,  
     
         Identifiers --> Identifier --> name=PriorityClass,  
     
         Identifiers --> Identifier --> name=BasePriority,  
     
         Identifiers --> Identifier --> name=Project,  
     
         Identifiers --> Identifier --> name=HostName,  
     
         Identifiers --> Identifier --> name=IPAddress,  
     
         Resources --> Resource --> name=WINELPTM,  
     
         Resources --> Resource --> name=WINCPUTM,  
     
         Resources --> Resource --> name=WINKCPUT,  
     
         Resources --> Resource --> name=WINCPUUS,  
     
         Resources --> Resource --> name=WINRDREQ,  
     
         Resources --> Resource --> name=WINKBYTR,  
     
         Resources --> Resource --> name=WINWRREQ,  
     
         Resources --> Resource --> name=WINKBWRI,  
     
         Resources --> Resource --> name=WINPGFLT,  
     
         Parameters --> Parameter --> defaultAggregation=false,  
     
         Stage: CreateIdentifierFromIdentifiers  
     
         Identifiers --> Identifier --> name=Account_Code,  
     
         FromIdentifiers --> FromIdentifier --> length=12,name=HostName,offset=1,  
     
         FromIdentifiers --> FromIdentifier --> length=15,name=IPAddress,offset=1,  
     
         FromIdentifiers --> FromIdentifier --> length=12,name=User,offset=1,  
     
         Parameters --> Parameter --> keepLength=true,  
     
         Parameters --> Parameter --> modifyIfExists=true,  
     
         Stage: DropFields  
     
         Fields --> Field --> name=Project,  
     
         Fields --> Field --> name=WINPGFLT,  
     
         Stage: CSRPlusOutput  
     
         Files --> File --> format=CSRPlusOutput,name=/opt/ibm/tuam/processes/WinProcess//tivprdcgy998/20130620-WPC_PROC.txt,type=output,  
     
         InputFields --> InputField --> columnName=RecordType,dataType=STRING,name=RecordType,position=1,  
     
         InputFields --> InputField --> columnName=ProcessId,dataType=STRING,name=ProcessId,position=2,  
     
         InputFields --> InputField --> columnName=ParentProcessId,dataType=STRING,name=ParentProcessId,position=3,  
     
         InputFields --> InputField --> columnName=ProcessName,dataType=STRING,name=ProcessName,position=4,  
     
         InputFields --> InputField --> columnName=ProcessPath,dataType=STRING,name=ProcessPath,position=5,  
     
         InputFields --> InputField --> columnName=MachineName,dataType=STRING,name=MachineName,position=6,  
     
         InputFields --> InputField --> columnName=UserName,dataType=STRING,name=UserName,position=7,  
     
         InputFields --> InputField --> columnName=TerminalServicesSessionId,dataType=STRING,name=TerminalServicesSessionId,position=8,  
     
         InputFields --> InputField --> columnName=CreateDateTime,dataType=STRING,name=CreateDateTime,position=9,  
     
         InputFields --> InputField --> columnName=ExitDateTime,dataType=STRING,name=ExitDateTime,position=10,  
     
         InputFields --> InputField --> columnName=ExitCode,dataType=STRING,name=ExitCode,position=11,  
     
         InputFields --> InputField --> columnName=IntervalStartDateTime,dataType=STRING,name=IntervalStartDateTime,position=12,  
     
         InputFields --> InputField --> columnName=IntervalEndDateTime,dataType=STRING,name=IntervalEndDateTime,position=13,  
     
         InputFields --> InputField --> columnName=ElapsedTimeSecs,dataType=STRING,name=ElapsedTimeSecs,position=14,  
     
         InputFields --> InputField --> columnName=CPUTimeSecs,dataType=STRING,name=CPUTimeSecs,position=15,  
     
         InputFields --> InputField --> columnName=KernelCPUTimeSecs,dataType=STRING,name=KernelCPUTimeSecs,position=16,  
     
         InputFields --> InputField --> columnName=UserCPUTimeSecs,dataType=STRING,name=UserCPUTimeSecs,position=17,  
     
         InputFields --> InputField --> columnName=ReadRequests,dataType=STRING,name=ReadRequests,position=18,  
     
         InputFields --> InputField --> columnName=KbytesRead,dataType=STRING,name=KbytesRead,position=19,  
     
         InputFields --> InputField --> columnName=WriteRequests,dataType=STRING,name=WriteRequests,position=20,  
     
         InputFields --> InputField --> columnName=KbytesWritten,dataType=STRING,name=KbytesWritten,position=21,  
     
         InputFields --> InputField --> columnName=PageFaultCount,dataType=STRING,name=PageFaultCount,position=22,  
     
         InputFields --> InputField --> columnName=WorkingSetSizeKb,dataType=STRING,name=WorkingSetSizeKb,position=23,  
     
         InputFields --> InputField --> columnName=PeakWorkingSetSizeKb,dataType=STRING,name=PeakWorkingSetSizeKb,position=24,  
     
         InputFields --> InputField --> columnName=PagefileUsageKb,dataType=STRING,name=PagefileUsageKb,position=25,  
     
         InputFields --> InputField --> columnName=PeakPagefileUsageKb,dataType=STRING,name=PeakPagefileUsageKb,position=26,  
     
         InputFields --> InputField --> columnName=PriorityClass,dataType=STRING,name=PriorityClass,position=27,  
     
         InputFields --> InputField --> columnName=BasePriority,dataType=STRING,name=BasePriority,position=28,  
     
         InputFields --> InputField --> columnName=SystemProcessorCount,dataType=STRING,name=SystemProcessorCount,position=29,  
     
         InputFields --> InputField --> columnName=EligibleProcessorCount,dataType=STRING,name=EligibleProcessorCount,position=30,  
     
         InputFields --> InputField --> columnName=AffinityMask,dataType=STRING,name=AffinityMask,position=31,  
     
         InputFields --> InputField --> columnName=CIMSUProjectName,dataType=STRING,name=CIMSUProjectName,position=32,  
     
         InputFields --> InputField --> columnName=HostName,dataType=STRING,name=HostName,position=33,  
     
         InputFields --> InputField --> columnName=IPAddress,dataType=STRING,name=IPAddress,position=34,  
     
         OutputFields --> OutputField --> name=feed,src=PARAMETER,srcName=Feed,  
     
         OutputFields --> OutputField --> name=headerstartdate,src=PARAMETER,srcName=LogDate,  
     
         OutputFields --> OutputField --> name=headerenddate,src=PARAMETER,srcName=LogDate,  
     
         OutputFields --> OutputField --> name=headerstarttime,src=PARAMETER,srcName=LogDate,  
     
         OutputFields --> OutputField --> name=headerendtime,src=PARAMETER,srcName=LogDate,  
     
         OutputFields --> OutputField --> name=headerrectype,src=PARAMETER,srcName=Resourceheader,  
     
         OutputFields --> OutputField --> name=ProcessName,src=INPUT,srcName=ProcessName,  
     
         OutputFields --> OutputField --> name=ProcessPath,src=INPUT,srcName=ProcessPath,  
     
         OutputFields --> OutputField --> name=MachineName,src=INPUT,srcName=MachineName,  
     
         OutputFields --> OutputField --> name=UserName,src=INPUT,srcName=UserName,  
     
         OutputFields --> OutputField --> name=PriorityClass,src=INPUT,srcName=PriorityClass,  
     
         OutputFields --> OutputField --> name=BasePriority,src=INPUT,srcName=BasePriority,  
     
         OutputFields --> OutputField --> name=CIMSUProjectName,src=INPUT,srcName=CIMSUProjectName,  
     
         OutputFields --> OutputField --> name=HostName,src=INPUT,srcName=HostName,  
     
         OutputFields --> OutputField --> name=IPAddress,src=INPUT,srcName=IPAddress,  
     
         OutputFields --> OutputField --> name=WINELPTM,resource=true,src=INPUT,srcName=ElapsedTimeSecs,  
     
         OutputFields --> OutputField --> name=WINCPUTM,resource=true,src=INPUT,srcName=CPUTimeSecs,  
     
         OutputFields --> OutputField --> name=WINKCPUT,resource=true,src=INPUT,srcName=KernelCPUTimeSecs,  
     
         OutputFields --> OutputField --> name=WINCPUUS,resource=true,src=INPUT,srcName=UserCPUTimeSecs,  
     
         OutputFields --> OutputField --> name=WINRDREQ,resource=true,src=INPUT,srcName=ReadRequests,  
     
         OutputFields --> OutputField --> name=WINKBYTR,resource=true,src=INPUT,srcName=KBytesRead,  
     
         OutputFields --> OutputField --> name=WINWRREQ,resource=true,src=INPUT,srcName=WriteRequests,  
     
         OutputFields --> OutputField --> name=WINKBWRI,resource=true,src=INPUT,srcName=KBytesWritten,  
     
         OutputFields --> OutputField --> name=WINPGFLT,resource=true,src=INPUT,srcName=PageFaultCount,  
     
         AUCIN0303E The Integrator process ended unsuccessfully with the following exception: java.lang.NullPointerException. Refer to the log messages and trace files to determine the problem and take the appropriate actions. If the problem persists, contact IBM Software Support.  
     
         ** End Step Output. **  
     
     
    • F47Y_venkat_avirneni
      4 Posts
      ACCEPTED ANSWER

      Re: WinProcessIntegrator fails

      ‏2013-06-21T18:52:46Z  in response to F47Y_venkat_avirneni

       

       

      Here is the exception

       

       

       

      AUCIN0303E The Integrator process ended unsuccessfully with the following exception: java.lang.NullPointerException. Refer to the log messages and trace files to determine the problem and take the appropriate actions. If the problem persists, contact IBM Software Support.  

  • asmcleod
    asmcleod
    97 Posts
    ACCEPTED ANSWER

    Re: WinProcessIntegrator fails

    ‏2013-06-27T16:11:08Z  in response to F47Y_venkat_avirneni

    Venkat,

    Please post the first several (5-10) lines from your input file: /opt/IBM/tivoli/tuam/data/raw/tivprdcgy998/ProcessLog-20130620.txt

    (btw, your log file doesn't exactly match the posted job file - the input files specified are different)

    Scott

    • F47Y_venkat_avirneni
      4 Posts
      ACCEPTED ANSWER

      Re: WinProcessIntegrator fails

      ‏2013-08-21T16:02:15Z  in response to asmcleod

      Thanks for response scott...I figured it the issue. Some how  Winprocess integrator is not accepting the logs if there are no entries for SYSTEM IDLE and SYSTEM logs