java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Open a template in the /report-designer/templates folder. Save the template in a new location. Notice you will get an error. java.lang.NullPointerException at org.pentaho.reporting.libraries.docbundle.metadata.writer.DateMetaDataEntryWriteHandler.write(DateMetaDataEntryWriteHandler.java:49) at org.pentaho.reporting.libraries.docbundle.metadata.writer.BundleMetaDataXmlWriter.write(BundleMetaDataXmlWriter.java:138) at org.pentaho.reporting.libraries.docbundle.metadata.writer.DocumentMetaDataWriter.writeMetaData(DocumentMetaDataWriter.java:144) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeToRepository(BundleUtilities.java:286) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeAsZip(BundleUtilities.java:213) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeAsZip(BundleUtilities.java:191) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:176) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.saveReportAs(SaveReportAsAction.java:98) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.actionPerformed(SaveReportAsAction.java:50) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95) at java.awt.MenuItem.processActionEvent(MenuItem.java:597) at java.awt.MenuItem.processEvent(MenuItem.java:556) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286) at java.awt.EventQueue.dispatchEvent(EventQueue.java:466) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    via by Kurtis Cruzada,
  • Open a template in the /report-designer/templates folder. Save the template in a new location. Notice you will get an error. java.lang.NullPointerException at org.pentaho.reporting.libraries.docbundle.metadata.writer.DateMetaDataEntryWriteHandler.write(DateMetaDataEntryWriteHandler.java:49) at org.pentaho.reporting.libraries.docbundle.metadata.writer.BundleMetaDataXmlWriter.write(BundleMetaDataXmlWriter.java:138) at org.pentaho.reporting.libraries.docbundle.metadata.writer.DocumentMetaDataWriter.writeMetaData(DocumentMetaDataWriter.java:144) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeToRepository(BundleUtilities.java:286) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeAsZip(BundleUtilities.java:213) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeAsZip(BundleUtilities.java:191) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:176) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.saveReportAs(SaveReportAsAction.java:98) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.actionPerformed(SaveReportAsAction.java:50) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95) at java.awt.MenuItem.processActionEvent(MenuItem.java:597) at java.awt.MenuItem.processEvent(MenuItem.java:556) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286) at java.awt.EventQueue.dispatchEvent(EventQueue.java:466) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    via by Kurtis Cruzada,
    • java.lang.NullPointerException at org.pentaho.reporting.libraries.docbundle.metadata.writer.DateMetaDataEntryWriteHandler.write(DateMetaDataEntryWriteHandler.java:49) at org.pentaho.reporting.libraries.docbundle.metadata.writer.BundleMetaDataXmlWriter.write(BundleMetaDataXmlWriter.java:138) at org.pentaho.reporting.libraries.docbundle.metadata.writer.DocumentMetaDataWriter.writeMetaData(DocumentMetaDataWriter.java:144) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeToRepository(BundleUtilities.java:286) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeAsZip(BundleUtilities.java:213) at org.pentaho.reporting.libraries.docbundle.BundleUtilities.writeAsZip(BundleUtilities.java:191) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:176) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.saveReportAs(SaveReportAsAction.java:98) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.actionPerformed(SaveReportAsAction.java:50) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95) at java.awt.MenuItem.processActionEvent(MenuItem.java:597) at java.awt.MenuItem.processEvent(MenuItem.java:556) at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298) at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286) at java.awt.EventQueue.dispatchEvent(EventQueue.java:466) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    No Bugmate found.