java.lang.NullPointerException

Pentaho BI Platform Tracking | Duarte Cunha Leão | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    1. Install the Sparkl plugin (or use any other installed plugin that is scanned for data sources by CDE; all are?). 2. Edit the settings.xml file and make sure it contains an empty cde-datasources tag: <cde-datasources/> 3. Start the server. 4. Check the server log and notice it fails CDE initialization due to a NPE: 2014-05-12 23:19:26,690 INFO [pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader] Loading data source components of 'sparkl' 2014-05-12 23:19:26,736 ERROR [pt.webdetails.cdf.dd.api.RenderApi] Could not load dashboard: null java.lang.NullPointerException at pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader.readDataSourceComponent(DataSourcesModelReader.java:75) at pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader.read(DataSourcesModelReader.java:54) at pt.webdetails.cdf.dd.MetaModelManager.readDataSourceComponents(MetaModelManager.java:142) at pt.webdetails.cdf.dd.MetaModelManager.readModel(MetaModelManager.java:115) at pt.webdetails.cdf.dd.MetaModelManager.<init>(MetaModelManager.java:53) at pt.webdetails.cdf.dd.MetaModelManager.getInstance(MetaModelManager.java:40) at pt.webdetails.cdf.dd.DashboardManager.readDashboardFromCdfdeJs(DashboardManager.java:489) at pt.webdetails.cdf.dd.DashboardManager.getDashboard(DashboardManager.java:460) at pt.webdetails.cdf.dd.DashboardManager.getDashboardCdfRunJs(DashboardManager.java:237) at pt.webdetails.cdf.dd.DashboardManager.getDashboardCdfRunJs(DashboardManager.java:164) at pt.webdetails.cdf.dd.api.RenderApi.loadDashboard(RenderApi.java:212) at pt.webdetails.cdf.dd.api.RenderApi.render(RenderApi.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Pentaho BI Platform Tracking | 3 years ago | Duarte Cunha Leão
    java.lang.NullPointerException
  2. 0

    1. Install the Sparkl plugin (or use any other installed plugin that is scanned for data sources by CDE; all are?). 2. Edit the settings.xml file and make sure it contains an empty cde-datasources tag: <cde-datasources/> 3. Start the server. 4. Check the server log and notice it fails CDE initialization due to a NPE: 2014-05-12 23:19:26,690 INFO [pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader] Loading data source components of 'sparkl' 2014-05-12 23:19:26,736 ERROR [pt.webdetails.cdf.dd.api.RenderApi] Could not load dashboard: null java.lang.NullPointerException at pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader.readDataSourceComponent(DataSourcesModelReader.java:75) at pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader.read(DataSourcesModelReader.java:54) at pt.webdetails.cdf.dd.MetaModelManager.readDataSourceComponents(MetaModelManager.java:142) at pt.webdetails.cdf.dd.MetaModelManager.readModel(MetaModelManager.java:115) at pt.webdetails.cdf.dd.MetaModelManager.<init>(MetaModelManager.java:53) at pt.webdetails.cdf.dd.MetaModelManager.getInstance(MetaModelManager.java:40) at pt.webdetails.cdf.dd.DashboardManager.readDashboardFromCdfdeJs(DashboardManager.java:489) at pt.webdetails.cdf.dd.DashboardManager.getDashboard(DashboardManager.java:460) at pt.webdetails.cdf.dd.DashboardManager.getDashboardCdfRunJs(DashboardManager.java:237) at pt.webdetails.cdf.dd.DashboardManager.getDashboardCdfRunJs(DashboardManager.java:164) at pt.webdetails.cdf.dd.api.RenderApi.loadDashboard(RenderApi.java:212) at pt.webdetails.cdf.dd.api.RenderApi.render(RenderApi.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Pentaho BI Platform Tracking | 3 years ago | Duarte Cunha Leão
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader.readDataSourceComponent()
    2. pt.webdetails.cdf
      RenderApi.render
      1. pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader.readDataSourceComponent(DataSourcesModelReader.java:75)
      2. pt.webdetails.cdf.dd.model.meta.reader.datasources.DataSourcesModelReader.read(DataSourcesModelReader.java:54)
      3. pt.webdetails.cdf.dd.MetaModelManager.readDataSourceComponents(MetaModelManager.java:142)
      4. pt.webdetails.cdf.dd.MetaModelManager.readModel(MetaModelManager.java:115)
      5. pt.webdetails.cdf.dd.MetaModelManager.<init>(MetaModelManager.java:53)
      6. pt.webdetails.cdf.dd.MetaModelManager.getInstance(MetaModelManager.java:40)
      7. pt.webdetails.cdf.dd.DashboardManager.readDashboardFromCdfdeJs(DashboardManager.java:489)
      8. pt.webdetails.cdf.dd.DashboardManager.getDashboard(DashboardManager.java:460)
      9. pt.webdetails.cdf.dd.DashboardManager.getDashboardCdfRunJs(DashboardManager.java:237)
      10. pt.webdetails.cdf.dd.DashboardManager.getDashboardCdfRunJs(DashboardManager.java:164)
      11. pt.webdetails.cdf.dd.api.RenderApi.loadDashboard(RenderApi.java:212)
      12. pt.webdetails.cdf.dd.api.RenderApi.render(RenderApi.java:129)
      12 frames
    3. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame