java.util.NoSuchElementException: node has no children

hsqldb | deccles | 8 years ago
  1. 0

    DatabaseManagerSwing right-click menus for tree

    hsqldb | 8 years ago | deccles
    java.util.NoSuchElementException: node has no children
  2. 0

    DatabaseManagerSwing right-click menus for tree

    hsqldb | 1 decade ago | deccles
    java.util.NoSuchElementException: node has no children at javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.getCommandString(DatabaseManagerSwing.java:2090) at org.hsqldb.util.DatabaseManagerSwing$PopupListener.toString(DatabaseManagerSwing.java:2024) at org.hsqldb.util.DatabaseManagerSwing.handlePopup(DatabaseManagerSwing.java:1979) at org.hsqldb.util.DatabaseManagerSwing.mouseReleased(DatabaseManagerSwing.java:1935) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:232) at java.awt.Component.processMouseEvent(Component.java:5100)
  3. 0
    Check if the field you try to read really exists in the database. If it is optional, just use com.mongodb.casbah.commons.MongoDBObject#getAs
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    nfs server fails with stacktrace on craete with krb5

    GitHub | 7 months ago | kofemann
    java.util.NoSuchElementException: Subject has no UID
  6. 0

    on master- H2O Build git hash 44b52b42916b28cc1b47264a68b70e35963b8e41 H2O Built on 2016-11-29 11:45:59 Dataset attached code- {code:java} data = h2o.importFile("/Users/nidhimehta/cal_housing.arff.txt",destination_frame = "data",header = T) dim(data) response = "binaryClass" response_indx = which(names(data)==response) data[,response_indx] = as.factor(data[,response_indx]) data = h2o.assign(data,key = "data") if (length(h2o.levels(data[,response_indx]))>2){ family ="multinomial" }else{ family = "binomial" } id_col_idx = which(names(data) %in% c("ID","Id")) if(length(id_col_idx)>0){ #remove id column data = h2o.assign(data[,-id_col_idx],key = "data") } myY = response myX = setdiff(names(data),response) griables = list(alpha = c(0,.2,.4,.6,.8,1))#,missing_values_handling = c("MeanImputation", "Skip")) gg = h2o.grid(algorithm = "glm",grid_id = as.character(aa[i,1]), x=myX, y=myY, training_frame=data, hyper_params= griables,family = family,nfolds=5,lambda_search = TRUE, search_criteria =list(strategy = "RandomDiscrete",stopping_metric = "AUTO", stopping_tolerance = 0.0001, stopping_rounds = 3)) {code} error msg - {code:java} > gg = h2o.grid(algorithm = "glm",grid_id = as.character(aa[i,1]), x=myX, y=myY, training_frame=data, + hyper_params= griables,family = family,nfolds=5,lambda_search = TRUE, + search_criteria =list(strategy = "RandomDiscrete",stopping_metric = "AUTO", stopping_tolerance = 0.0001, stopping_rounds = 3)) | | 0% Hyper-parameter: alpha, 0.2 [2016-11-29 17:15:02] failure_details: has no model for lambda = 1.3303912101952854E-4 [2016-11-29 17:15:02] failure_stack_traces: java.util.NoSuchElementException: has no model for lambda = 1.3303912101952854E-4 at hex.glm.GLMModel$GLMOutput.setSubmodel(GLMModel.java:902) at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1077) at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169) at hex.glm.GLM$GLMDriver.compute2(GLM.java:518) at water.H2O$H2OCountedCompleter.compute(H2O.java:1206) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 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) Hyper-parameter: alpha, 0.4 [2016-11-29 17:15:02] failure_details: has no model for lambda = 6.651956050976427E-5 [2016-11-29 17:15:02] failure_stack_traces: java.util.NoSuchElementException: has no model for lambda = 6.651956050976427E-5 at hex.glm.GLMModel$GLMOutput.setSubmodel(GLMModel.java:902) at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1077) at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169) at hex.glm.GLM$GLMDriver.compute2(GLM.java:518) at water.H2O$H2OCountedCompleter.compute(H2O.java:1206) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 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) Hyper-parameter: alpha, 0.8 [2016-11-29 17:15:02] failure_details: has no model for lambda = 3.3259780254882136E-5 [2016-11-29 17:15:02] failure_stack_traces: java.util.NoSuchElementException: has no model for lambda = 3.3259780254882136E-5 at hex.glm.GLMModel$GLMOutput.setSubmodel(GLMModel.java:902) at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1077) at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169) at hex.glm.GLM$GLMDriver.compute2(GLM.java:518) at water.H2O$H2OCountedCompleter.compute(H2O.java:1206) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 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) Hyper-parameter: alpha, 0.6 [2016-11-29 17:15:02] failure_details: has no model for lambda = 4.4346373673176154E-5 [2016-11-29 17:15:02] failure_stack_traces: java.util.NoSuchElementException: has no model for lambda = 4.4346373673176154E-5 at hex.glm.GLMModel$GLMOutput.setSubmodel(GLMModel.java:902) at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1077) at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169) at hex.glm.GLM$GLMDriver.compute2(GLM.java:518) at water.H2O$H2OCountedCompleter.compute(H2O.java:1206) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 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) Hyper-parameter: alpha, 1 [2016-11-29 17:15:02] failure_details: has no model for lambda = 2.9202054216242758E-5 [2016-11-29 17:15:02] failure_stack_traces: java.util.NoSuchElementException: has no model for lambda = 2.9202054216242758E-5 at hex.glm.GLMModel$GLMOutput.setSubmodel(GLMModel.java:902) at hex.glm.GLM$GLMDriver.computeImpl(GLM.java:1077) at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:169) at hex.glm.GLM$GLMDriver.compute2(GLM.java:518) at water.H2O$H2OCountedCompleter.compute(H2O.java:1206) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 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) {code}

    JIRA | 2 months ago | Nidhi Mehta
    java.util.NoSuchElementException: has no model for lambda = 1.3303912101952854E-4

    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.util.NoSuchElementException

      node has no children

      at javax.swing.tree.DefaultMutableTreeNode.getFirstChild()
    2. Java RT
      DefaultMutableTreeNode.getFirstChild
      1. javax.swing.tree.DefaultMutableTreeNode.getFirstChild(DefaultMutableTreeNode.java:864)
      1 frame
    3. HSQLDB
      DatabaseManagerSwing.mouseReleased
      1. org.hsqldb.util.DatabaseManagerSwing$PopupListener.getCommandString(DatabaseManagerSwing.java:2114)
      2. org.hsqldb.util.DatabaseManagerSwing$PopupListener.toString(DatabaseManagerSwing.java:2046)
      3. org.hsqldb.util.DatabaseManagerSwing.handlePopup(DatabaseManagerSwing.java:1999)
      4. org.hsqldb.util.DatabaseManagerSwing.mouseReleased(DatabaseManagerSwing.java:1960)
      4 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
      2. java.awt.Component.processMouseEvent(Component.java:6263)
      3. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      4. java.awt.Component.processEvent(Component.java:6028)
      5. java.awt.Container.processEvent(Container.java:2041)
      6. java.awt.Component.dispatchEventImpl(Component.java:4630)
      7. java.awt.Container.dispatchEventImpl(Container.java:2099)
      8. java.awt.Component.dispatchEvent(Component.java:4460)
      9. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
      10. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      11. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      12. java.awt.Container.dispatchEventImpl(Container.java:2085)
      13. java.awt.Window.dispatchEventImpl(Window.java:2478)
      14. java.awt.Component.dispatchEvent(Component.java:4460)
      15. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      16. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      17. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      18. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      19. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      20. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      21. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      21 frames