Commit 4e9f154
committed
Fixed: Fix
```
com.termux.window E/Logger.TermuxFloatSessionClient: Error in checkForFontAndColors():
java.lang.NullPointerException: Attempt to invoke virtual method 'com.termux.terminal.TerminalSession com.termux.shared.termux.shell.command.runner.terminal.TermuxSession.getTerminalSession()' on a null object reference
at com.termux.window.TermuxFloatSessionClient.checkForFontAndColors(TermuxFloatSessionClient.java:166)
at com.termux.window.TermuxFloatSessionClient.onReload(TermuxFloatSessionClient.java:66)
at com.termux.window.TermuxFloatView.reloadViewStyling(TermuxFloatView.java:361)
at com.termux.window.TermuxFloatService.createTermuxSession(TermuxFloatService.java:235)
at com.termux.window.TermuxFloatService.initializeFloatView(TermuxFloatService.java:179)
at com.termux.window.TermuxFloatService.onStartCommand(TermuxFloatService.java:55)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4320)
at android.app.ActivityThread.access$1800(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1951)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7664)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
```NullPointerException in TermuxFloatSessionClient.checkForFontAndColors()
1 parent ecfea83 commit 4e9f154
File tree
2 files changed
+10
-3
lines changed- app/src/main/java/com/termux/window
2 files changed
+10
-3
lines changedLines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | | - | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
244 | 249 | | |
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | | - | |
| 182 | + | |
| 183 | + | |
182 | 184 | | |
183 | 185 | | |
184 | 186 | | |
| |||
0 commit comments