java.lang.NullPointerException

Pentaho BI Platform Tracking | Tim Kafalas | 3 years ago
  1. 0

    Folder names appear to get receive an unnecessary URIDecode when a prpti file is clicked on from PUC. To Reproduce: Create a folder name with a special character such that a URIDecode would change the folder name. For example "test+folder+6". Put a prpti file in this folder and try to execute it. You should get an error similar to the attached screen shot. Looking at network view in debugger shows a call as follows: http://localhost:8080/pentaho/api/repos/:public:Test%2BFolder%2B6:Test%20Report-6.prpti/prpti.view?ts=1379512354835 Note that the + characters in the folder have been changed to spaces. Partial stack trace: 14:04:17,872 ERROR [AdhocReportContentGenerator] java.lang.NullPointerException java.lang.NullPointerException at com.pentaho.iadhoc.service.ExecuteReportContentHandler.createReportContent(ExecuteReportContentHandler.java:2 21) at com.pentaho.iadhoc.service.AdhocReportContentGenerator.createContent(AdhocReportContentGenerator.java:137) at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.jav a:57) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput .java:229) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:156) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutput Provider.java:58) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutput Provider.java:37) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)

    Pentaho BI Platform Tracking | 3 years ago | Tim Kafalas
    java.lang.NullPointerException
  2. 0

    Folder names appear to get receive an unnecessary URIDecode when a prpti file is clicked on from PUC. To Reproduce: Create a folder name with a special character such that a URIDecode would change the folder name. For example "test+folder+6". Put a prpti file in this folder and try to execute it. You should get an error similar to the attached screen shot. Looking at network view in debugger shows a call as follows: http://localhost:8080/pentaho/api/repos/:public:Test%2BFolder%2B6:Test%20Report-6.prpti/prpti.view?ts=1379512354835 Note that the + characters in the folder have been changed to spaces. Partial stack trace: 14:04:17,872 ERROR [AdhocReportContentGenerator] java.lang.NullPointerException java.lang.NullPointerException at com.pentaho.iadhoc.service.ExecuteReportContentHandler.createReportContent(ExecuteReportContentHandler.java:2 21) at com.pentaho.iadhoc.service.AdhocReportContentGenerator.createContent(AdhocReportContentGenerator.java:137) at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.jav a:57) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput .java:229) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:156) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutput Provider.java:58) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutput Provider.java:37) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)

    Pentaho BI Platform Tracking | 3 years ago | Tim Kafalas
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.pentaho.iadhoc.service.ExecuteReportContentHandler.createReportContent()
    2. com.pentaho.iadhoc
      AdhocReportContentGenerator.createContent
      1. com.pentaho.iadhoc.service.ExecuteReportContentHandler.createReportContent(ExecuteReportContentHandler.java:221)
      2. com.pentaho.iadhoc.service.AdhocReportContentGenerator.createContent(AdhocReportContentGenerator.java:137)
      2 frames
    3. org.pentaho.platform
      GeneratorStreamingOutputProvider.writeTo
      1. org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:57)
      2. org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput.java:229)
      3. org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:156)
      4. org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:58)
      5. org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:37)
      5 frames
    4. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306)
      2. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479)
      3. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391)
      4. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381)
      4 frames
    5. Jersey
      WebComponent.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      1 frame