java.util.ConcurrentModificationException: null

GitHub | matiwinnetou | 3 years ago
  1. 0

    It seems like there's a bug in DatasetsUtil#fixOriginalProperties. To reproduce: 1. Provision a cluster based upon the latest develop 2. Hit the list datasets endpoint 3. Stacktrace can be viewed in master logs {code} 2016-03-22 17:13:19,491 - ERROR [netty-executor-1:c.c.c.c.HttpExceptionHandler@49] - Unexpected error: request=GET /v3/namespaces/default/data/datasets user=<null>: java.util.ConcurrentModificationException: null at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1115) ~[na:1.7.0_75] at java.util.TreeMap$KeyIterator.next(TreeMap.java:1169) ~[na:1.7.0_75] at co.cask.cdap.data2.datafabric.dataset.DatasetsUtil.fixOriginalProperties(DatasetsUtil.java:120) ~[co.cask.cdap.cdap-data-fabric-3.4.0-SNAPSHOT.jar:na] at co.cask.cdap.data2.datafabric.dataset.service.ConversionHelpers.spec2Summary(ConversionHelpers.java:105) ~[co.cask.cdap.cdap-data-fabric-3.4.0-SNAPSHOT.jar:na] at co.cask.cdap.data2.datafabric.dataset.service.DatasetInstanceHandler.list(DatasetInstanceHandler.java:65) ~[co.cask.cdap.cdap-data-fabric-3.4.0-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_75] at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_75] at co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:80) ~[co.cask.http.netty-http-0.14.0.jar:na] at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:38) [co.cask.http.netty-http-0.14.0.jar:na] at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) [io.netty.netty-3.6.6.Final.jar:na] at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) [io.netty.netty-3.6.6.Final.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_75] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_75] at java.lang.Thread.run(Thread.java:745) [na:1.7.0_75] {code}

    Cask Community Issue Tracker | 9 months ago | Ali Anwar
    java.util.ConcurrentModificationException: null
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    ConcurrentModificationException in Metamodel

    GitHub | 3 years ago | lucaswerkmeister
    java.util.ConcurrentModificationException

    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.ConcurrentModificationException

      null

      at java.util.TreeMap$PrivateEntryIterator.nextEntry()
    2. Java RT
      TreeMap$KeyIterator.next
      1. java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1115)[na:1.7.0_21]
      2. java.util.TreeMap$KeyIterator.next(TreeMap.java:1169)[na:1.7.0_21]
      2 frames
    3. Closure Compiler
      Compiler.initOptions
      1. com.google.javascript.jscomp.ComposeWarningsGuard.disables(ComposeWarningsGuard.java:130)[closure-compiler-r2388.jar:na]
      2. com.google.javascript.jscomp.CompilerOptions.disables(CompilerOptions.java:1118)[closure-compiler-r2388.jar:na]
      3. com.google.javascript.jscomp.Compiler.initOptions(Compiler.java:290)[closure-compiler-r2388.jar:na]
      3 frames
    4. pl.matisoft.soy
      SoyAjaxController.getJsForTemplateFilesHash
      1. pl.matisoft.soy.ajax.process.google.GoogleClosureOutputProcessor.process(GoogleClosureOutputProcessor.java:52)[spring-soy-view-min-google-1.13.2.jar:na]
      2. pl.matisoft.soy.ajax.SoyAjaxController.prepareResponseFor(SoyAjaxController.java:181)[spring-soy-view-1.13.2.jar:na]
      3. pl.matisoft.soy.ajax.SoyAjaxController.compileJs(SoyAjaxController.java:102)[spring-soy-view-1.13.2.jar:na]
      4. pl.matisoft.soy.ajax.SoyAjaxController.getJsForTemplateFilesHash(SoyAjaxController.java:89)[spring-soy-view-1.13.2.jar:na]
      4 frames