Weka UI does not start due to "Could not initialize the GenericPropertiesCreator"

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Weka UI does not start due to "Could not initialize the GenericPropertiesCreator"

Christian Krupitzer

Hello,

I'm using Weka 3.8 and did all three online courses with the setup. Now I wanted to start the UI again after several weeks. However, I got the following message in a dialog:

"Could not initialize the GenericPropertiesCreator. This exception was produced: java.lang.NullPointerException" 


The log file produced:

 
Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
Problem with 'weka.experiment.Tester': java.lang.NullPointerException
Problem with 'weka.gui.explorer.ClassifierPanelLaunchHandlerPlugin': java.lang.NullPointerException
Problem with 'weka.classifiers.evaluation.output.prediction.AbstractOutput': java.lang.NullPointerException
Problem with 'weka.associations.Associator': java.lang.NullPointerException
Problem with 'weka.core.converters.AbstractFileLoader': java.lang.NullPointerException
Problem with 'weka.attributeSelection.ASEvaluation': java.lang.NullPointerException
Problem with 'weka.core.stopwords.StopwordsHandler': java.lang.NullPointerException
Problem with 'weka.core.stemmers.Stemmer': java.lang.NullPointerException
Problem with 'weka.experiment.ResultMatrix': java.lang.NullPointerException
Problem with 'weka.core.neighboursearch.balltrees.BallSplitter': java.lang.NullPointerException
Problem with 'weka.filters.Filter': java.lang.NullPointerException
Problem with 'weka.filters.Filter': java.lang.NullPointerException
Problem with 'weka.filters.Filter': java.lang.NullPointerException
Problem with 'weka.filters.Filter': java.lang.NullPointerException
Problem with 'weka.filters.Filter': java.lang.NullPointerException
Problem with 'weka.experiment.ResultProducer': java.lang.NullPointerException
Problem with 'weka.core.neighboursearch.balltrees.BallTreeConstructor': java.lang.NullPointerException
Problem with 'weka.core.DistanceFunction': java.lang.NullPointerException
Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
Problem with 'weka.gui.visualize.plugins.GraphVisualizePlugin': java.lang.NullPointerException
Problem with 'weka.attributeSelection.ASSearch': java.lang.NullPointerException
Problem with 'weka.estimators.UnivariateDensityEstimator': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
Problem with 'weka.gui.experiment.AbstractSetupPanel': java.lang.NullPointerException
Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
Problem with 'weka.classifiers.bayes.net.estimate.BayesNetEstimator': java.lang.NullPointerException
Problem with 'weka.experiment.SplitEvaluator': java.lang.NullPointerException
Problem with 'weka.core.neighboursearch.kdtrees.KDTreeNodeSplitter': java.lang.NullPointerException
Problem with 'weka.estimators.Estimator': java.lang.NullPointerException
Problem with 'weka.core.converters.Saver': java.lang.NullPointerException
Problem with 'weka.core.tokenizers.Tokenizer': java.lang.NullPointerException
Problem with 'weka.core.neighboursearch.NearestNeighbourSearch': java.lang.NullPointerException
Problem with 'weka.classifiers.functions.supportVector.RegOptimizer': java.lang.NullPointerException
Problem with 'weka.experiment.ResultListener': java.lang.NullPointerException
Problem with 'weka.gui.visualize.plugins.VisualizePlugin': java.lang.NullPointerException
Problem with 'weka.gui.visualize.plugins.AssociationRuleVisualizePlugin': java.lang.NullPointerException
Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
Problem with 'weka.clusterers.DensityBasedClusterer': java.lang.NullPointerException
Problem with 'weka.core.converters.AbstractFileSaver': java.lang.NullPointerException
Problem with 'weka.core.converters.Loader': java.lang.NullPointerException
Problem with 'weka.clusterers.Clusterer': java.lang.NullPointerException
Problem with 'weka.gui.visualize.JComponentWriter': java.lang.NullPointerException
Problem with 'weka.gui.visualize.plugins.ErrorVisualizePlugin': java.lang.NullPointerException
Problem with 'weka.gui.visualize.plugins.TreeVisualizePlugin': java.lang.NullPointerException

It seems that it cannot load anything. I do not remember to have changed path settings or the lcoation of the folder with the Weka packages. I usually used Weka's package manager for including new packages.

I now wanted to ask, whether anyhow has an idea how to fix that before I re-install everything.

Thanks,
Christian
 



---
M.Sc. Christian Krupitzer
Research Assistant
 
University of Mannheim | Business School
Chair of Information Systems 2 - Prof. Becker
L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
Phone  +49 621 181 2104 | Fax  +49 621 181 2150
[hidden email]
http://becker.bwl.uni-mannheim.de/

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

java variable cannot be resolved

Bob Matthews
Hello

I am still having trouble with the variable fcs_all
which java says cannot be resolved...............

*******************************************************
ObjectInputStream ois = new ObjectInputStream(
                           new FileInputStream("C:/Users/............./LibSVM.model"));
FilteredClassifier fcs_all = (FilteredClassifier) ois.readObject();
ois.close();

int s = 0;
while (s < 100) {
//retrieve the sth instance in the testing set
Instance sthInstance = testing.instance(s);

pred = fcs_all.classifyInstance(sthInstance);
*******************************************************
Any suggestions appreciated

Bob M

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weka UI does not start due to "Could not initialize the GenericPropertiesCreator"

Mark Hall
In reply to this post by Christian Krupitzer
Hmm, very strange. Have you deleted any packages in the interim? You could set the WEKA_HOME variable to point to a different location (e.g. ~/wekafiles2) and see if Weka starts up OK. You won't have any packages installed, but it will show whether the problem is with core Weka or one of your existing packages.

Cheers,
Mark.

On 8/05/17, 8:59 PM, "Christian Krupitzer" <[hidden email] on behalf of [hidden email]> wrote:

    Hello,
   
    I'm using Weka 3.8 and did all three online courses with the setup. Now I wanted to start the UI again after several weeks. However, I got the following message in a dialog:
   
    "Could not initialize the GenericPropertiesCreator. This exception was produced: java.lang.NullPointerException"
   
   
    The log file produced:
   
     
    Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
    Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
    Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
    Problem with 'weka.experiment.Tester': java.lang.NullPointerException
    Problem with 'weka.gui.explorer.ClassifierPanelLaunchHandlerPlugin': java.lang.NullPointerException
    Problem with 'weka.classifiers.evaluation.output.prediction.AbstractOutput': java.lang.NullPointerException
    Problem with 'weka.associations.Associator': java.lang.NullPointerException
    Problem with 'weka.core.converters.AbstractFileLoader': java.lang.NullPointerException
    Problem with 'weka.attributeSelection.ASEvaluation': java.lang.NullPointerException
    Problem with 'weka.core.stopwords.StopwordsHandler': java.lang.NullPointerException
    Problem with 'weka.core.stemmers.Stemmer': java.lang.NullPointerException
    Problem with 'weka.experiment.ResultMatrix': java.lang.NullPointerException
    Problem with 'weka.core.neighboursearch.balltrees.BallSplitter': java.lang.NullPointerException
    Problem with 'weka.filters.Filter': java.lang.NullPointerException
    Problem with 'weka.filters.Filter': java.lang.NullPointerException
    Problem with 'weka.filters.Filter': java.lang.NullPointerException
    Problem with 'weka.filters.Filter': java.lang.NullPointerException
    Problem with 'weka.filters.Filter': java.lang.NullPointerException
    Problem with 'weka.experiment.ResultProducer': java.lang.NullPointerException
    Problem with 'weka.core.neighboursearch.balltrees.BallTreeConstructor': java.lang.NullPointerException
    Problem with 'weka.core.DistanceFunction': java.lang.NullPointerException
    Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
    Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
    Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
    Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
    Problem with 'weka.gui.visualize.plugins.GraphVisualizePlugin': java.lang.NullPointerException
    Problem with 'weka.attributeSelection.ASSearch': java.lang.NullPointerException
    Problem with 'weka.estimators.UnivariateDensityEstimator': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
    Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
    Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
    Problem with 'weka.gui.experiment.AbstractSetupPanel': java.lang.NullPointerException
    Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
    Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
    Problem with 'weka.classifiers.bayes.net.estimate.BayesNetEstimator': java.lang.NullPointerException
    Problem with 'weka.experiment.SplitEvaluator': java.lang.NullPointerException
    Problem with 'weka.core.neighboursearch.kdtrees.KDTreeNodeSplitter': java.lang.NullPointerException
    Problem with 'weka.estimators.Estimator': java.lang.NullPointerException
    Problem with 'weka.core.converters.Saver': java.lang.NullPointerException
    Problem with 'weka.core.tokenizers.Tokenizer': java.lang.NullPointerException
    Problem with 'weka.core.neighboursearch.NearestNeighbourSearch': java.lang.NullPointerException
    Problem with 'weka.classifiers.functions.supportVector.RegOptimizer': java.lang.NullPointerException
    Problem with 'weka.experiment.ResultListener': java.lang.NullPointerException
    Problem with 'weka.gui.visualize.plugins.VisualizePlugin': java.lang.NullPointerException
    Problem with 'weka.gui.visualize.plugins.AssociationRuleVisualizePlugin': java.lang.NullPointerException
    Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
    Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
    Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
    Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
    Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
    Problem with 'weka.clusterers.DensityBasedClusterer': java.lang.NullPointerException
    Problem with 'weka.core.converters.AbstractFileSaver': java.lang.NullPointerException
    Problem with 'weka.core.converters.Loader': java.lang.NullPointerException
    Problem with 'weka.clusterers.Clusterer': java.lang.NullPointerException
    Problem with 'weka.gui.visualize.JComponentWriter': java.lang.NullPointerException
    Problem with 'weka.gui.visualize.plugins.ErrorVisualizePlugin': java.lang.NullPointerException
    Problem with 'weka.gui.visualize.plugins.TreeVisualizePlugin': java.lang.NullPointerException
   
    It seems that it cannot load anything. I do not remember to have changed path settings or the lcoation of the folder with the Weka packages. I usually used Weka's package manager for including new packages.
   
    I now wanted to ask, whether anyhow has an idea how to fix that before I re-install everything.
   
    Thanks,
    Christian
     
   
   
   
    ---
    M.Sc. Christian Krupitzer
    Research Assistant
     
    University of Mannheim | Business School
    Chair of Information Systems 2 - Prof. Becker
    L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
    Phone  +49 621 181 2104 | Fax  +49 621 181 2150
    [hidden email]
    http://becker.bwl.uni-mannheim.de/
   
    _______________________________________________
    Wekalist mailing list
    Send posts to: [hidden email]
    List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
    List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
   


_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weka UI does not start due to "Could not initialize the GenericPropertiesCreator"

Christian Krupitzer
In reply to this post by Christian Krupitzer

Thanks for the idea, Marc. However, it still not works. It created a new folder "wekafiles2" which emptyfolders "packages", "props", "repCache", "wekaMetaStore" and a weka.log file. As you supposed, it did not load any packages, but again crashed with the "Could not initialize the GenericPropertiesCreator" exception. After clicking "OK" in the dialog, I receive the following exception:
 

java.lang.NullPointerException
        weka.gui.GUIChooserApp.<init>(GUIChooserApp.java:741)
        weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
        weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
        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:741)
        at weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
        at weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
        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

Any further ideas?

Thanks,
Christian


Zitat von [hidden email]:


Hmm, very strange. Have you deleted any packages in the interim? You could set the WEKA_HOME variable to point to a different location (e.g. ~/wekafiles2) and see if Weka starts up OK. You won't have any packages installed, but it will show whether the problem is with core Weka or one of your existing packages.

Cheers,
Mark.

On 8/05/17, 8:59 PM, "Christian Krupitzer" <[hidden email] on behalf of [hidden email]> wrote:

   Hello,

   I'm using Weka 3.8 and did all three online courses with the setup. Now I wanted to start the UI again after several weeks. However, I got the following message in a dialog:

   "Could not initialize the GenericPropertiesCreator. This exception was produced: java.lang.NullPointerException"


   The log file produced:


   Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
   Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
   Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
   Problem with 'weka.experiment.Tester': java.lang.NullPointerException
   Problem with 'weka.gui.explorer.ClassifierPanelLaunchHandlerPlugin': java.lang.NullPointerException
   Problem with 'weka.classifiers.evaluation.output.prediction.AbstractOutput': java.lang.NullPointerException
   Problem with 'weka.associations.Associator': java.lang.NullPointerException
   Problem with 'weka.core.converters.AbstractFileLoader': java.lang.NullPointerException
   Problem with 'weka.attributeSelection.ASEvaluation': java.lang.NullPointerException
   Problem with 'weka.core.stopwords.StopwordsHandler': java.lang.NullPointerException
   Problem with 'weka.core.stemmers.Stemmer': java.lang.NullPointerException
   Problem with 'weka.experiment.ResultMatrix': java.lang.NullPointerException
   Problem with 'weka.core.neighboursearch.balltrees.BallSplitter': java.lang.NullPointerException
   Problem with 'weka.filters.Filter': java.lang.NullPointerException
   Problem with 'weka.filters.Filter': java.lang.NullPointerException
   Problem with 'weka.filters.Filter': java.lang.NullPointerException
   Problem with 'weka.filters.Filter': java.lang.NullPointerException
   Problem with 'weka.filters.Filter': java.lang.NullPointerException
   Problem with 'weka.experiment.ResultProducer': java.lang.NullPointerException
   Problem with 'weka.core.neighboursearch.balltrees.BallTreeConstructor': java.lang.NullPointerException
   Problem with 'weka.core.DistanceFunction': java.lang.NullPointerException
   Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
   Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
   Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
   Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
   Problem with 'weka.gui.visualize.plugins.GraphVisualizePlugin': java.lang.NullPointerException
   Problem with 'weka.attributeSelection.ASSearch': java.lang.NullPointerException
   Problem with 'weka.estimators.UnivariateDensityEstimator': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
   Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
   Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
   Problem with 'weka.gui.experiment.AbstractSetupPanel': java.lang.NullPointerException
   Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
   Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
   Problem with 'weka.classifiers.bayes.net.estimate.BayesNetEstimator': java.lang.NullPointerException
   Problem with 'weka.experiment.SplitEvaluator': java.lang.NullPointerException
   Problem with 'weka.core.neighboursearch.kdtrees.KDTreeNodeSplitter': java.lang.NullPointerException
   Problem with 'weka.estimators.Estimator': java.lang.NullPointerException
   Problem with 'weka.core.converters.Saver': java.lang.NullPointerException
   Problem with 'weka.core.tokenizers.Tokenizer': java.lang.NullPointerException
   Problem with 'weka.core.neighboursearch.NearestNeighbourSearch': java.lang.NullPointerException
   Problem with 'weka.classifiers.functions.supportVector.RegOptimizer': java.lang.NullPointerException
   Problem with 'weka.experiment.ResultListener': java.lang.NullPointerException
   Problem with 'weka.gui.visualize.plugins.VisualizePlugin': java.lang.NullPointerException
   Problem with 'weka.gui.visualize.plugins.AssociationRuleVisualizePlugin': java.lang.NullPointerException
   Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
   Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
   Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
   Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
   Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
   Problem with 'weka.clusterers.DensityBasedClusterer': java.lang.NullPointerException
   Problem with 'weka.core.converters.AbstractFileSaver': java.lang.NullPointerException
   Problem with 'weka.core.converters.Loader': java.lang.NullPointerException
   Problem with 'weka.clusterers.Clusterer': java.lang.NullPointerException
   Problem with 'weka.gui.visualize.JComponentWriter': java.lang.NullPointerException
   Problem with 'weka.gui.visualize.plugins.ErrorVisualizePlugin': java.lang.NullPointerException
   Problem with 'weka.gui.visualize.plugins.TreeVisualizePlugin': java.lang.NullPointerException

   It seems that it cannot load anything. I do not remember to have changed path settings or the lcoation of the folder with the Weka packages. I usually used Weka's package manager for including new packages.

   I now wanted to ask, whether anyhow has an idea how to fix that before I re-install everything.

   Thanks,
   Christian




   ---
   M.Sc. Christian Krupitzer
   Research Assistant

   University of Mannheim | Business School
   Chair of Information Systems 2 - Prof. Becker
   L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
   Phone  +49 621 181 2104 | Fax  +49 621 181 2150
   [hidden email]
   http://becker.bwl.uni-mannheim.de/
 


---
M.Sc. Christian Krupitzer
Research Assistant
 
University of Mannheim | Business School
Chair of Information Systems 2 - Prof. Becker
L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
Phone  +49 621 181 2104 | Fax  +49 621 181 2150
[hidden email]
http://becker.bwl.uni-mannheim.de/

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weka UI does not start due to "Could not initialize the GenericPropertiesCreator"

Mark Hall
Check to see if your CLASSPATH contains any other versions of Weka or other Java libraries.

Cheers,
Mark.

On 9/05/17, 11:40 PM, "Christian Krupitzer" <[hidden email] on behalf of [hidden email]> wrote:

    Thanks for the idea, Marc. However, it still not works. It created a new folder "wekafiles2" which emptyfolders "packages", "props", "repCache", "wekaMetaStore" and a weka.log file. As you supposed, it did not load any packages, but again crashed with the "Could not initialize the GenericPropertiesCreator" exception. After clicking "OK" in the dialog, I receive the following exception:
     
    java.lang.NullPointerException
            weka.gui.GUIChooserApp.<init>(GUIChooserApp.java:741)
            weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
            weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
            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:741)
            at weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
            at weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
            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
   
    Any further ideas?
   
    Thanks,
    Christian
   
    Zitat von [hidden email]:
   
   
    Hmm, very strange. Have you deleted any packages in the interim? You could set the WEKA_HOME variable to point to a different location (e.g. ~/wekafiles2) and see if Weka starts up OK. You won't have any packages installed, but it will show whether the problem is with core Weka or one of your existing packages.
   
    Cheers,
    Mark.
   
    On 8/05/17, 8:59 PM, "Christian Krupitzer" <[hidden email] on behalf of [hidden email]> wrote:
   
       Hello,
   
       I'm using Weka 3.8 and did all three online courses with the setup. Now I wanted to start the UI again after several weeks. However, I got the following message in a dialog:
   
       "Could not initialize the GenericPropertiesCreator. This exception was produced: java.lang.NullPointerException"
   
   
       The log file produced:
   
   
       Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
       Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
       Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
       Problem with 'weka.experiment.Tester': java.lang.NullPointerException
       Problem with 'weka.gui.explorer.ClassifierPanelLaunchHandlerPlugin': java.lang.NullPointerException
       Problem with 'weka.classifiers.evaluation.output.prediction.AbstractOutput': java.lang.NullPointerException
       Problem with 'weka.associations.Associator': java.lang.NullPointerException
       Problem with 'weka.core.converters.AbstractFileLoader': java.lang.NullPointerException
       Problem with 'weka.attributeSelection.ASEvaluation': java.lang.NullPointerException
       Problem with 'weka.core.stopwords.StopwordsHandler': java.lang.NullPointerException
       Problem with 'weka.core.stemmers.Stemmer': java.lang.NullPointerException
       Problem with 'weka.experiment.ResultMatrix': java.lang.NullPointerException
       Problem with 'weka.core.neighboursearch.balltrees.BallSplitter': java.lang.NullPointerException
       Problem with 'weka.filters.Filter': java.lang.NullPointerException
       Problem with 'weka.filters.Filter': java.lang.NullPointerException
       Problem with 'weka.filters.Filter': java.lang.NullPointerException
       Problem with 'weka.filters.Filter': java.lang.NullPointerException
       Problem with 'weka.filters.Filter': java.lang.NullPointerException
       Problem with 'weka.experiment.ResultProducer': java.lang.NullPointerException
       Problem with 'weka.core.neighboursearch.balltrees.BallTreeConstructor': java.lang.NullPointerException
       Problem with 'weka.core.DistanceFunction': java.lang.NullPointerException
       Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
       Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
       Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
       Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
       Problem with 'weka.gui.visualize.plugins.GraphVisualizePlugin': java.lang.NullPointerException
       Problem with 'weka.attributeSelection.ASSearch': java.lang.NullPointerException
       Problem with 'weka.estimators.UnivariateDensityEstimator': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
       Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
       Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
       Problem with 'weka.gui.experiment.AbstractSetupPanel': java.lang.NullPointerException
       Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
       Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
       Problem with 'weka.classifiers.bayes.net.estimate.BayesNetEstimator': java.lang.NullPointerException
       Problem with 'weka.experiment.SplitEvaluator': java.lang.NullPointerException
       Problem with 'weka.core.neighboursearch.kdtrees.KDTreeNodeSplitter': java.lang.NullPointerException
       Problem with 'weka.estimators.Estimator': java.lang.NullPointerException
       Problem with 'weka.core.converters.Saver': java.lang.NullPointerException
       Problem with 'weka.core.tokenizers.Tokenizer': java.lang.NullPointerException
       Problem with 'weka.core.neighboursearch.NearestNeighbourSearch': java.lang.NullPointerException
       Problem with 'weka.classifiers.functions.supportVector.RegOptimizer': java.lang.NullPointerException
       Problem with 'weka.experiment.ResultListener': java.lang.NullPointerException
       Problem with 'weka.gui.visualize.plugins.VisualizePlugin': java.lang.NullPointerException
       Problem with 'weka.gui.visualize.plugins.AssociationRuleVisualizePlugin': java.lang.NullPointerException
       Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
       Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
       Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
       Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
       Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
       Problem with 'weka.clusterers.DensityBasedClusterer': java.lang.NullPointerException
       Problem with 'weka.core.converters.AbstractFileSaver': java.lang.NullPointerException
       Problem with 'weka.core.converters.Loader': java.lang.NullPointerException
       Problem with 'weka.clusterers.Clusterer': java.lang.NullPointerException
       Problem with 'weka.gui.visualize.JComponentWriter': java.lang.NullPointerException
       Problem with 'weka.gui.visualize.plugins.ErrorVisualizePlugin': java.lang.NullPointerException
       Problem with 'weka.gui.visualize.plugins.TreeVisualizePlugin': java.lang.NullPointerException
   
       It seems that it cannot load anything. I do not remember to have changed path settings or the lcoation of the folder with the Weka packages. I usually used Weka's package manager for including new packages.
   
       I now wanted to ask, whether anyhow has an idea how to fix that before I re-install everything.
   
       Thanks,
       Christian
   
   
   
   
       ---
       M.Sc. Christian Krupitzer
       Research Assistant
   
       University of Mannheim | Business School
       Chair of Information Systems 2 - Prof. Becker
       L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
       Phone  +49 621 181 2104 | Fax  +49 621 181 2150
       [hidden email]
       http://becker.bwl.uni-mannheim.de/
     
   
   
   
    ---
    M.Sc. Christian Krupitzer
    Research Assistant
     
    University of Mannheim | Business School
    Chair of Information Systems 2 - Prof. Becker
    L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
    Phone  +49 621 181 2104 | Fax  +49 621 181 2150
    [hidden email]
    http://becker.bwl.uni-mannheim.de/
   
    _______________________________________________
    Wekalist mailing list
    Send posts to: [hidden email]
    List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
    List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
   


_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Weka UI does not start due to "Could not initialize the GenericPropertiesCreator"

Christian Krupitzer
In reply to this post by Christian Krupitzer

Indeed, another application that I currently installed needed to have set the variable CLASSPATH additionally to the PATH variable. Deleting this variable solved the issue.

Thanks,
Christian

Zitat von [hidden email]:


Check to see if your CLASSPATH contains any other versions of Weka or other Java libraries.

Cheers,
Mark.

On 9/05/17, 11:40 PM, "Christian Krupitzer" <[hidden email] on behalf of [hidden email]> wrote:

   Thanks for the idea, Marc. However, it still not works. It created a new folder "wekafiles2" which emptyfolders "packages", "props", "repCache", "wekaMetaStore" and a weka.log file. As you supposed, it did not load any packages, but again crashed with the "Could not initialize the GenericPropertiesCreator" exception. After clicking "OK" in the dialog, I receive the following exception:

   java.lang.NullPointerException
           weka.gui.GUIChooserApp.<init>(GUIChooserApp.java:741)
           weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
           weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
           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:741)
           at weka.gui.GUIChooserApp.createSingleton(GUIChooserApp.java:259)
           at weka.gui.GUIChooserApp.main(GUIChooserApp.java:1805)
           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

   Any further ideas?

   Thanks,
   Christian

   Zitat von [hidden email]:


   Hmm, very strange. Have you deleted any packages in the interim? You could set the WEKA_HOME variable to point to a different location (e.g. ~/wekafiles2) and see if Weka starts up OK. You won't have any packages installed, but it will show whether the problem is with core Weka or one of your existing packages.

   Cheers,
   Mark.

   On 8/05/17, 8:59 PM, "Christian Krupitzer" <[hidden email] on behalf of [hidden email]> wrote:

      Hello,

      I'm using Weka 3.8 and did all three online courses with the setup. Now I wanted to start the UI again after several weeks. However, I got the following message in a dialog:

      "Could not initialize the GenericPropertiesCreator. This exception was produced: java.lang.NullPointerException"


      The log file produced:


      Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
      Problem with 'weka.filters.UnsupervisedFilter': java.lang.NullPointerException
      Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.IterativeClassifier': java.lang.NullPointerException
      Problem with 'weka.experiment.Tester': java.lang.NullPointerException
      Problem with 'weka.gui.explorer.ClassifierPanelLaunchHandlerPlugin': java.lang.NullPointerException
      Problem with 'weka.classifiers.evaluation.output.prediction.AbstractOutput': java.lang.NullPointerException
      Problem with 'weka.associations.Associator': java.lang.NullPointerException
      Problem with 'weka.core.converters.AbstractFileLoader': java.lang.NullPointerException
      Problem with 'weka.attributeSelection.ASEvaluation': java.lang.NullPointerException
      Problem with 'weka.core.stopwords.StopwordsHandler': java.lang.NullPointerException
      Problem with 'weka.core.stemmers.Stemmer': java.lang.NullPointerException
      Problem with 'weka.experiment.ResultMatrix': java.lang.NullPointerException
      Problem with 'weka.core.neighboursearch.balltrees.BallSplitter': java.lang.NullPointerException
      Problem with 'weka.filters.Filter': java.lang.NullPointerException
      Problem with 'weka.filters.Filter': java.lang.NullPointerException
      Problem with 'weka.filters.Filter': java.lang.NullPointerException
      Problem with 'weka.filters.Filter': java.lang.NullPointerException
      Problem with 'weka.filters.Filter': java.lang.NullPointerException
      Problem with 'weka.experiment.ResultProducer': java.lang.NullPointerException
      Problem with 'weka.core.neighboursearch.balltrees.BallTreeConstructor': java.lang.NullPointerException
      Problem with 'weka.core.DistanceFunction': java.lang.NullPointerException
      Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
      Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
      Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
      Problem with 'weka.classifiers.bayes.net.search.SearchAlgorithm': java.lang.NullPointerException
      Problem with 'weka.gui.visualize.plugins.GraphVisualizePlugin': java.lang.NullPointerException
      Problem with 'weka.attributeSelection.ASSearch': java.lang.NullPointerException
      Problem with 'weka.estimators.UnivariateDensityEstimator': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.Classifier': java.lang.NullPointerException
      Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
      Problem with 'weka.classifiers.functions.supportVector.Kernel': java.lang.NullPointerException
      Problem with 'weka.gui.experiment.AbstractSetupPanel': java.lang.NullPointerException
      Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
      Problem with 'weka.core.PartitionGenerator': java.lang.NullPointerException
      Problem with 'weka.classifiers.bayes.net.estimate.BayesNetEstimator': java.lang.NullPointerException
      Problem with 'weka.experiment.SplitEvaluator': java.lang.NullPointerException
      Problem with 'weka.core.neighboursearch.kdtrees.KDTreeNodeSplitter': java.lang.NullPointerException
      Problem with 'weka.estimators.Estimator': java.lang.NullPointerException
      Problem with 'weka.core.converters.Saver': java.lang.NullPointerException
      Problem with 'weka.core.tokenizers.Tokenizer': java.lang.NullPointerException
      Problem with 'weka.core.neighboursearch.NearestNeighbourSearch': java.lang.NullPointerException
      Problem with 'weka.classifiers.functions.supportVector.RegOptimizer': java.lang.NullPointerException
      Problem with 'weka.experiment.ResultListener': java.lang.NullPointerException
      Problem with 'weka.gui.visualize.plugins.VisualizePlugin': java.lang.NullPointerException
      Problem with 'weka.gui.visualize.plugins.AssociationRuleVisualizePlugin': java.lang.NullPointerException
      Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
      Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
      Problem with 'weka.datagenerators.DataGenerator': java.lang.NullPointerException
      Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
      Problem with 'weka.datagenerators.ClusterDefinition': java.lang.NullPointerException
      Problem with 'weka.clusterers.DensityBasedClusterer': java.lang.NullPointerException
      Problem with 'weka.core.converters.AbstractFileSaver': java.lang.NullPointerException
      Problem with 'weka.core.converters.Loader': java.lang.NullPointerException
      Problem with 'weka.clusterers.Clusterer': java.lang.NullPointerException
      Problem with 'weka.gui.visualize.JComponentWriter': java.lang.NullPointerException
      Problem with 'weka.gui.visualize.plugins.ErrorVisualizePlugin': java.lang.NullPointerException
      Problem with 'weka.gui.visualize.plugins.TreeVisualizePlugin': java.lang.NullPointerException

      It seems that it cannot load anything. I do not remember to have changed path settings or the lcoation of the folder with the Weka packages. I usually used Weka's package manager for including new packages.

      I now wanted to ask, whether anyhow has an idea how to fix that before I re-install everything.

      Thanks,
      Christian




      ---
      M.Sc. Christian Krupitzer
      Research Assistant

      University of Mannheim | Business School
      Chair of Information Systems 2 - Prof. Becker
      L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
      Phone  +49 621 181 2104 | Fax  +49 621 181 2150
      [hidden email]
      http://becker.bwl.uni-mannheim.de/




   ---
   M.Sc. Christian Krupitzer
   Research Assistant

   University of Mannheim | Business School
   Chair of Information Systems 2 - Prof. Becker
   L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
   Phone  +49 621 181 2104 | Fax  +49 621 181 2150
   [hidden email]
   http://becker.bwl.uni-mannheim.de/

   _______________________________________________
   Wekalist mailing list
   Send posts to: [hidden email]
   List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
   List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html





------------------------------

_______________________________________________
Wekalist mailing list
[hidden email]
https://list.waikato.ac.nz/mailman/listinfo/wekalist


End of Wekalist Digest, Vol 171, Issue 44*****************************************



---
M.Sc. Christian Krupitzer
Research Assistant
 
University of Mannheim | Business School
Chair of Information Systems 2 - Prof. Becker
L15, 1-6 | 7th floor | room 722 | 68131 Mannheim | Germany
Phone  +49 621 181 2104 | Fax  +49 621 181 2150
[hidden email]
http://becker.bwl.uni-mannheim.de/

_______________________________________________
Wekalist mailing list
Send posts to: [hidden email]
List info and subscription status: https://list.waikato.ac.nz/mailman/listinfo/wekalist
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Loading...