Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-8148

StackOverflowError when integrating JMC in Eclipse with FlatScrollBar on Threads page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • 9.1.0
    • 9.0.0
    • Mission Control Client
    • None
    • windows

    Description

      Taken from: https://github.com/adoptium/jmc-build/issues/55#issuecomment-1824454885

      GH user RoiSoleil reported that there's a StackOverflowError when "integrating JMC in Eclipse with FlatScrollBar on Threads Page. I'm guessing this means using JMC as an Eclipse plug-in? From the screenshots it looks like they're using Windows, and their other comment/issue in jmc-build hints at them using the 9.0.0-SNAPSHOT build, so this would be a newer bug.

      FlatScrollBar looks to be a Windows feature (https://learn.microsoft.com/en-us/windows/win32/controls/flat-scroll-bars), and my initial guess is that it's conflicting with the swt scrollbars on the Threads page and causing problems. The threads page relies on some logic that sizes the two canvas and syncs their swt scrollbars in-order to create the illusion that they're one component, and interfering with this with external functionality makes me think this is potentially the issue.  

      Attachments

        Activity

          People

            aptmac Alex Macdonald
            aptmac Alex Macdonald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: