Uploaded image for project: 'Apache Gobblin'
  1. Apache Gobblin
  2. GOBBLIN-2041

CopySource::getCopyEntityClass throws NPE when optional property missing

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • gobblin-core
    • None

    Description

      access to prop `gobblin.copy.copy.entity.class`, when not present, causes:

      java.lang.NullPointerException:
      	at java.lang.Class.forName0(Native Method:0)
      	at java.lang.Class.forName(Class.java:264)
      	at org.apache.gobblin.data.management.copy.CopySource.getCopyEntityClass(CopySource.java:558)
      	at org.apache.gobblin.temporal.ddm.activity.impl.ProcessWorkUnitImpl.getOptCopyEntityClass(ProcessWorkUnitImpl.java:204)
      	at org.apache.gobblin.temporal.ddm.activity.impl.ProcessWorkUnitImpl.getOptCopyableFile(ProcessWorkUnitImpl.java:184)
      ...
      

      Attachments

        Activity

          People

            abti Abhishek Tiwari
            kipk Kip Kohn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m