Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while opening terminal #639

Closed
ekyfig opened this issue Nov 23, 2024 · 4 comments · Fixed by #658
Closed

Crash while opening terminal #639

ekyfig opened this issue Nov 23, 2024 · 4 comments · Fixed by #658
Assignees

Comments

@ekyfig
Copy link

ekyfig commented Nov 23, 2024

Describe the bug

when try to open a terminal,the app crashes

To Reproduce

Desired Results

Actual Results

Screenshots

Device

Additional context

@ekyfig ekyfig closed this as completed Nov 23, 2024
@ekyfig ekyfig reopened this Nov 23, 2024
@ekyfig
Copy link
Author

ekyfig commented Nov 23, 2024

here is log:
FATAL EXCEPTION: main
Process: tech.lolli.toolbox, PID: 1406
android.app.RemoteServiceException$ForegroundServiceDidNotStartInTimeException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{89830c0 u0 tech.lolli.toolbox/.ForegroundService c:tech.lolli.toolbox}
at android.app.ActivityThread.generateForegroundServiceDidNotStartInTimeException(ActivityThread.java:2271)
at android.app.ActivityThread.throwRemoteServiceException(ActivityThread.java:2239)
at android.app.ActivityThread.-$$Nest$mthrowRemoteServiceException(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2557)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8700)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)

@nholben
Copy link

nholben commented Dec 9, 2024

Issue happens to me as well. If I open the server tab and go into my selected server I can connect it SSH via the tab at the top. However, clicking the SSH tab at the bottom then clicking on my selected server the app immediately crashes.

@silvernode
Copy link

silvernode commented Dec 12, 2024

I reverted because of this issue and it is 100% reproducible. It will not crash on first launch but once you get some cache it will crash every time after that. Clearing cache allows the app not to crash once but only once. So then you gotta clear the cache to access it from the global terminals panel once again. Rinse and repeat.

Hope it gets fixed soon so I can update to the latest version. Thank you for this fantastic program.

@lollipopkit
Copy link
Owner

Due to this bug, the foreground service feature will be removed in 2f6db29.

This will be pinned, hope anyone can fix it.

@lollipopkit lollipopkit pinned this issue Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants