Waikato / moa

MOA is an open source framework for Big Data stream mining. It includes a collection of machine learning algorithms (classification, regression, clustering, outlier detection, concept drift detection and recommender systems) and tools for evaluation.
http://moa.cms.waikato.ac.nz/
GNU General Public License v3.0
610 stars 353 forks source link

Crash on startup on Windows due to StringIndexOutOfBoundsException #133

Closed henrygouk closed 6 years ago

henrygouk commented 6 years ago

The following error happens on startup on Windows 10.

java.lang.StringIndexOutOfBoundsException: String index out of range: 2
        at java.base/java.lang.StringLatin1.charAt(Unknown Source)
        at java.base/java.lang.String.charAt(Unknown Source)
        at moa.DoTask.isJavaVersionOK(DoTask.java:61)
        at moa.gui.GUI.main(GUI.java:78)
henrygouk commented 6 years ago

I've managed to track it down to System.getProperty("java.version") returning "10"

fracpete commented 6 years ago

Fixed :-)