NPE on a new project, if RLS is not detected in the system
See original GitHub issueWindows 10 x64 + unstable latest Corrosion. I didn’t use RLS, and so it is not installed in the system. Reproduction: on a new project creation a window pops up which says the preferences are invalid, and prompts to change them. On pressing the preferences an “invalid values” message pops up, and no new preferences can be applied (Apply button is always disabled).
!ENTRY org.eclipse.jface 4 2 2019-04-29 12:31:40.927
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
at java.util.regex.Matcher.reset(Matcher.java:309)
at java.util.regex.Matcher.<init>(Matcher.java:229)
at java.util.regex.Pattern.matcher(Pattern.java:1093)
at org.eclipse.corrosion.CorrosionPlugin.validateCommandVersion(CorrosionPlugin.java:121)
at org.eclipse.corrosion.CorrosionPreferencePage.isRustupSectionValid(CorrosionPreferencePage.java:197)
at org.eclipse.corrosion.CorrosionPreferencePage.isPageValid(CorrosionPreferencePage.java:144)
at org.eclipse.corrosion.CorrosionPreferencePage.lambda$6(CorrosionPreferencePage.java:393)
at org.eclipse.corrosion.ui.InputComponent.setValue(InputComponent.java:76)
at org.eclipse.corrosion.CorrosionPreferencePage.initializeContent(CorrosionPreferencePage.java:125)
at org.eclipse.corrosion.CorrosionPreferencePage.createContents(CorrosionPreferencePage.java:105)
... etc
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
java - NPE in Win32ShellFolder2.access when creating new ...
I have written unit tests for a Swing GUI that creates JFileChooser. Since the unit tests are run on a build server as...
Read more >Fix list for IBM WebSphere Application Server Liberty
Fixes for WebSphere Application Server Liberty are delivered in fix packs periodically. This is a complete listing of all the fixes for Liberty...
Read more >Defects fixed in the IDM 4.5.0 release - Support - Micro Focus
Defect ID Component Description
848056 Audit Integration Audit events are not generated for .NET RL
894551 Audit Integration Latest IDM Collector not rebraned to NetIQ
867897...
Read more >Issues - Apache Directory
Directory Sub-Project, JIRA key, Link to issue tracking system ... [FC-12] isTemporalSet does not detect changes to entity constraint values Created: ...
Read more >C2CCertified Product Standard V3.1 - Amazon S3
Products Innovation Institute(9) as a third party not-for-profit organization to manage the certification program. Cradle to Cradle® and C2C® and are ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Reinstallation of RLS from the fresh Rust release helped, Corrosion does not error.
Hi @snuk182, nice fix! Do you mind closing this issue if you are happy? Many thanks.