Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8187659

java.util.NoSuchElementException when deleting applicaiton in jcontrol Java Cache Viewer

XMLWordPrintable

    • x86
    • linux_oracle_6.0

      FULL PRODUCT VERSION :
      java version "9"
      Java(TM) SE Runtime Environment (build 9+181)
      Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux xxxxxxxx 2.6.39-400.297.3.el6uek.x86_64 #1 SMP Fri Jun 30 10:09:45 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux


      A DESCRIPTION OF THE PROBLEM :
      Run up jcontrol and go to Web Settings/Java Cache viewer. Select an application and press the delete (red cross) button. Command console shows:

      java.util.NoSuchElementException

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run up jcontrol and go to Web Settings/Java Cache viewer. Select an application and press the delete (red cross) button. Command console shows:

      java.util.NoSuchElementException

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      No error
      ACTUAL -
      Exception

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Exception in thread "Thread-7" java.util.NoSuchElementException
              at java.base/java.util.AbstractList$Itr.next(AbstractList.java:377)
              at java.base/java.lang.Iterable.forEach(Iterable.java:74)
              at jdk.deploy.controlpanel/com.sun.deploy.jcp.controller.cacheviewer.CacheViewer$5.run(CacheViewer.java:929)
              at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
              at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
              at java.base/java.lang.Thread.run(Thread.java:844)


      REPRODUCIBILITY :
      This bug can be reproduced always.

            pardesha Pardeep Sharma
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: