Menu

#3 After Saving the file, an OutOfBounds occurs

open
7
2005-12-05
2005-12-05
No

After saving the file and then switching the pages an
ArrayIndexOutOfBoundsException occurs withhin jpedal.

[java] java.lang.ArrayIndexOutOfBoundsException: 140
[java] at
org.jpedal.io.PdfObjectReader.convertObjectBytesToMap(Unknown
Source)
[java] at
org.jpedal.io.PdfObjectReader.readObject(Unknown Source)
[java] at org.jpedal.PdfDecoder.decodePage(Unknown
Source)
[java] at
aipdf.PdfViewerView.updateImage(PdfViewerView.java:651)
[java] at
aipdf.PdfViewerView.updateView(PdfViewerView.java:740)
[java] at
aipdf.PdfViewerView.handleModelChangedEvent(PdfViewerView.java:721)
[java] at
aipdf.PdfViewerView.updateAfterChange(PdfViewerView.java:670)
[java] at
aipdf.PdfViewController.updateAfterModelChanged(PdfViewController.java:690)
[java] at
aipdf.PdfViewModel.notifyObserver(PdfViewModel.java:609)
[java] at
aipdf.PdfViewModel.setCurrentPage(PdfViewModel.java:418)
[java] at
aipdf.PdfViewController.changePage(PdfViewController.java:668)
[java] at
aipdf.ui.bars.PdfViewerStatusBar.pageChanged(PdfViewerStatusBar.java:294)
[java] at
aipdf.util.ui.components.pageselector.PageSelector.firePageSelectionChanged(PageSelector.java:109)
[java] at
aipdf.util.ui.components.pageselector.PageSelector.callbackModelChanged(PageSelector.java:364)
[java] at
aipdf.util.ui.components.pageselector.DefaultPageSelectorModel.notifyObserver(DefaultPageSelectorModel.java:263)
[java] at
aipdf.util.ui.components.pageselector.DefaultPageSelectorModel.setCurrentPage(DefaultPageSelectorModel.java:190)
[java] at
aipdf.util.ui.components.pageselector.DefaultPageSelectorModel.setCurrentPage(DefaultPageSelectorModel.java:163)
[java] at
aipdf.util.ui.components.pageselector.PageSelector.actionPerformed(PageSelector.java:292)
[java] at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
[java] at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
[java] at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
[java] at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
[java] at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
[java] at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232)
[java] at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
[java] at
java.awt.Component.processMouseEvent(Component.java:5100)
[java] at
java.awt.Component.processEvent(Component.java:4897)
[java] at
java.awt.Container.processEvent(Container.java:1569)
[java] at
java.awt.Component.dispatchEventImpl(Component.java:3615)
[java] at
java.awt.Container.dispatchEventImpl(Container.java:1627)
[java] at
java.awt.Component.dispatchEvent(Component.java:3477)
[java] at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
[java] at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
[java] at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
[java] at
java.awt.Container.dispatchEventImpl(Container.java:1613)
[java] at
java.awt.Window.dispatchEventImpl(Window.java:1606)
[java] at
java.awt.Component.dispatchEvent(Component.java:3477)
[java] at
java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
[java] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
[java] at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
[java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
[java] at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
[java] at
java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

Discussion


Log in to post a comment.