Ver Mensaje Individual
  #936 (permalink)  
Antiguo 26/11/2007, 11:54
vanesa_vig
 
Fecha de Ingreso: noviembre-2007
Mensajes: 7
Antigüedad: 16 años, 6 meses
Puntos: 0
Re: Jasper Report + iReport + NetBeans 4

bueno voy a especicar mas mi problema
hice una conexion a la base de datos (en mi caso es oracle), despues lo q necesito es hacer una conexion a un archivo xml es decir una conexion Mondiran olap, pero cuando hago el test de prueba me da un error

mondrian.olap.MondrianException: Mondrian Error:Internal error: while parsing catalog file:/C:/Documents%20and%20Settings/vfc/jasperMondrian/metadata/PDPCM.mondrian.
xml
at mondrian.resource.MondrianResource$_Def0.ex(Mondri anResource.java:1015)
at mondrian.olap.Util.newInternal(Util.java:827)
at mondrian.olap.Util.newError(Util.java:843)
at mondrian.rolap.RolapSchema.load(RolapSchema.java:2 55)
at mondrian.rolap.RolapSchema.<init>(RolapSchema.java :202)
at mondrian.rolap.RolapSchema.<init>(RolapSchema.java :46)
at mondrian.rolap.RolapSchema$Pool.get(RolapSchema.ja va:744)
at mondrian.rolap.RolapSchema$Pool.get(RolapSchema.ja va:600)
at mondrian.rolap.RolapConnection.<init>(RolapConnect ion.java:137)
at mondrian.rolap.RolapConnection.<init>(RolapConnect ion.java:72)
at mondrian.olap.DriverManager.getConnection(DriverMa nager.java:175)
at mondrian.olap.DriverManager.getConnection(DriverMa nager.java:145)
at mondrian.olap.DriverManager.getConnection(DriverMa nager.java:56)
at it.businesslogic.ireport.connection.MondrianConnec tion.getMondrianConnection(MondrianConnection.java :135)
at it.businesslogic.ireport.connection.MondrianConnec tion$1.run(MondrianConnection.java:213)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.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 it.businesslogic.ireport.gui.ConnectionsDialog.jBu ttonNewParameterActionPerformed(ConnectionsDialog. java:550)
at it.businesslogic.ireport.gui.ConnectionsDialog.acc ess$200(ConnectionsDialog.java:53)
at it.businesslogic.ireport.gui.ConnectionsDialog$6.a ctionPerformed(ConnectionsDialog.java:216)
at javax.swing.AbstractButton.fireActionPerformed(Unk nown 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.mouseRe leased(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(U nknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn 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.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$2.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 it.businesslogic.ireport.gui.ConnectionsDialog.set Visible(ConnectionsDialog.java:623)
at it.businesslogic.ireport.gui.MainFrame.jMenuItemCo nnectionsActionPerformed(MainFrame.java:6466)
at it.businesslogic.ireport.gui.MainFrame.access$1380 0(MainFrame.java:101)
at it.businesslogic.ireport.gui.MainFrame$175.actionP erformed(MainFrame.java:3757)
at javax.swing.AbstractButton.fireActionPerformed(Unk nown 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(Unk nown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mou seReleased(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(U nknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn 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.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: org.eigenbase.xom.XOMException: In element 'Schema': In element 'Cube': In element 'Measure': Attribute 'column' is unset and has no default value.
at mondrian.olap.MondrianDef$Schema.<init>(MondrianDe f.java:121)
at mondrian.rolap.RolapSchema.load(RolapSchema.java:2 39)
... 83 more
y no se que estoy haciendo mal, porq en el dtd de mondrian la columna no es obrigatoria y en mi caso no puedo especificarla