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

Code Assist IDE Crashes When Opening NGG-FCLRendererPlugin Repository #746

Open
popstarmc opened this issue Jan 31, 2025 · 0 comments
Open

Comments

@popstarmc
Copy link

Description:
When attempting to open the NGG-FCLRendererPlugin repository from GitHub using Code Assist IDE,the IDE crashes and displays the following error message:

Build version: 0.2.9 ALPHA
Build date: 1981-01-01 01:01:02
Current date: 2025-01-31 21:39:44
Device: HUAWEI SCM-W09

Stack trace:
java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.tyron.xml.completion.repository.api.ResourceNamespace.fromPackageName(ResourceNamespace.java:148)
at com.tyron.xml.completion.repository.ResourceRepository.(ResourceRepository.java:28)
at com.tyron.completion.xml.XmlRepository.initialize(XmlRepository.java:90)
at com.tyron.code.ui.project.ProjectManager.doOpenProject(ProjectManager.java:165)
at com.tyron.code.ui.project.ProjectManager.lambda$openProject$0$com-tyron-code-ui-project-ProjectManager(ProjectManager.java:94)
at com.tyron.code.ui.project.ProjectManager$$ExternalSyntheticLambda0.run(Unknown Source:10)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:929)

Steps to Reproduce:

  1. Open Code Assist IDE(version 0.2.9 ALPHA).

  2. Attempt to open the NGG-FCLRendererPlugin repository from GitHub.

  3. The IDE crashes immediately after the repository is selected.

Expected Behavior:
The IDE should successfully open the NGG-FCLRendererPlugin repository without crashing.

Actual Behavior:
The IDE crashes with the above-mentioned stack trace.

User Actions:

• 2025-01-31 21:39:31:MainActivity created

• 2025-01-31 21:39:31:MainActivity resumed

Device Information:

• Device Model:HUAWEI SCM-W09(huawei Mediapad 6 10.8 WiFi)

• Operating System:Android10,harmonyos 2

Additional Information:

• The NGG-FCLRendererPlugin repository can be found at:https://github.com/BZLZHH/NGG-FCLRendererPlugin

• The error appears to be related to the XML completion feature in Code Assist IDE,specifically within theResourceNamespaceclass.

https://github.com/user-attachments/assets/91f208df-59b1-4b2f-a485-ca79b8fdd627

Request:
Please investigate this issue and provide a fix or workaround to prevent the IDE from crashing when opening the NGG-FCLRendererPlugin repository.

Thank you for your attention to this matter.

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

No branches or pull requests

1 participant