serras/scion-class-browser — Issue #18: Errors in EclipseFP after update to scion-browser to 0.2.5
Author: akaspin
Created: 2012-01-29 12:29:04+00:00
State: open

After updating I have some headache. EclipseFP tells me, what "Error update local database...".

"Problem Occupied":

Error loading local database

Error loading local database
unknown compression method

First Event in Error Log:

Error reading answer from Browser Server

java.util.zip.ZipException: unknown compression method
at java.util.zip.InflaterInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at net.sf.eclipsefp.haskell.browser.client.StreamBrowserServer.getALine(StreamBrowserServer.java:160)
at net.sf.eclipsefp.haskell.browser.client.StreamBrowserServer.sendAndReceiveOk(StreamBrowserServer.java:129)
at net.sf.eclipsefp.haskell.browser.client.StreamBrowserServer.setCurrentDatabase(StreamBrowserServer.java:210)
at net.sf.eclipsefp.haskell.browser.BrowserServer.loadLocalDatabase(BrowserServer.java:93)
at net.sf.eclipsefp.haskell.browser.BrowserPlugin.loadLocalDatabase(BrowserPlugin.java:239)
at net.sf.eclipsefp.haskell.ui.internal.scion.ScionManager$BrowserLocalDatabaseRebuildJob.run(ScionManager.java:1349)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Second Event in Error Log:

Error loading local database

java.util.zip.ZipException: unknown compression method
at java.util.zip.InflaterInputStream.read(Unknown Source)
at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
at sun.nio.cs.StreamDecoder.read(Unknown Source)
at java.io.InputStreamReader.read(Unknown Source)
at java.io.BufferedReader.fill(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at net.sf.eclipsefp.haskell.browser.client.StreamBrowserServer.getALine(StreamBrowserServer.java:160)
at net.sf.eclipsefp.haskell.browser.client.StreamBrowserServer.sendAndReceiveOk(StreamBrowserServer.java:129)
at net.sf.eclipsefp.haskell.browser.client.StreamBrowserServer.setCurrentDatabase(StreamBrowserServer.java:210)
at net.sf.eclipsefp.haskell.browser.BrowserServer.loadLocalDatabase(BrowserServer.java:93)
at net.sf.eclipsefp.haskell.browser.BrowserPlugin.loadLocalDatabase(BrowserPlugin.java:239)
at net.sf.eclipsefp.haskell.ui.internal.scion.ScionManager$BrowserLocalDatabaseRebuildJob.run(ScionManager.java:1349)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Shared scion-browser instance console:

>> {"filepath":"...workspace_path...\\.metadata\\.plugins\\net.sf.eclipsefp.haskell.browser\\scion-browser-0.2-dbs\\local.db","command":"load-local-db","rebuild":true}
"ok"
>> {"new-db":"_all","command":"set-current-db"}