Luke 5.5 java error

34 views
Skip to first unread message

r...@volzinnovation.com

unread,
Oct 25, 2018, 10:21:19 AM10/25/18
to Luke - Lucene Index Toolbox
Hi-
I have tried to launch Luke 5.5.0 as I need to access the index of a SolR 5.5.5 installation. I have java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode, sharing)

and am seeing the following exception at launch

Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.apache.lucene.luke.ui.LukeApplication.main(LukeApplication.java:101)
Caused by: java.lang.NumberFormatException: Value out of range. Value:"151" Radix:10
        at java.lang.Byte.parseByte(Unknown Source)
        at java.lang.Byte.parseByte(Unknown Source)
        at org.apache.pivot.util.Version.decode(Version.java:150)
        at org.apache.pivot.wtk.ApplicationContext.<clinit>(ApplicationContext.java:1697)
        ... 1 more

Which java version is compatible with Luke 5.5 ?

Thanks for your help!

tomoko.uc...@gmail.com

unread,
Oct 28, 2018, 11:17:32 AM10/28/18
to Luke - Lucene Index Toolbox
Hi,

I think you use pivot-luke-5.5.0, this was built by jdk 1.8.0_60. 
Here is some build information from MANIFEST.MF from pivot luke 5.5.0 release:

> Created-By: Apache Maven 3.0.5
> Build-Jdk: 1.8.0_60
> Main-Class: org.apache.lucene.luke.ui.LukeApplication

I also saw the same error you posted when launching pivot luke 5.5.0 on java 1.8.0_181. 

> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
> Exception in thread "main" java.lang.ExceptionInInitializerError
at org.apache.lucene.luke.ui.LukeApplication.main(LukeApplication.java:101)
> Caused by: java.lang.NumberFormatException: Value out of range. Value:"181" Radix:10

I have not closely looked into this error yet,
but it seems like this is caused by incompatibility between Apache Pivot used in pivot-luke-5.5.0 and the java runtime.

Thinlet Luke 5.5.0 (https://github.com/DmitryKey/luke/releases/tag/luke-5.5.0) works fine on Java 1.8.0_181.
So can you please try this instead of pivot luke?

Regards,
Tomoko

2018年10月25日木曜日 23時21分19秒 UTC+9 r...@volzinnovation.com:

Volz, Raphael

unread,
Oct 28, 2018, 11:59:54 AM10/28/18
to luke-d...@googlegroups.com
Hi Tomoko,
thanks for your help. I switched to the non-pivot version, and all went fine.
I also upgraded to the latest JDK due to the new Oracle contract terms.
Thanks again and best regards,
Raphael

--
Otrzymujesz tę wiadomość, bo subskrybujesz grupę „Luke - Lucene Index Toolbox” w Grupach dyskusyjnych Google.
Aby anulować subskrypcję tej grupy i przestać otrzymywać od niej wiadomości, wyślij e-maila na luke-discuss...@googlegroups.com.
Więcej opcji znajdziesz na https://groups.google.com/d/optout.


--
Beste Grüße

Raphael Volz

--

"The attempt to make heaven on earth invariably produces hell."
Karl Popper (The Open Society and Its Enemies)


Prof. Dr. Raphael Volz
Geschäftsführender Gesellschafter


Volz Innovation GmbH
Kirchhaldenweg 10, 76597 Loffenau, Germany                  

Web: www.volzinnovation.com
Phone: +49 7083 9328338
Fax: +49 7083 9328337

Company Seat / Sitz der Gesellschaft:
Loffenau
Company Register / Handelsregisternummer:
HRB 704418, Amtsgericht Mannheim
Managing Director / Geschäftsführer:
Prof. Dr. Raphael Volz
Reply all
Reply to author
Forward
0 new messages