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

java.lang.Exception: expected string not found: pkg/package-frame.html

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • None
    • tools
    • b65
    • 8
    • b66
    • generic
    • windows
    • Not verified

    Description

      tools/javadoc/api/basic/GetTask_WriterTest.java
      tools/javadoc/api/basic/RunTest.java

      ----------System.err:(39/1880)*----------
      test: testWriter
      task succeeded
      >>Loading source file /pkg/C.java...
      Constructing Javadoc information...
      Standard Doclet version 1.8.0-ea
      Building tree for all the packages and classes...
      Generating testWriter\\pkg\\C.html...
      Generating testWriter\\pkg\\package-frame.html...
      Generating testWriter\\pkg\\package-summary.html...
      Generating testWriter\\pkg\\package-tree.html...
      Generating testWriter\\constant-values.html...
      Building index for all the packages and classes...
      Generating testWriter\\overview-tree.html...
      Generating testWriter\\index-all.html...
      Generating testWriter\\deprecated-list.html...
      Building index for all classes...
      Generating testWriter\\allclasses-frame.html...
      Generating testWriter\\allclasses-noframe.html...
      Generating testWriter\\index.html...
      Generating testWriter\\help-doc.html...
      <<
      java.lang.Exception: expected string not found: pkg/package-frame.html
      at GetTask_WriterTest.testWriter(GetTask_WriterTest.java:71)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at APITest.run(APITest.java:62)
      at GetTask_WriterTest.main(GetTask_WriterTest.java:47)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: expected string not found: pkg/package-frame.html


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: expected string not found: pkg/package-frame.html




      ----------System.err:(53/2116)*----------
      test: testRun2
      stdout >>Loading source files for package badfile.java...
      Constructing Javadoc information...
      1 error
      2 warnings
      <<
      stderr >>javadoc: warning - No source files for package badfile.java
      javadoc: warning - No source files for package badfile.java
      javadoc: error - No public or protected classes found to document.
      <<
      call failed as expected

      test: testRun
      stdout >>Loading source file C:\\aurora\\sandbox\\testbase\\tools\\javadoc\\api\\basic\\pkg\\C.java...
      Constructing Javadoc information...
      Standard Doclet version 1.8.0-ea
      Building tree for all the packages and classes...
      Generating testRun\\pkg\\C.html...
      Generating testRun\\pkg\\package-frame.html...
      Generating testRun\\pkg\\package-summary.html...
      Generating testRun\\pkg\\package-tree.html...
      Generating testRun\\constant-values.html...
      Building index for all the packages and classes...
      Generating testRun\\overview-tree.html...
      Generating testRun\\index-all.html...
      Generating testRun\\deprecated-list.html...
      Building index for all classes...
      Generating testRun\\allclasses-frame.html...
      Generating testRun\\allclasses-noframe.html...
      Generating testRun\\index.html...
      Generating testRun\\help-doc.html...
      <<
      stderr >><<
      call succeeded
      Error: expected string not found: pkg/package-frame.html
      Error: expected string not found: pkg/package-tree.html
      Error: expected string not found: pkg/C.html
      Error: expected string not found: pkg/package-summary.html

      2 tests, 4 errors
      java.lang.Exception: 4 errors found
      at APITest.run(APITest.java:83)
      at RunTest.main(RunTest.java:42)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:474)
      at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
      at java.lang.Thread.run(Thread.java:722)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 4 errors found


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: 4 errors found

      Attachments

        Activity

          People

            jjg Jonathan Gibbons
            strarup Peter Jensen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: