[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wekalist
Subject:    Re: [Wekalist] Weka 3.9.3 Exception "java.lang.NumberFormatException"
From:       Eibe Frank <eibe.frank () waikato ! ac ! nz>
Date:       2018-12-30 22:09:37
Message-ID: CADehzLWEDG_7-fXtE1ROGaUnNeBh6NA5D3GRHVELt9em3DfraA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Try removing or renaming the entire wekafiles folder. This is the folder
that holds all the packages and configuration info for WEKA. It is normally
located in your user home folder.

Cheers,
Eibe

On Mon, Dec 31, 2018 at 11:05 AM cschiri <craig@chirinda.com> wrote:

> Dear Mark,
>
> Firstly, complements of the season and the best of wishes for 2019!
>
> I am not new to Weka: I have been using it for two years now without
> issues.
> Recently, I have been running Weka Version 3.9.3 on a Windows 7 32Bit Acer
> Aspire without any issues for two weeks. (I am using this machine in the
> interim; my main machine developed issues that are currently being
> resolved).
>
> Recently, I tried to install Weka's Python Package via the Package Manager.
> The installation failed and the machine crashed. I have since managed to
> restore it. And, I uninstalled the failed installation via the Package
> Manager in Safe Mode.
>
> Initially, Weka worked, but crashed just after I had converted a nominal
> attribute to a string, and; attempted to run the string-to-word-vector
> filter on the same attribute.
>
> The problem I face now is whenever I try to run Weka, even after
> uninstalling and reinstalling both Weka and Java, I get the following
> exception:
>
>
> Could not initialize the GenericPropertiesCreator. This exception was
> produced: java.lang.NumberFormatException: For input string: "           ".
>
>
> Here is the output of the console:
>
> java.lang.NullPointerException
>         weka.gui.GUIChooserApp.<init>(GUIChooserApp.java:663)
>         weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:176)
>         weka.gui.GUIChooserApp.main(GUIChooserApp.java:1676)
>         sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         java.lang.reflect.Method.invoke(Unknown Source)
>         weka.gui.SplashWindow.invokeMain(SplashWindow.java:306)
>         weka.gui.GUIChooser.main(GUIChooser.java:92)
>
>         at weka.gui.GUIChooserApp.<init>(GUIChooserApp.java:663)
>         at weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:176)
>         at weka.gui.GUIChooserApp.main(GUIChooserApp.java:1676)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at weka.gui.SplashWindow.invokeMain(SplashWindow.java:306)
>         at weka.gui.GUIChooser.main(GUIChooser.java:92)
> null
>
> C:\Program Files\Weka-3-9>
>
> Please help me to resolve this error. I cannot start the new year without
> Weka!
>
> Best.
>
> C.S.
>
>
>
> --
> Sent from: http://weka.8497.n7.nabble.com/
> _______________________________________________
> Wekalist mailing list
> Send posts to: Wekalist@list.waikato.ac.nz
> To subscribe, unsubscribe, etc., visit
> https://list.waikato.ac.nz/mailman/listinfo/wekalist
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>

[Attachment #5 (text/html)]

<div dir="ltr"><div>Try removing or renaming the entire wekafiles folder. This is the \
folder that holds all the packages and configuration info for WEKA. It is normally \
located in your user home \
folder.</div><div><br></div><div>Cheers,</div><div>Eibe</div></div><br><div \
class="gmail_quote"><div dir="ltr">On Mon, Dec 31, 2018 at 11:05 AM cschiri &lt;<a \
href="mailto:craig@chirinda.com">craig@chirinda.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Dear \
Mark,<br> <br>
Firstly, complements of the season and the best of wishes for 2019!<br>
<br>
I am not new to Weka: I have been using it for two years now without issues.<br>
Recently, I have been running Weka Version 3.9.3 on a Windows 7 32Bit Acer<br>
Aspire without any issues for two weeks. (I am using this machine in the<br>
interim; my main machine developed issues that are currently being<br>
resolved).<br>
<br>
Recently, I tried to install Weka&#39;s Python Package via the Package Manager.<br>
The installation failed and the machine crashed. I have since managed to<br>
restore it. And, I uninstalled the failed installation via the Package<br>
Manager in Safe Mode. <br>
<br>
Initially, Weka worked, but crashed just after I had converted a nominal<br>
attribute to a string, and; attempted to run the string-to-word-vector<br>
filter on the same attribute.<br>
<br>
The problem I face now is whenever I try to run Weka, even after<br>
uninstalling and reinstalling both Weka and Java, I get the following<br>
exception:<br>
<br>
<br>
Could not initialize the GenericPropertiesCreator. This exception was<br>
produced: java.lang.NumberFormatException: For input string: &quot;                 \
&quot;.<br> <br>
<br>
Here is the output of the console:<br>
<br>
java.lang.NullPointerException<br>
            weka.gui.GUIChooserApp.&lt;init&gt;(GUIChooserApp.java:663)<br>
            weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:176)<br>
            weka.gui.GUIChooserApp.main(GUIChooserApp.java:1676)<br>
            sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
            sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>
            sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>
            java.lang.reflect.Method.invoke(Unknown Source)<br>
            weka.gui.SplashWindow.invokeMain(SplashWindow.java:306)<br>
            weka.gui.GUIChooser.main(GUIChooser.java:92)<br>
<br>
            at weka.gui.GUIChooserApp.&lt;init&gt;(GUIChooserApp.java:663)<br>
            at weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:176)<br>
            at weka.gui.GUIChooserApp.main(GUIChooserApp.java:1676)<br>
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br>
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br>
            at java.lang.reflect.Method.invoke(Unknown Source)<br>
            at weka.gui.SplashWindow.invokeMain(SplashWindow.java:306)<br>
            at weka.gui.GUIChooser.main(GUIChooser.java:92)<br>
null<br>
<br>
C:\Program Files\Weka-3-9&gt;<br>
<br>
Please help me to resolve this error. I cannot start the new year without<br>
Weka!<br>
<br>
Best.<br>
<br>
C.S.<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://weka.8497.n7.nabble.com/" target="_blank" \
rel="noreferrer">http://weka.8497.n7.nabble.com/</a><br> \
_______________________________________________<br> Wekalist mailing list<br>
Send posts to: <a href="mailto:Wekalist@list.waikato.ac.nz" \
target="_blank">Wekalist@list.waikato.ac.nz</a><br> To subscribe, unsubscribe, etc., \
visit <a href="https://list.waikato.ac.nz/mailman/listinfo/wekalist" target="_blank" \
rel="noreferrer">https://list.waikato.ac.nz/mailman/listinfo/wekalist</a><br> List \
etiquette: <a href="http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html" \
target="_blank" rel="noreferrer">http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html</a><br>
 </blockquote></div>



_______________________________________________
Wekalist mailing list
Send posts to: Wekalist@list.waikato.ac.nz
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic