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.

  • 1. Created a database connection 2. browsed a suitable mondrian schema. 3. made some aggregate changes. 4. saved 5. export and publish got the Publish error:null dialog. 16:54:44,359 INFO [AlgorithmController] Adding algorithm overlay: org.pentaho.a ggdes.ui.ext.impl.AdaptiveMonteCarloAlgorithmUIPlugin@12e43f1 16:55:12,332 ERROR [DefaultBinding] Binding Error! Update to XulComponenet (org. pentaho.ui.xul.swing.tags.SwingLabel@13c66d8,value) outside of event thread! 16:55:17,978 WARN [MondrianProperties] mondrian.properties can't be found under 'C:\Program Files\pentaho\design-tools\aggregation-designer\.' or classloader 16:55:17,979 INFO [MondrianProperties] Mondrian: loaded 0 system properties 16:55:19,774 INFO [RolapUtil] Mondrian: JDBC driver org.gjt.mm.mysql.Driver loa ded successfully 16:55:19,774 INFO [RolapUtil] Mondrian: JDBC driver sun.jdbc.odbc.JdbcOdbcDrive r loaded successfully 16:55:19,776 INFO [RolapUtil] Mondrian: JDBC driver org.hsqldb.jdbcDriver loade d successfully 16:55:19,777 WARN [RolapUtil] Mondrian: Warning: JDBC driver oracle.jdbc.Oracle Driver not found 16:55:19,777 INFO [RolapUtil] Mondrian: JDBC driver com.mysql.jdbc.Driver loade d successfully 16:55:19,915 INFO [DefaultFileReplicator] Using "C:\Users\Golda\AppData\Local\T emp\vfs_cache" as temporary files store. 16:55:21,815 WARN [OutputUIService] No OutputUiExtension found for output type: org.pentaho.aggdes.output.impl.AggregateTableOutput java.lang.NullPointerException at org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishTo ServerCommand.java:350) at org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema (PublishController.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDom Container.java:329) at org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingBu tton.java:58) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:234) at org.pentaho.aggdes.ui.form.controller.ExportHandler.openDialog(Export Handler.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDom Container.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulCompon ent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulCompon ent.java:123) at org.pentaho.ui.xul.swing.tags.SwingMenuitem.access$000(SwingMenuitem. java:18) at org.pentaho.ui.xul.swing.tags.SwingMenuitem$1.actionPerformed(SwingMe nuitem.java:104) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
    via by Golda David,
  • 1. Created a database connection 2. browsed a suitable mondrian schema. 3. made some aggregate changes. 4. saved 5. export and publish got the Publish error:null dialog. 16:54:44,359 INFO [AlgorithmController] Adding algorithm overlay: org.pentaho.a ggdes.ui.ext.impl.AdaptiveMonteCarloAlgorithmUIPlugin@12e43f1 16:55:12,332 ERROR [DefaultBinding] Binding Error! Update to XulComponenet (org. pentaho.ui.xul.swing.tags.SwingLabel@13c66d8,value) outside of event thread! 16:55:17,978 WARN [MondrianProperties] mondrian.properties can't be found under 'C:\Program Files\pentaho\design-tools\aggregation-designer\.' or classloader 16:55:17,979 INFO [MondrianProperties] Mondrian: loaded 0 system properties 16:55:19,774 INFO [RolapUtil] Mondrian: JDBC driver org.gjt.mm.mysql.Driver loa ded successfully 16:55:19,774 INFO [RolapUtil] Mondrian: JDBC driver sun.jdbc.odbc.JdbcOdbcDrive r loaded successfully 16:55:19,776 INFO [RolapUtil] Mondrian: JDBC driver org.hsqldb.jdbcDriver loade d successfully 16:55:19,777 WARN [RolapUtil] Mondrian: Warning: JDBC driver oracle.jdbc.Oracle Driver not found 16:55:19,777 INFO [RolapUtil] Mondrian: JDBC driver com.mysql.jdbc.Driver loade d successfully 16:55:19,915 INFO [DefaultFileReplicator] Using "C:\Users\Golda\AppData\Local\T emp\vfs_cache" as temporary files store. 16:55:21,815 WARN [OutputUIService] No OutputUiExtension found for output type: org.pentaho.aggdes.output.impl.AggregateTableOutput java.lang.NullPointerException at org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishTo ServerCommand.java:350) at org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema (PublishController.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDom Container.java:329) at org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingBu tton.java:58) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:234) at org.pentaho.aggdes.ui.form.controller.ExportHandler.openDialog(Export Handler.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDom Container.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulCompon ent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulCompon ent.java:123) at org.pentaho.ui.xul.swing.tags.SwingMenuitem.access$000(SwingMenuitem. java:18) at org.pentaho.ui.xul.swing.tags.SwingMenuitem$1.actionPerformed(SwingMe nuitem.java:104) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
    via by Golda David,
  • How to reproduce: 1) Start BI Server 2) Open Aggregation Designer 3) Open my simple aggregation design (attached) 4) Click File > Export and Publish 5) Click "Publish" 6) Enter valid server and credentials 7) Click OK, the "Connecting to repository" appears and then is replaced by the "Publish Schema" dialog 8) Set the schema location and publish settings 9) Click "Publish" 10) A pop-up says "Publish error: null" and the following NPE appears: java.lang.NullPointerException at org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishToServerCommand.java:350) at org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema(PublishController.java:100) ... The NPE is caused by the publish method of PublishToServerCommand.java returning a null result, which probably means publication failed somehow. Indeed, at the same time, the following exception appears in the BI Server's log: org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException: MondrianCatalogHelper.ERROR_0004 - already exists at org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper.addCatalog(MondrianCatalogHelper.java:449) at org.pentaho.platform.web.servlet.MondrianCatalogPublisher.doGet(MondrianCatalogPublisher.java:205) ... For step 8, I have no clear idea what the settings mean, so I might have set unexpected values: - Location: "/xyzbi", the directory where I usually store my schemas with Schema Workbench. - Pentaho or JNDI data source: "infobright", which is the only data source I created. I created it using the Administration Console. - Register XMLA datasource: Tried both checked and unchecked, same result.
    via by Nicolas Raoul,
  • How to reproduce: 1) Start BI Server 2) Open Aggregation Designer 3) Open my simple aggregation design (attached) 4) Click File > Export and Publish 5) Click "Publish" 6) Enter valid server and credentials 7) Click OK, the "Connecting to repository" appears and then is replaced by the "Publish Schema" dialog 8) Set the schema location and publish settings 9) Click "Publish" 10) A pop-up says "Publish error: null" and the following NPE appears: java.lang.NullPointerException at org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishToServerCommand.java:350) at org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema(PublishController.java:100) ... The NPE is caused by the publish method of PublishToServerCommand.java returning a null result, which probably means publication failed somehow. Indeed, at the same time, the following exception appears in the BI Server's log: org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogServiceException: MondrianCatalogHelper.ERROR_0004 - already exists at org.pentaho.platform.plugin.action.mondrian.catalog.MondrianCatalogHelper.addCatalog(MondrianCatalogHelper.java:449) at org.pentaho.platform.web.servlet.MondrianCatalogPublisher.doGet(MondrianCatalogPublisher.java:205) ... For step 8, I have no clear idea what the settings mean, so I might have set unexpected values: - Location: "/xyzbi", the directory where I usually store my schemas with Schema Workbench. - Pentaho or JNDI data source: "infobright", which is the only data source I created. I created it using the Administration Console. - Register XMLA datasource: Tried both checked and unchecked, same result.
    via by Nicolas Raoul,
    • java.lang.NullPointerException at org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishToServerCommand.java:350) at org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema(PublishController.java:100) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:58) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:234) at org.pentaho.aggdes.ui.form.controller.ExportHandler.openDialog(ExportHandler.java:144) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swing.tags.SwingMenuitem.access$000(SwingMenuitem.java:18) at org.pentaho.ui.xul.swing.tags.SwingMenuitem$1.actionPerformed(SwingMenuitem.java:104) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(UnknownSource) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
    No Bugmate found.