Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-468

api.htmlui tests deadlock on mac when run

    XMLWordPrintableJSON

    Details

      Description

      It might be related to NETBEANS-373. It appears that the system deadlocks when creating the UI. The FX thread is the Native Ui thread on a mac. It appears that FX is waiting for Swing, which is waiting for the native thread to do something. Not very sure about it. Here are the stack traces I got (might be different each time):

      Swing EDT:

      GraphicsEnvironment.getLocalGraphicsEnvironment:81    
      RepaintManager.<clinit>:233    
      UIManager.initialize:1464    
      UIManager.maybeInitialize:1426    
      UIManager.getDefaults:659    
      UIManager.getBoolean:867    
      ImageUtilities.isDarkLaF:182    
      ImageUtilities.loadImage:142    
      Splash.loadContent:215    
      Splash$SplashPainter.init:353    
      Splash$SplashPainter$1.run:400    
      InvocationEvent.dispatch:311    
      EventQueue.dispatchEventImpl:756    
      EventQueue.access$500:97    
      EventQueue$3.run:709    
      EventQueue$3.run:703    
      AccessController.doPrivileged    
      ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege:80    
      EventQueue.dispatchEvent:726    
      EventDispatchThread.pumpOneEventForFilters:201    
      EventDispatchThread.pumpEventsForFilter:116    
      EventDispatchThread.pumpEventsForHierarchy:105    
      EventDispatchThread.pumpEvents:101    
      EventDispatchThread.pumpEvents:93    
      EventDispatchThread.run:82   

      AppKit/FX thread:

      UIManager.maybeInitialize:1424    
      UIManager.getLookAndFeel:492    
      NbBrowsers.applyNbSkin:62    
      NbBrowsers$1ApplySkin.run:54    
      Hidden Source Calls    
      InitializeWebView.run:45    
      BrowserBuilder$1OnPageLoad$1CallInitMethod.run:310    
      BrwsrCtx$1Wrap.run:120    
      AbstractFXPresenter.execute:354    
      BrwsrCtx.execute:131    
      BrowserBuilder$1OnPageLoad.run:348    
      AbstractFXPresenter.onPageLoad:135    
      InitializeWebView$1.changed:64    
      InitializeWebView$1.changed:57    
      ExpressionHelper$SingleChange.fireValueChangedEvent:182    
      ExpressionHelper.fireValueChangedEvent:81    
      ReadOnlyObjectPropertyBase.fireValueChangedEvent:74    
      ReadOnlyObjectWrapper.fireValueChangedEvent:102    
      ObjectPropertyBase.markInvalid:112    
      ObjectPropertyBase.set:146    
      WebEngine$LoadWorker.updateState:1287    
      WebEngine$LoadWorker.dispatchLoadEvent:1398    
      WebEngine$LoadWorker.access$1200:1280    
      WebEngine$PageLoadListener.dispatchLoadEvent:1267    
      WebPage.fireLoadEvent:2499    
      WebPage.fwkFireLoadEvent:2343    
      URLLoader.twkDidFinishLoading    
      URLLoader.notifyDidFinishLoading:859    
      URLLoader.lambda$didFinishLoading$103:850    
      1530391356.run    
      PlatformImpl.lambda$null$172:295    
      1314999409.run    
      AccessController.doPrivileged    
      PlatformImpl.lambda$runLater$173:294    
      1702940637.run    
      InvokeLaterDispatcher$Future.run:95   

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Sir Intellegence Austin Stephens
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: