Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3986

Potential StackOverflowError in SerializableChecker

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5-RC5.1
    • 1.5-RC6
    • wicket
    • None

    Description

      At line 517 it checks if 'streamObj' has already been checked, but at 522 it puts 'original' in the map. I don't know what's needed to reproduce it, but wicket-weld triggered it for me. You probably need a class with custom serialization which tries to serialize itself recursively. Changing line 522 to 'streamObj' fixed it for me.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: