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

ArrayIndexOutOfBoundsException in com.sun.xml.internal.rngom.digested.DXMLPrinter

XMLWordPrintable

    • generic
    • generic

      A DESCRIPTION OF THE PROBLEM :
      The test case failed with unexpected ArrayIndexOutOfBoundsException.
      We think you should judge the length of args before calling args[0].

      ACTUAL -
      java.lang.ArrayIndexOutOfBoundsException: 0

      at com.sun.xml.internal.rngom.digested.DXMLPrinter.main(DXMLPrinter.java:555)

      ---------- BEGIN SOURCE ----------
          @Test
          public void test_main_a1_1() throws Exception{

              String[] stringArray0 = {};
              com.sun.xml.internal.rngom.digested.DXMLPrinter.main(stringArray0);
          }
      ---------- END SOURCE ----------

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: