Closed Mixerou closed 5 months ago
Hi, thanks for reporting this. I was not yet able to reproduce this, but could you try current development build if it mitigates this issue? - via Settings/Plugins/Gear icon/Install plugin from disk?
https://bined.exbin.org/download/?f=bined-intellij-plugin.zip
Best regards, HajdaM
Note: My guess is that on some systems / with specific LaF method Component.getFont() can return null in some phase of initialization, which I didn't consider properly.
In version 0.2.10.1-SNAPSHOT
everything works correctly. Thanks, HajdaM!
Plugin version: 0.2.10 How to reproduce: open any binary file Consequences: cannot open the file
IDE Information
```txt RustRover 2023.3 EAP Build #RR-233.15026.24, built on April 2, 2024 Licensed to RustRover EAP user: [REDACTED] Expiration date: June 1, 2024 Runtime version: 17.0.10+1-b1087.23 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. Windows 11.0 GC: G1 Young Generation, G1 Old Generation Memory: 8192M Cores: 12 Registry: ide.experimental.ui=true org.toml.json.schema=false llm.ai.assistant.toolwindow.activation.on.start=false transferSettings.vscode.onlyCargoToml=true Non-Bundled Plugins: dev.turingcomplete.intellijdevelopertoolsplugins (4.2.0) color.scheme.IntelliJ IDEA Dark (1.0) dev.slint.ideaplugin (1.0.2) com.github.madwareru.intellijronremix (0.3.2) com.vecheslav.darculaDarkerTheme (1.2.0) String Manipulation (9.12.0) Key Promoter X (2024.1.0) com.intellij.grazie.pro (0.3.296) com.intellij.ml.llm (233.15026.24) org.exbin.deltahex.intellij (0.2.10) mobi.hsz.idea.gitignore (4.5.3) ```Plugin Error
```txt java.lang.NullPointerException: Cannot invoke "java.awt.Font.deriveFont(java.util.Map)" because "initialFont" is null at org.exbin.framework.editor.text.preferences.TextFontPreferences.getFont(TextFontPreferences.java:67) at org.exbin.framework.bined.BinEdEditorComponent.applyOptions(BinEdEditorComponent.java:198) at org.exbin.bined.intellij.main.BinEdManager.initEditorComponent(BinEdManager.java:427) at org.exbin.bined.intellij.main.BinEdManager.initFileHandler(BinEdManager.java:270) at org.exbin.bined.intellij.main.BinEdNativeFile.