mirianoe
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by mirianoe
-
-
I,m sorry..... i wrong forum. Delete this post.
Thanks
-
Hi, i have create a excel file with 2 sheet password protected.
This work fine, but when i read file and check password the result is null.
Follow the code, where is the error?
Thanks.
Workbook workbook = null;
try {
workbook = Workbook.getWorkbook(file);
Sheet sheet = workbook.getSheet(ApplicationBean1.REFERENCE_SHEET_NAME);
if (sheet != null ) {
SheetSettings sheetSettings = sheet.getSettings();
if ( sheetSettings.getPassword() == ApplicationBean1.REFERENCE_SHEET_PSWD ) {
// here is null
}
-
Hi,
I have same problem with toplink.
I have added toplink-essentials.jar and toplink-essentials-agent.jar in iReportlib and added META-INF folder with persistence.xml file in CLASSPATH
but message console always write:
javax.persistence.PersistenceException: No Persistence provider for EntityManage
r named GCPU
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.
java:89)
at it.businesslogic.ireport.connection.EJBQLConnection.getEntityManager(
EJBQLConnection.java:130)
at it.businesslogic.ireport.connection.EJBQLConnection$1.run(EJBQLConnec
tion.java:178)
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 it.businesslogic.ireport.gui.ConnectionsDialog.jButtonModifyParameter
ActionPerformed(ConnectionsDialog.java:514)
at it.businesslogic.ireport.gui.ConnectionsDialog.jTableParametersMouseC
licked(ConnectionsDialog.java:447)
at it.businesslogic.ireport.gui.ConnectionsDialog.access$100(Connections
Dialog.java:53)
at it.businesslogic.ireport.gui.ConnectionsDialog$5.mouseClicked(Connect
ionsDialog.java:196)
at java.awt.AWTEventMulticaster.mouseClicked(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.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 it.businesslogic.ireport.gui.ConnectionsDialog.setVisible(Connections
Dialog.java:623)
at it.businesslogic.ireport.gui.MainFrame.jMenuItemConnectionsActionPerf
ormed(MainFrame.java:6276)
at it.businesslogic.ireport.gui.MainFrame.access$13800(MainFrame.java:10
1)
at it.businesslogic.ireport.gui.MainFrame$175.actionPerformed(MainFrame.
java:3606)
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)
This drive my crazy.....
Thanks.
iReport Ultimate Giude (new)
in Products
Posted
Hi,
i buyed ebook some days ago, have i free update?
thanks
Miriano