kunstmusik / blue

Blue - An Integrated Music Environment
https://blue.kunstmusik.com
GNU General Public License v2.0
130 stars 11 forks source link

blue starts up in an unusable condition, has warnings in application log (Debian 11 bullseye) #652

Closed fluffymormegil closed 2 years ago

fluffymormegil commented 2 years ago

When I start blue 2.8.1 on my Debian 11 system, using the distro build of OpenJDK 11.0.14, I get a non-functioning system as shown in the screenshot at https://www.reddit.com/r/csound/comments/u4ji66/is_this_a_good_place_to_look_for_technical_help/ – none of Blue's features are present in the menus, and the Tools->Options dialog doesn't have the blue-specific tab.

The contents of the application log subwindow are reproduced below:

>Log Session: Friday, April 15, 2022 at 11:24:21 PM British Summer Time
>System Info: 
  Product Version         = Blue 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241
  Operating System        = Linux version 5.10.0-12-amd64 running on amd64
  Java; VM; Vendor        = 11.0.14; OpenJDK 64-Bit Server VM 11.0.14+9-post-Debian-1deb11u1; Debian
  Runtime                 = OpenJDK Runtime Environment 11.0.14+9-post-Debian-1deb11u1
  Java Home               = /usr/lib/jvm/java-11-openjdk-amd64
  System Locale; Encoding = en_GB (blue); UTF-8
  Home Directory          = /home/mormegil
  Current Directory       = /home/mormegil/tools/blue
  User Directory          = /home/mormegil/.blue/dev
  Cache Directory         = /home/mormegil/.blue/dev/var/cache
  Installation            = /home/mormegil/tools/blue/platform
                            /home/mormegil/tools/blue/blue
                            /home/mormegil/tools/blue/extra
                            /home/mormegil/tools/blue/ide
                            /home/mormegil/tools/blue/platform
  Boot & Ext. Classpath   = 
  Application Classpath   = /home/mormegil/tools/blue/platform/lib/boot.jar:/home/mormegil/tools/blue/platform/lib/org-openide-modules.jar:/home/mormegil/tools/blue/platform/lib/org-openide-util.jar:/home/mormegil/tools/blue/platform/lib/org-openide-util-lookup.jar:/home/mormegil/tools/blue/platform/lib/org-openide-util-ui.jar
  Startup Classpath       = /home/mormegil/tools/blue/platform/core/org-netbeans-libs-asm.jar:/home/mormegil/tools/blue/platform/core/core-base.jar:/home/mormegil/tools/blue/platform/core/core.jar:/home/mormegil/tools/blue/platform/core/org-openide-filesystems.jar:/home/mormegil/tools/blue/platform/core/asm-commons-7.2.jar:/home/mormegil/tools/blue/platform/core/asm-tree-7.2.jar:/home/mormegil/tools/blue/platform/core/asm-7.2.jar:/home/mormegil/tools/blue/blue/core/locale/core_blue.jar
-------------------------------------------------------------------------------
INFO [blue.plaf.Installer]: Finished blue PLAF installation
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
    org.openide.util.lookup [8.41 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.util [9.15 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.util.ui [9.16 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.modules [7.56 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.annotations.common/1 [1.35 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.filesystems [9.18 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.awt [7.76 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.progress/1 [1.55 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.progress.nb [1.55 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.dialogs [7.50 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.nodes [7.53 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.windows [6.85 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.libs.batik.read [1.1.0.1 1 netbeans-TLP/netbeans/release120-23-on-20200529]
    org.openide.util.ui.svg [1.1 netbeans-TLP/netbeans/release120-23-on-20200529]
    org.netbeans.modules.editor.mimelookup/1 [1.48 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.text [6.75 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.scripting [1.5 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.swing.tabcontrol [1.64 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.swing.outline [1.42 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.explorer [6.70 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.actions [6.47 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.queries/1 [1.51 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.templates [1.16 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.filesystems.nb [9.18 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.loaders [7.76 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.intent [1.10 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.io [1.11 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.io [1.57 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.openide.execution [9.11 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.swing.plaf [1.50 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.spi.quicksearch [1.35 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.settings/1 [1.65 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.util/1 [1.73 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.document [1.17.0.3 3 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.lexer/2 [1.71.0.1 1 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.lib2/1 [2.28.0.55.3 55 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.settings.lib [1.59.0.1 1 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.fold/1 [1.53 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.indent/2 [1.51 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.guards/1 [1.41 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.lib/3 [4.15.0.23.3.55 23 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.spi.editor.hints/0 [1.50.0.7.55 7 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.libs.asm [5.11 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.bootstrap/1 [2.86 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.startup.base [1.70.0.1 1 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.startup/1 [1.70.0.1 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.settings/1 [1.57 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.sampler [1.22 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.progress.ui [1.41 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.keyring [1.32 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core/2 [3.59 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.options.api/1 [1.53 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.options.keymap [1.45 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.settings.storage/1 [1.60.0.1 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.fold.nbui [1.20.0.55 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor/3 [1.95.0.6.3.23.55 6 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.options.editor/1 [1.68 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.masterfs/2 [2.63.0.2 2 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.masterfs.ui [2.11.0.2 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.masterfs.nio2 [1.23 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.libs.jna/2 [2.3 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.masterfs.linux [1.21 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.extexecution.base/2 [1.12 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.extexecution/2 [1.56 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.extbrowser/1 [1.61 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.api.search [1.29 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.completion/1 [1.52.0.2 2 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.search [1.33.0.0.55 0 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.plain.lib/1 [1.41 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.plain/2 [1.43 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.mimelookup.impl/1 [1.40 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.bracesmatching/0 [1.47.0.55 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.editor.actions/1 [1.39.0.55 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.modules.db.metadata.model/1 [1.19 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.libs.jna.platform/2 [2.3 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.libs.flexmark [1.1 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.windows/2 [2.93 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.ui/1 [1.53 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.output2/1 [1.50 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.network [1.20 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.nativeaccess/1 [1.39 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.multitabs/1 [1.20.0.1 1 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.io.ui/1 [1.38 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    org.netbeans.core.execution/1 [1.49 12.0-631bd69cd6112b1cc4c892c24e3e605b1ba04241]
    com.kunstmusik.csound.manual [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.utilities [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ext.commons.io [2.8.1 2.8.1 202012292259]
    com.kunstmusik.blue.ext.openjfx [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ui.utilities [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ui.nbutilities [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ui.filemanager [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ui.components [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.plugin [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.plaf [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.osc [1.0 2.8.1 202012292300]
    com.kunstmusik.blue.midi [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ext.rhino [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ext.jython [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ext.exml [1.0 2.8.1 202012292259]
    com.kunstmusik.blue.ext.commons.lang3 [2.8.1 2.8.1 202012292259]
    com.kunstmusik.blue.branding [2.8.1 2.8.1 202012292259]
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: no suitable found, using fallback.
INFO [org.netbeans.core.network.proxy.fallback.FallbackNetworkProxy]: Fallback system proxy resolver: no http_proxy variable found
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: fell to default (correct if direct mode went before)
INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL
Diagnostic information
Input arguments:
    -Djdk.home=/usr/lib/jvm/java-11-openjdk-amd64
    -Dnetbeans.dirs=/home/mormegil/tools/blue/platform:/home/mormegil/tools/blue/blue:/home/mormegil/tools/blue/extra:/home/mormegil/tools/blue/ide:
    -Dnetbeans.home=/home/mormegil/tools/blue/platform
    -Djava.library.path=/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/usr/local/lib:/usr/lib
    -XX:+HeapDumpOnOutOfMemoryError
    -XX:HeapDumpPath=/home/mormegil/.blue/dev/var/log/heapdump.hprof
Compiler: HotSpot 64-Bit Tiered Compilers
Heap memory usage: initial 252.0MB maximum 4002.0MB
Non heap memory usage: initial 7.3MB maximum -1b
Garbage collector: G1 Young Generation (Collections=5 Total time spent=0s)
Garbage collector: G1 Old Generation (Collections=0 Total time spent=0s)
Classes: loaded=7125 total loaded=7125 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 16,782,888,960
INFO [null]: Total physical memory 16,782,888,960
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [blue-ui-filemanager-BlueFileManagerTopComponent.shadow], but some are: [org-netbeans-core-io-ui-IOWindowAction.shadow, SwitchToRecentDocumentAction.shadow, Web, Tools, Separator3.instance, ConfigureWindow, org-netbeans-core-windows-actions-ResetWindowsAction.shadow, Separator4.instance, CloseWindowAction.shadow, CloseAllDocumentsAction.shadow, CloseAllButThisAction.shadow, GroupsMenuAction.shadow, DocumentsAction.shadow]
WARNING [org.openide.filesystems.Ordering]: Not all children in OptionsDialog/ marked with the position attribute: [BlueOptionsCategory], but some are: [Actions, Advanced, Appearance, Editor, Keywords, PreviewExamples, General.instance, Editor.instance, FontsAndColors.instance, Keymaps.instance, Appearance.instance, Advanced.instance]
kunstmusik commented 2 years ago

Could you try deleting the preferences folder (/home/mormegil/.blue/dev) and starting Blue once again? I've seen this happen sometimes but haven't seen it regularly (i.e., hard for me to reproduce).

If that does not work, could you also try the latest dev build from Github Actions:

https://github.com/kunstmusik/blue/actions/runs/2141672361

fluffymormegil commented 2 years ago

The "delete the preferences folder" recommendation works – thank you!

I'd already tried deleting the whole of /home/mormegil/.blue, which didn't work, but I can't now reproduce that failure.

Thank you for your assistance, and I sympathise with the difficulty of reproducing this kind of issue.

kunstmusik commented 2 years ago

Ah great, glad that solved it, enjoy!