Details

    • Fix
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.12
    • 1.12.1
    • YADE JITL Jobs
    • None

    Description

      Current Situation

      YADE sometimes throws a NPE.

      ERROR [main] (SOSDExJSAdapterClass.java:91) - SOSDExJSAdapterClass ended with error: null 
      
      2018-01-18 13:07:12.556+0100 [info]   (Task http/yade:90943) [stdout] java.lang.NullPointerException 
      
      2018-01-18 13:07:12.556+0100 [info]   (Task http/yade:90943) [stdout] 	at com.sos.DataExchange.SOSDataExchangeEngine.execute(SOSDataExchangeEngine.java:394)
      
      2018-01-18 13:07:12.572+0100 [info]   (Task http/yade:90943) [stdout] 	at sos.scheduler.job.SOSDExJSAdapterClass.doProcessing(SOSDExJSAdapterClass.java:154) 
      
      2018-01-18 13:07:12.572+0100 [info]   (Task http/yade:90943) [stdout] 	at sos.scheduler.job.SOSDExJSAdapterClass.spooler_process(SOSDExJSAdapterClass.java:89)
      
      2018-01-18 13:07:12.574+0100 [ERROR]  (Task http/yade:90943) COM-80020009  Ausnahmefehler aufgetreten. [step] [] [Z-JAVA-105  Java exception java.lang.NullPointerException, method=spooler_process()Z [], in Remote_module_instance_server::step], method=call
      

      Use this xml settings file to reproduce.

      <?xml version="1.0" encoding="utf-8"?>
      <Configurations>
        <Fragments>
          <ProtocolFragments>
            <HTTPFragment name="HTTPFragment:httpFragment">
              <URLConnection>
                <URL>http://x</URL>
              </URLConnection>
            </HTTPFragment>
          </ProtocolFragments>
        </Fragments>
        <Profiles>
          <Profile profile_id="test">
            <Operation>
              <Copy>
                <CopySource>
                  <CopySourceFragmentRef>
                    <HTTPFragmentRef ref="HTTPFragment:httpFragment" />
                  </CopySourceFragmentRef>
                  <SourceFileOptions>
                    <Selection>
                      <FileListSelection>
                        <FileList><![CDATA[c:/temp/1.txt]]></FileList>
                      </FileListSelection>
                    </Selection>
                  </SourceFileOptions>
                </CopySource>
                <CopyTarget>
                  <CopyTargetFragmentRef>
                    <LocalTarget />
                  </CopyTargetFragmentRef>
                  <Directory><![CDATA[c:\temp\output]]></Directory>
                </CopyTarget>
              </Copy>
            </Operation>
            <Client>
              <ReceivingClient><![CDATA[BKB_T]]></ReceivingClient>
            </Client>
          </Profile>
        </Profiles>
      </Configurations>
      

      Desired Behaviour

      YADE should not throw a NPE

      Attachments

        Activity

          People

            sp Santiago Aucejo Petzoldt
            ur Uwe Risse
            Uwe Risse Uwe Risse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: