Hello,
The following NPE occurs:
java.lang.NullPointerException: Attempt to invoke interface method 'byte[] itkach.slob.Slob$Compressor.decompress(byte[])' on a null object reference
at itkach.slob.Slob$StoreItem.getBinItem(Slob.java:626)
at itkach.slob.Slob$StoreItem.access$300(Slob.java:611)
at itkach.slob.Slob$Store.getContentData(Slob.java:682)
at itkach.slob.Slob.getContent(Slob.java:902)
at itkach.slob.Slob.getContent(Slob.java:898)
at itkach.slobber.Slobber$4.GET(Slobber.java:527)
at itkach.slobber.Slobber$GETContainer.handle(Slobber.java:77)
at itkach.slobber.Slobber.handle(Slobber.java:618)
at org.simpleframework.http.core.RequestDispatcher.dispatch(RequestDispatcher.java:121)
at org.simpleframework.http.core.RequestDispatcher.run(RequestDispatcher.java:103)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
.
This occurs when using the attached slob, dpd-uncompressed, and searching for any word (for example vedana). The slob was converted from dpd-goldendict.zip using PyGlossary 5.1.0-21-g54ab3b18 and the following command:
$ ./main.py dpd-goldendict/dpd/dpd.ifo dpd-uncompressed.slob --sqlite --write-options=compression=
.
This error does not occur from a compressed slob, dpd-compressed, generated from the same source:
$ ./main.py dpd-goldendict/dpd/dpd.ifo dpd.slob --sqlite
I've uploaded the exact slobs I used to my MEGA and they are available here, https://mega.nz/file/UlNyDbCQ#GMBHn3ADECw1tdDxpTBYDzvJWwDPD8dVTMEOBhG-C80. And the shas:
| File |
SHA-256 Sum |
dpds-GH-209.7z |
abfe4870d2c258047bbfd0b73ad2f37438c0dc34cfddfa31c387bb1765dd053a |
dpd-compressed.slob |
6df5650c052496288b8d41bfc804d89da3c23c31f372a78edbc47cf6f3373b6f |
dpd-uncompressed.slob |
ffb22be7af3730baec26179399ff0cb66d5179e35356e101588409b08436d35f |
Thanks for taking a look.
Hello,
The following NPE occurs:
.
This occurs when using the attached slob, dpd-uncompressed, and searching for any word (for example
vedana). The slob was converted from dpd-goldendict.zip usingPyGlossary 5.1.0-21-g54ab3b18and the following command:.
This error does not occur from a compressed slob, dpd-compressed, generated from the same source:
I've uploaded the exact slobs I used to my MEGA and they are available here, https://mega.nz/file/UlNyDbCQ#GMBHn3ADECw1tdDxpTBYDzvJWwDPD8dVTMEOBhG-C80. And the shas:
dpds-GH-209.7zdpd-compressed.slobdpd-uncompressed.slobThanks for taking a look.