java.lang.IllegalArgumentException: This library works only on Android.

GitHub | niepoprawnynick | 5 months ago
  1. 0

    GitHub comment 7#233627166

    GitHub | 5 months ago | niepoprawnynick
    java.lang.IllegalArgumentException: This library works only on Android.
  2. 0

    Always crashes

    GitHub | 12 months ago | tim424
    java.lang.IllegalArgumentException: This library works only on Android.
  3. 0

    Steps to reproduce : 1) Import file iris 2) Parse file 3) Build GBM Model with below : buildModel 'gbm', {"destination_key":"gbm_1","training_frame":"iris.hex","response_column":"C1","do_classification":true} ================== On flow UI no error.......... ================== Console Logs ================== 01-08 14:30:27.638 172.16.2.16:54323 29621 # Session WARN: water.api.FramesHandler.getFromDKV(FramesHandler.java:142)water.api.FramesHandler.fetch(FramesHandler.java:198)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:606)water.api.Handler.handle(Handler.java:66)water.api.RequestServer.handle(RequestServer.java:546)water.api.RequestServer.serve(RequestServer.java:510)water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:434)java.lang.Thread.run(Thread.java:745) 01-08 14:30:41.509 172.16.2.16:54323 29621 # Session INFO: Path: /3/Frames/iris.hex, route: /3/Frames/(?<key>.*), parms: {key=iris.hex} 01-08 14:31:03.667 172.16.2.16:54323 29621 # Session INFO: Path: /2/ModelBuilders/gbm, route: ^(/\d+)?/ModelBuilders/gbm, parms: {do_classification=true, destination_key=gbm_1, training_frame=iris.hex, response_column=C1} 01-08 14:31:03.699 172.16.2.16:54323 29621 FJ-0-11 INFO: Building H2O GBM model with these parameters: 01-08 14:31:03.703 172.16.2.16:54323 29621 # Session INFO: Path: /2/Jobs/$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a} 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: { 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_destination_key": { 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "name": "gbm_1", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "type": "Iced" 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: }, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_train": { 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "name": "iris.hex", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "type": "Iced" 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: }, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_dropNA20Cols": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_score_each_iteration": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_confusion_matrix_size": 20, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_response_column": "C1", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_convert_to_enum": true, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_balance_classes": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_after_balance_size": "Infinity", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_hit_ratio_k": 10, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_ntrees": 50, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_depth": 5, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_min_rows": 10, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_nbins": 20, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_variable_importance": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_seed": 0, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_checkpoint": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_loss": "AUTO", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_learn_rate": 0.1, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_group_split": true 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: } barrier onExCompletion for hex.tree.gbm.GBM$GBMDriver@1354377d java.lang.IllegalArgumentException: Enum conversion only works on integer columns at water.fvec.Vec.toEnum(Vec.java:888) at hex.SupervisedModelBuilder.init(SupervisedModelBuilder.java:59) at hex.tree.SharedTree.init(SharedTree.java:44) at hex.tree.gbm.GBM.init(GBM.java:51) at hex.tree.SharedTree$Driver.compute2(SharedTree.java:104) at water.H2O$H2OCountedCompleter.compute(H2O.java:580) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) 01-08 14:31:04.719 172.16.2.16:54323 29621 # Session INFO: Path: /2/Jobs/$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a}

    JIRA | 2 years ago | Neeraja Madabhushi
    java.lang.IllegalArgumentException: Enum conversion only works on integer columns
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Steps to reproduce : 1) Import file iris 2) Parse file 3) Build GBM Model with below : buildModel 'gbm', {"destination_key":"gbm_1","training_frame":"iris.hex","response_column":"C1","do_classification":true} ================== On flow UI no error.......... ================== Console Logs ================== 01-08 14:30:27.638 172.16.2.16:54323 29621 # Session WARN: water.api.FramesHandler.getFromDKV(FramesHandler.java:142)water.api.FramesHandler.fetch(FramesHandler.java:198)sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)java.lang.reflect.Method.invoke(Method.java:606)water.api.Handler.handle(Handler.java:66)water.api.RequestServer.handle(RequestServer.java:546)water.api.RequestServer.serve(RequestServer.java:510)water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:434)java.lang.Thread.run(Thread.java:745) 01-08 14:30:41.509 172.16.2.16:54323 29621 # Session INFO: Path: /3/Frames/iris.hex, route: /3/Frames/(?<key>.*), parms: {key=iris.hex} 01-08 14:31:03.667 172.16.2.16:54323 29621 # Session INFO: Path: /2/ModelBuilders/gbm, route: ^(/\d+)?/ModelBuilders/gbm, parms: {do_classification=true, destination_key=gbm_1, training_frame=iris.hex, response_column=C1} 01-08 14:31:03.699 172.16.2.16:54323 29621 FJ-0-11 INFO: Building H2O GBM model with these parameters: 01-08 14:31:03.703 172.16.2.16:54323 29621 # Session INFO: Path: /2/Jobs/$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a} 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: { 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_destination_key": { 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "name": "gbm_1", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "type": "Iced" 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: }, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_train": { 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "name": "iris.hex", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "type": "Iced" 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: }, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_dropNA20Cols": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_score_each_iteration": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_confusion_matrix_size": 20, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_response_column": "C1", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_convert_to_enum": true, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_balance_classes": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_after_balance_size": "Infinity", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_hit_ratio_k": 10, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_ntrees": 50, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_max_depth": 5, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_min_rows": 10, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_nbins": 20, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_variable_importance": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_seed": 0, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_checkpoint": false, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_loss": "AUTO", 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_learn_rate": 0.1, 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: "_group_split": true 01-08 14:31:03.733 172.16.2.16:54323 29621 FJ-0-11 INFO: } barrier onExCompletion for hex.tree.gbm.GBM$GBMDriver@1354377d java.lang.IllegalArgumentException: Enum conversion only works on integer columns at water.fvec.Vec.toEnum(Vec.java:888) at hex.SupervisedModelBuilder.init(SupervisedModelBuilder.java:59) at hex.tree.SharedTree.init(SharedTree.java:44) at hex.tree.gbm.GBM.init(GBM.java:51) at hex.tree.SharedTree$Driver.compute2(SharedTree.java:104) at water.H2O$H2OCountedCompleter.compute(H2O.java:580) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) 01-08 14:31:04.719 172.16.2.16:54323 29621 # Session INFO: Path: /2/Jobs/$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021034d4ffffffff$_ba40eec2172479df25128050225d425a}

    JIRA | 2 years ago | Neeraja Madabhushi
    java.lang.IllegalArgumentException: Enum conversion only works on integer columns
  6. 0

    IBM WebSphere Solr search crashing site

    Stack Overflow | 8 months ago | par5188
    java.lang.IllegalArgumentException: Missing value only works for numeric or STRING types

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      This library works only on Android.

      at com.yourinventit.processing.android.serial.SerialCommunicatorFacory.create()
    2. com.yourinventit.processing
      Serial.list
      1. com.yourinventit.processing.android.serial.SerialCommunicatorFacory.create(SerialCommunicatorFacory.java:67)
      2. com.yourinventit.processing.android.serial.Serial.<init>(Serial.java:41)
      3. com.yourinventit.processing.android.serial.Serial.<init>(Serial.java:50)
      4. com.yourinventit.processing.android.serial.Serial.list(Serial.java:263)
      4 frames
    3. processing.test.sketch_160719d
      sketch_160719d.setup
      1. processing.test.sketch_160719d.sketch_160719d.setup(sketch_160719d.java:33)
      1 frame
    4. processing.core
      PApplet.run
      1. processing.core.PApplet.handleDraw(Unknown Source)
      2. processing.core.PGraphicsAndroid2D.requestDraw(Unknown Source)
      3. processing.core.PApplet.run(Unknown Source)
      3 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:856)
      1 frame