java.lang.NullPointerException

Pentaho BI Platform Tracking | Golda David | 6 years ago
  1. 0

    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)

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.lang.NullPointerException
  2. 0

    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)

    Pentaho BI Platform Tracking | 6 years ago | Golda David
    java.lang.NullPointerException
  3. 0

    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.

    Pentaho BI Platform Tracking | 6 years ago | Nicolas Raoul
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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.

    Pentaho BI Platform Tracking | 6 years ago | Nicolas Raoul
    java.lang.NullPointerException
  6. 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

    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 org.pentaho.mondrian.publish.PublishToServerCommand.execute()
    2. org.pentaho.mondrian
      PublishToServerCommand.execute
      1. org.pentaho.mondrian.publish.PublishToServerCommand.execute(PublishToServerCommand.java:350)
      1 frame
    3. org.pentaho.aggdes
      PublishController.publishSchema
      1. org.pentaho.aggdes.ui.form.controller.PublishController.publishSchema(PublishController.java:100)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. org.pentaho.ui
      SwingButton$OnClickRunnable.run
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      2. org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:58)
      2 frames
    6. Java RT
      Dialog.setVisible
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEvent(Unknown Source)
      3. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      4. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      5. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      6. java.awt.Dialog$1.run(Unknown Source)
      7. java.awt.Dialog$3.run(Unknown Source)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.awt.Dialog.show(Unknown Source)
      10. java.awt.Component.show(Unknown Source)
      11. java.awt.Component.setVisible(Unknown Source)
      12. java.awt.Window.setVisible(Unknown Source)
      13. java.awt.Dialog.setVisible(Unknown Source)
      13 frames
    7. org.pentaho.ui
      SwingDialog.show
      1. org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:234)
      1 frame
    8. org.pentaho.aggdes
      ExportHandler.openDialog
      1. org.pentaho.aggdes.ui.form.controller.ExportHandler.openDialog(ExportHandler.java:144)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    10. org.pentaho.ui
      SwingMenuitem$1.actionPerformed
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:135)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123)
      4. org.pentaho.ui.xul.swing.tags.SwingMenuitem.access$000(SwingMenuitem.java:18)
      5. org.pentaho.ui.xul.swing.tags.SwingMenuitem$1.actionPerformed(SwingMenuitem.java:104)
      5 frames
    11. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.AbstractButton.doClick(Unknown Source)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
      7. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(UnknownSource)
      8. java.awt.Component.processMouseEvent(Unknown Source)
      9. javax.swing.JComponent.processMouseEvent(Unknown Source)
      10. java.awt.Component.processEvent(Unknown Source)
      11. java.awt.Container.processEvent(Unknown Source)
      12. java.awt.Component.dispatchEventImpl(Unknown Source)
      13. java.awt.Container.dispatchEventImpl(Unknown Source)
      14. java.awt.Component.dispatchEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      16. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      17. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      18. java.awt.Container.dispatchEventImpl(Unknown Source)
      19. java.awt.Window.dispatchEventImpl(Unknown Source)
      20. java.awt.Component.dispatchEvent(Unknown Source)
      21. java.awt.EventQueue.dispatchEvent(Unknown Source)
      22. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      23. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      24. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      25. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      26. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      27. java.awt.EventDispatchThread.run(Unknown Source)
      27 frames