Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2236

NPE while running Pherf unit tests org.apache.phoenix.pherf.ResultTest testResult

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • None
    • None
    • None
    • None

    Description

      Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.879 sec <<< FAILURE! - in org.apache.phoenix.pherf.ResultTest
      testResult(org.apache.phoenix.pherf.ResultTest) Time elapsed: 0.584 sec <<< ERROR!
      java.lang.NullPointerException: null
      at sun.font.FontDesignMetrics.getDefaultFrc(FontDesignMetrics.java:153)
      at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:278)
      at sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:827)
      at org.jfree.text.TextFragment.calculateDimensions(TextFragment.java:230)
      at org.jfree.text.TextLine.calculateDimensions(TextLine.java:194)
      at org.jfree.text.TextBlock.calculateDimensions(TextBlock.java:171)
      at org.jfree.chart.block.LabelBlock.arrange(LabelBlock.java:313)
      at org.jfree.chart.block.BorderArrangement.arrangeNN(BorderArrangement.java:215)
      at org.jfree.chart.block.BorderArrangement.arrange(BorderArrangement.java:141)
      at org.jfree.chart.block.BlockContainer.arrange(BlockContainer.java:178)
      at org.jfree.chart.block.CenterArrangement.arrangeNN(CenterArrangement.java:286)
      at org.jfree.chart.block.CenterArrangement.arrange(CenterArrangement.java:100)
      at org.jfree.chart.block.BlockContainer.arrange(BlockContainer.java:178)
      at org.jfree.chart.block.FlowArrangement.arrangeNN(FlowArrangement.java:367)
      at org.jfree.chart.block.FlowArrangement.arrangeRR(FlowArrangement.java:285)
      at org.jfree.chart.block.FlowArrangement.arrange(FlowArrangement.java:160)
      at org.jfree.chart.block.BlockContainer.arrange(BlockContainer.java:178)
      at org.jfree.chart.title.LegendTitle.arrange(LegendTitle.java:540)
      at org.jfree.chart.JFreeChart.drawTitle(JFreeChart.java:1320)
      at org.jfree.chart.JFreeChart.draw(JFreeChart.java:1214)
      at org.jfree.chart.JFreeChart.createBufferedImage(JFreeChart.java:1399)
      at org.jfree.chart.ChartUtilities.writeChartAsJPEG(ChartUtilities.java:410)
      at org.jfree.chart.ChartUtilities.saveChartAsJPEG(ChartUtilities.java:501)
      at org.jfree.chart.ChartUtilities.saveChartAsJPEG(ChartUtilities.java:457)
      at org.apache.phoenix.pherf.result.impl.ImageResultHandler.write(ImageResultHandler.java:107)
      at org.apache.phoenix.pherf.result.ResultUtil.write(ResultUtil.java:125)
      at org.apache.phoenix.pherf.result.ResultManager.write(ResultManager.java:62)
      at org.apache.phoenix.pherf.ResultTest.testResult(ResultTest.java:160)

      Attachments

        Activity

          People

            mujtabachohan Mujtaba Chohan
            jamestaylor James R. Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: