<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/pdfviewer/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pdfviewer/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Thu, 11 Nov 2010 15:41:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pdfviewer/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>PDFRenderer.jar is outdated, cannot work with encrypted PDFs</title><link>https://sourceforge.net/p/pdfviewer/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The version of the PDFRenderer library provided with the PDF Viewer plugin seems to be complied from older code and does not handle password protected PDFs. Please provide the current version of PDFRenderer with PDF Viewer.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 11 Nov 2010 15:41:57 -0000</pubDate><guid>https://sourceforge.net80efb70d2162271cdd7245ae39b5e3aa351dcc0f</guid></item><item><title>NullPointerException when displaying PdfViewerComposite</title><link>https://sourceforge.net/p/pdfviewer/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I receive many NullPointerExceptions when displaying the PdfViewerComposite&lt;/p&gt;
&lt;p&gt;The following stacktrace shows the error, but I do not know what it causes.&lt;/p&gt;
&lt;p&gt;Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException&lt;br /&gt;
at org.nightlabs.eclipse.ui.pdfviewer.internal.PdfViewerComposite$17.run(PdfViewerComposite.java:1217)&lt;br /&gt;
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)&lt;br /&gt;
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)&lt;br /&gt;
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)&lt;/p&gt;
&lt;p&gt;I used the following code to display the PdfViewerComposite:&lt;/p&gt;
&lt;p&gt;/** Dispose old viewer */&lt;br /&gt;
pdfViewerComposite = ( (PDFReportView)getView () ).getPdfViewerComposite ();&lt;br /&gt;
if ( pdfViewerComposite != null )&lt;br /&gt;
{&lt;br /&gt;
pdfViewerComposite.dispose ();&lt;br /&gt;
}&lt;br /&gt;
/** Create a new viewer */&lt;/p&gt;
&lt;p&gt;pdfViewerComposite = new PdfViewerComposite ( parent, SWT.BORDER, pdfDocument, PdfViewerCompositeOption.NO_COOL_BAR );&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 10 Mar 2010 08:44:15 -0000</pubDate><guid>https://sourceforge.netcee4d3c2edb8d04385eb5c1140f4baa8e8333444</guid></item><item><title>NullPointerException when displaying PdfViewerComposite</title><link>https://sourceforge.net/p/pdfviewer/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I receive many NullPointerExceptions when displaying the PdfViewerComposite&lt;/p&gt;
&lt;p&gt;The following stacktrace shows the error, but I do not know what it causes.&lt;/p&gt;
&lt;p&gt;Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException&lt;br /&gt;
at org.nightlabs.eclipse.ui.pdfviewer.internal.PdfViewerComposite$17.run(PdfViewerComposite.java:1217)&lt;br /&gt;
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)&lt;br /&gt;
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)&lt;br /&gt;
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)&lt;br /&gt;
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)&lt;/p&gt;
&lt;p&gt;I used the following code to display the PdfViewerComposite:&lt;/p&gt;
&lt;p&gt;/** Dispose old viewer */&lt;br /&gt;
pdfViewerComposite = ( (PDFReportView)getView () ).getPdfViewerComposite ();&lt;br /&gt;
if ( pdfViewerComposite != null )&lt;br /&gt;
{&lt;br /&gt;
pdfViewerComposite.dispose ();&lt;br /&gt;
}&lt;br /&gt;
/** Create a new viewer */&lt;/p&gt;
&lt;p&gt;pdfViewerComposite = new PdfViewerComposite ( parent, SWT.BORDER, pdfDocument, PdfViewerCompositeOption.NO_COOL_BAR );&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 08 Mar 2010 18:08:40 -0000</pubDate><guid>https://sourceforge.net4749161b72d93ecbdf351e0a0ec11ce9388b2cc9</guid></item><item><title>NullPointerException when Config does not exist</title><link>https://sourceforge.net/p/pdfviewer/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;As documented in this forum post, the pdf-viewer-plugin does not work at all, if there is no Config (an ugly NullPointerException is thrown):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://sourceforge.net/projects/pdfviewer/forums/forum/866211/topic/3481661/index/page/1"&gt;https://sourceforge.net/projects/pdfviewer/forums/forum/866211/topic/3481661/index/page/1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A NullPointerException (without any message) is not helpful. Thus, if the Config is really absolutely required, there should be a nicer exception telling the developer that he must call Config.createSharedInstance(...) before. But IMHO, the Config is only used for the DocumentPrinter-configuration and therefore not necessary for viewing PDF files. Therefore, the Config should be optional and there should be a warning logged (with detailed information about Config.createSharedInstance(...) and what consequences it has to not call it - i.e. what features are not available). The functionality that absolutely requires the config (probably the print action only) should either be disabled or better invisible when there is no Config existing.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Marco Schulze</dc:creator><pubDate>Tue, 08 Dec 2009 12:34:54 -0000</pubDate><guid>https://sourceforge.net0dcbdda54ded6141358ad51dd458911d453f990b</guid></item></channel></rss>