<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to tickets</title><link href="https://sourceforge.net/p/javadpkg/tickets/" rel="alternate"/><link href="https://sourceforge.net/p/javadpkg/tickets/feed.atom" rel="self"/><id>https://sourceforge.net/p/javadpkg/tickets/</id><updated>2019-01-23T13:51:52.483000Z</updated><subtitle>Recent changes to tickets</subtitle><entry><title>#8 MalformedInputException when default charset is not UTF-8</title><link href="https://sourceforge.net/p/javadpkg/tickets/8/?limit=25#fb35" rel="alternate"/><published>2019-01-23T13:51:52.483000Z</published><updated>2019-01-23T13:51:52.483000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net3cc674769d4347f3356354cf2965d23bacf9259b</id><summary type="html"/></entry><entry><title>#8 MalformedInputException when default charset is not UTF-8</title><link href="https://sourceforge.net/p/javadpkg/tickets/8/?limit=25#efc7" rel="alternate"/><published>2019-01-23T13:51:19.043000Z</published><updated>2019-01-23T13:51:19.043000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.netdc37a8e24d31b725404843bd123e37eea2ecf51e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;discussion&lt;/strong&gt;: enabled --&amp;gt; disabled&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#8 MalformedInputException when default charset is not UTF-8</title><link href="https://sourceforge.net/p/javadpkg/tickets/8/?limit=25#430b" rel="alternate"/><published>2019-01-23T13:51:01.897000Z</published><updated>2019-01-23T13:51:01.897000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.netf002224695fbf24c4c3dad985d0bc295f1b47de0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>MalformedInputException when default charset is not UTF-8</title><link href="https://sourceforge.net/p/javadpkg/tickets/8/" rel="alternate"/><published>2019-01-23T13:35:02.274000Z</published><updated>2019-01-23T13:35:02.274000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net723b8b6a86afe673f45b6745328ccc272dcc0b90</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In the DebianPackageParserImpl class the TarArchiveInputStream is opened without passing an encoding. The results in the stream using the default charset of the JVM, also TAR entries are encoded using UTF-8. This leads to exceptions if the default charset is e.g. US-ASCII.&lt;/p&gt;
&lt;p&gt;E.g. when parsing the file &lt;code&gt;ca-certificates_20170717~16.04.2_all.deb&lt;/code&gt; the TarArchiveInputStream can't process the entry &lt;code&gt;./usr/share/ca-certificates/mozilla/TÜRKTRUST_Elektronik_Sertifika_Hizmet_Sağlayıcısı_H5.crt&lt;/code&gt;. It will result in the following exception (excerpt of the stack trace):&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;Caused by: java.io.IOException: Couldn't read entry |data.tar.xz| from AR archive |/tmp/ca-certificates_20170717~16.04.2_all.deb|: Input length = 1
    at net.sourceforge.javadpkg.impl.DebianPackageParserImpl.readData(DebianPackageParserImpl.java:532)
    at net.sourceforge.javadpkg.impl.DebianPackageParserImpl.parseDebianPackage(DebianPackageParserImpl.java:168)
    at net.sourceforge.javadpkg.impl.DebianPackageParserImpl.parseDebianPackage(DebianPackageParserImpl.java:139)
    at de.aurenz.webfox.updater.logic.update.impl.UpdateProcessImpl.parsePackages(UpdateProcessImpl.java:781)
    ... 3 more
Caused by: java.nio.charset.MalformedInputException: Input length = 1
    at java.nio.charset.CoderResult.throwException(CoderResult.java:281)
    at java.nio.charset.CharsetDecoder.decode(CharsetDecoder.java:816)
    at org.apache.commons.compress.archivers.zip.NioZipEncoding.decode(NioZipEncoding.java:133)
    at org.apache.commons.compress.archivers.tar.TarUtils.parseName(TarUtils.java:298)
    at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:1246)
    at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:1237)
    at org.apache.commons.compress.archivers.tar.TarArchiveEntry.&amp;lt;init&amp;gt;(TarArchiveEntry.java:373)
    at org.apache.commons.compress.archivers.tar.TarArchiveInputStream.getNextTarEntry(TarArchiveInputStream.java:283)
    at net.sourceforge.javadpkg.impl.DebianPackageParserImpl.readData(DebianPackageParserImpl.java:451)
    ... 6 more
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>MalformedInputException when default charset is not UTF-8</title><link href="https://sourceforge.net/p/javadpkg/tickets/8/" rel="alternate"/><published>2019-01-23T13:35:02.274000Z</published><updated>2019-01-23T13:35:02.274000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net619102c37aacda5512d319accdf123e23689ec30</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 8 has been modified: MalformedInputException when default charset is not UTF-8&lt;br/&gt;
Edited By: Gerrit Hohl (gerrit-hohl)&lt;br/&gt;
Status updated: u'open' =&amp;gt; u'closed'&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MalformedInputException when default charset is not UTF-8</title><link href="https://sourceforge.net/p/javadpkg/tickets/8/" rel="alternate"/><published>2019-01-23T13:35:02.274000Z</published><updated>2019-01-23T13:35:02.274000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net5ec85e776c9fdb3ebd4477c7f98731053bdbacce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 8 has been modified: MalformedInputException when default charset is not UTF-8&lt;br/&gt;
Edited By: Gerrit Hohl (gerrit-hohl)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>MalformedInputException when default charset is not UTF-8</title><link href="https://sourceforge.net/p/javadpkg/tickets/8/" rel="alternate"/><published>2019-01-23T13:35:02.274000Z</published><updated>2019-01-23T13:35:02.274000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net1b2949b777be99ee01eaf334ed7e2d2210324181</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 8 has been modified: MalformedInputException when default charset is not UTF-8&lt;br/&gt;
Edited By: Gerrit Hohl (gerrit-hohl)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#7 FileModeImpl throws an IllegalArgumentException for file mode 40755</title><link href="https://sourceforge.net/p/javadpkg/tickets/7/?limit=25#e5cf" rel="alternate"/><published>2018-06-21T08:58:44.773000Z</published><updated>2018-06-21T08:58:44.773000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net41be23abc52691f7d27342c0a54d7934b538dc0a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#6 NullPointerException if copyright files fieldnames are not correct</title><link href="https://sourceforge.net/p/javadpkg/tickets/6/?limit=25#c052" rel="alternate"/><published>2018-06-21T08:58:37.950000Z</published><updated>2018-06-21T08:58:37.950000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net0dfd3e45f79e45fe462244d76320c27be5a4cfd8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: accepted --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>#7 FileModeImpl throws an IllegalArgumentException for file mode 40755</title><link href="https://sourceforge.net/p/javadpkg/tickets/7/?limit=25#d928" rel="alternate"/><published>2018-06-21T08:47:58.417000Z</published><updated>2018-06-21T08:47:58.417000Z</updated><author><name>Gerrit Hohl</name><uri>https://sourceforge.net/u/gerrit-hohl/</uri></author><id>https://sourceforge.net9b391d1f2ed88a8e653e30aa65a250ea61609165</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; accepted&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Gerrit Hohl&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry></feed>