mespub Posted February 18, 2010 Share Posted February 18, 2010 Hi everybody,Can someone please help me ?I'm using JasperAnalysis 3.7.0. running under Windows XP.I can load the foodmart.xml demo shema in JasperAnalysis, and I can open an MDX query window, with a "Mondrain Connection Successfull" message.However when I want to generate the mdx by clicking at the MDX button, i got this message in the mondrian log window : Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at org.olap4j.mdx.AxisNode.deepCopy(AxisNode.java:166) at org.olap4j.mdx.SelectNode.deepCopy(SelectNode.java:238) at mondrian.gui.MdxQuery.generateMDXMenuItemActionPerformed(MdxQuery.java:560) at mondrian.gui.MdxQuery.access$300(MdxQuery.java:91) at mondrian.gui.MdxQuery$4.actionPerformed(MdxQuery.java:274) 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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.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)Post Edited by mespub at 02/18/2010 15:02 Link to comment Share on other sites More sharing options...
swood Posted March 1, 2010 Share Posted March 1, 2010 As you might expect, that is a bug. Try deleting the olap4j.jar in<JasperAnalysis Workbench>/lib, and put the attached jar in lin instead. ShermanJaspersoft Link to comment Share on other sites More sharing options...
mespub Posted March 1, 2010 Author Share Posted March 1, 2010 HIIt works fine with this new jar. Thanks a lot. Link to comment Share on other sites More sharing options...
kryskool Posted April 15, 2010 Share Posted April 15, 2010 HiI have this bug with 3.7.0 under Linux, i replace the olap4j with the attachment and it works fineRegards,Christophe Chauvet Link to comment Share on other sites More sharing options...
carlosecarranza Posted September 21, 2010 Share Posted September 21, 2010 HiI have this bug with 3.7.0 under Linux (Ubuntu 10.04).I replace the olap4j with the attachment but it doesn't work for me.What could be happening?Regards,Carlos Code:Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at mondrian.gui.MdxQuery.addDimensionToQuery(MdxQuery.java:636) at mondrian.gui.MdxQuery.generateMDXMenuItemActionPerformed(MdxQuery.java:562) at mondrian.gui.MdxQuery.access$300(MdxQuery.java:91) at mondrian.gui.MdxQuery$4.actionPerformed(MdxQuery.java:274) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272) at java.awt.Component.processMouseEvent(Component.java:6263) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6028) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4630) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4460) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now