Uploaded image for project: 'Qt Tools for Android'
  1. Qt Tools for Android
  2. QTTA-5

Building Qt project two times crashes log output and prevents future logs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • QtTAS 1.0
    • QtTAS 1.0
    • QtTAS: General
    • None
    • macOS
    • 044452a82 (dev)

    Description

      If you start the IDE and build the Qt project everything works well - log output is shown in it's own window/panel and the libraries are built. But if you then build the Qt project again there is a crash and a stack trace with no visible QtBuild log output. Further builds will not show any output either.

      If you close the QtBuild output window and rebuild, it will again work once before failing in later attempts.

      Screen recording here: Screen Recording 2024-03-13 at 12.56.49.mov

      java.lang.NullPointerException: Cannot invoke "com.intellij.ui.content.Content.getDisplayName()" because "this.m_currentQtToolWindowContent" is null
      	at org.qtproject.qt.androidstudiotools.QtBuildProject.lambda$new$1(QtBuildProject.java:75)
      	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
      	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
      	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
      	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:829)
      	at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:454)
      	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:79)
      	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:122)
      	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:41)
      	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
      	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      	at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
      	at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
      	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
      	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
      	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:667)
      	at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$7(IdeEventQueue.kt:571)
      	at com.intellij.openapi.application.impl.ApplicationImpl.withoutImplicitRead(ApplicationImpl.java:1444)
      	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:571)
      	at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:68)
      	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:349)
      	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:348)
      	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
      	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:348)
      	at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:343)
      	at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:995)
      	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
      	at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:995)
      	at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$4(IdeEventQueue.kt:343)
      	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:829)
      	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:385)
      	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              olvuolte Olli Vuolteenaho
              olvuolte Olli Vuolteenaho
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes