question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NPE on a new project, if RLS is not detected in the system

See original GitHub issue

Windows 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:closed
  • Created 4 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
snuk182commented, May 16, 2019

Reinstallation of RLS from the fresh Rust release helped, Corrosion does not error.

0reactions
norrucommented, May 16, 2019

Hi @snuk182, nice fix! Do you mind closing this issue if you are happy? Many thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found