Uploaded image for project: 'Apache Lens'
  1. Apache Lens
  2. LENS-1474

Null pointer exception in expression resolver for Segmentation candidate

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: cube
    • Labels:
      None

      Description

      This happens when there are two expressions . Say expr1 answered from fact and expr2 answered from Segmentation.
      Segmentation specific inner rewrite is passed expr1 as 0.0 and later in the flow expr1 is looked up which throws up NullPointerException.

        Activity

        Hide
        hadoopqa Hadoop QA added a comment -

        Applied patch: LENS-1474.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1436/

        Show
        hadoopqa Hadoop QA added a comment - Applied patch: LENS-1474.patch and ran command: mvn clean install -fae. Result: Success. Build Job: https://builds.apache.org/job/PreCommit-Lens-Build/1436/
        Hide
        amareshwari Amareshwari Sriramadasu added a comment -

        Committed. Thanks Rajitha R

        Show
        amareshwari Amareshwari Sriramadasu added a comment - Committed. Thanks Rajitha R
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Jenkins build Lens-Commit #1442 (See https://builds.apache.org/job/Lens-Commit/1442/)
        LENS-1474 : Fix NPE in ExpressionResolver for SegmentationCandidate (amareshwari: rev 24d4f1531497e8b877fe185a0ef742b18acf125c)

        • (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Lens-Commit #1442 (See https://builds.apache.org/job/Lens-Commit/1442/ ) LENS-1474 : Fix NPE in ExpressionResolver for SegmentationCandidate (amareshwari: rev 24d4f1531497e8b877fe185a0ef742b18acf125c) (edit) lens-cube/src/main/java/org/apache/lens/cube/parse/ExpressionResolver.java

          People

          • Assignee:
            rajitha.r Rajitha R
            Reporter:
            rajitha.r Rajitha R
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development