Maven 1.x LinkCheck Plugin
  1. Maven 1.x LinkCheck Plugin
  2. MPLINKCHECK-18

java.lang.StackOverflowError while processing html file over 128k

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.3.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windowx XP - j2sdk 1.4.2_04 - maven 1.0
    • Number of attachments :
      1

      Description

      When i run site plugin with link-check report on my project I get a java.lang.StackOverflowError for each file that is over ~128k in my $basedir/target/docs/apidocs directory.

      I think this issue is related to : MPSITE-20 wich is closed saying that the problem is not it site plugin.

      I tried to boost the stack size with -Xss option with no success.

      I have a simple test case to repro the bug wich I Will attach to this bug.

      the ouput is :
      ----- BEGIN OUTPUT -------
      ...
      maven-linkcheck-plugin: Not using a proxy
      Found 0 files so far.
      Memory: 10M/11M
      Validating apidocs/allclasses-frame.html
      Validating apidocs/allclasses-noframe.html
      Validating apidocs/com/tsc/util/bug/BugBean.html
      Caught java.lang.StackOverflowError processing apidocs/com/tsc/util/bug/BugBean.
      html
      Exception Message: null
      Validating apidocs/com/tsc/util/bug/class-use/BugBean.html
      Validating apidocs/com/tsc/util/bug/package-frame.html
      Validating apidocs/com/tsc/util/bug/package-summary.html
      Validating apidocs/com/tsc/util/bug/package-tree.html
      Validating apidocs/com/tsc/util/bug/package-use.html
      Validating apidocs/constant-values.html
      Validating apidocs/deprecated-list.html
      ...
      ----- END OUTPUT ----------

      Thanks

        Activity

        Hide
        Denis Dallaire added a comment -

        To repro the bug, simply unzip TestCase.zip and run maven:site in the directory where project.xml is located.

        Show
        Denis Dallaire added a comment - To repro the bug, simply unzip TestCase.zip and run maven:site in the directory where project.xml is located.
        Hide
        Denis Dallaire added a comment -

        I've also tried linkcheck 1.3.4 and the bug is still there.

        Thanks

        Show
        Denis Dallaire added a comment - I've also tried linkcheck 1.3.4 and the bug is still there. Thanks
        Hide
        Carlos Sanchez added a comment -

        Cannot reproduce with maven 1.0.2, please upgrade maven.

        Show
        Carlos Sanchez added a comment - Cannot reproduce with maven 1.0.2, please upgrade maven.
        Hide
        Denis Dallaire added a comment -

        I've upgraded to maven-1.0.2 but still get the bug. Also I don't think it's because of the file size. I've seen linkcheck succeed with bigger files.

        But what version of the JDK are you using ? Should I try a newer version ?

        Thanks you very much.
        Denis

        Show
        Denis Dallaire added a comment - I've upgraded to maven-1.0.2 but still get the bug. Also I don't think it's because of the file size. I've seen linkcheck succeed with bigger files. But what version of the JDK are you using ? Should I try a newer version ? Thanks you very much. Denis
        Hide
        Carlos Sanchez added a comment -

        I use 1.4.2_04

        Show
        Carlos Sanchez added a comment - I use 1.4.2_04

          People

          • Assignee:
            Carlos Sanchez
            Reporter:
            Denis Dallaire
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: