Skip to content

Conversation

TomBenjamins
Copy link
Contributor

Fixed: NullPointer in Wild Web Developer causes POM editor to stop functioning after installing specific plugin #897

Fixed: NullPointer in Wild Web Developer causes POM editor to stop functioning after installing specific plugin eclipse-wildwebdeveloper#897
Path.fromPortableString(uri.toString()));
// this constructor will ensure parts are URI encoded correctly
uri = new URI(url.getProtocol(), url.getAuthority(), url.getPath(), null, null);
if(Objects.nonNull(url)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As Objects is not imported, it causes a compilation issue. Why not just using url != null here?

Suggested change
if(Objects.nonNull(url)) {
if( (url != null) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I modified the code in the github editor, because my hard drive on which I fixed the code crashed. I forgot to add the import of Objects. My bad.
Personally I prefer the Objects.nonNull because it's less error prone than != and ==. You make errors with those operators more easily.

@TomBenjamins
Copy link
Contributor Author

I just added the missing import. This should work now.

sorry for the inconvenience.

Tom

@mickaelistria
Copy link
Contributor

OK, then the final requirement would be that you sign the Eclipse Contributor Agreement, see https://accounts.eclipse.org/legal/eca/validation/121987

@TomBenjamins
Copy link
Contributor Author

I believe I just filled in the ECA. But he cannot determine the ECA signoff status.
Is there still a problem?

@TomBenjamins
Copy link
Contributor Author

image

I don't know what I'm doing wrong here...

@mickaelistria
Copy link
Contributor

are you using the same email address to sign the ECA than the one that you use to author the commit?

@TomBenjamins
Copy link
Contributor Author

Yes I just checked that the mail address in my current profile is equal to the emailaddress used in the Eclipse account, resubmitted the ECA, still nothing...

@TomBenjamins
Copy link
Contributor Author

AHA, I just found that I also needed to install the ECA checker on the forked repo in question.
Now it seems to be OK....

@TomBenjamins
Copy link
Contributor Author

Hello @mickaelistria can you explain what happens next?

@mickaelistria
Copy link
Contributor

mickaelistria commented Oct 3, 2022

What happens next is I say thank you one behalf of m2e and Wild Web Developer!

@mickaelistria mickaelistria merged commit eefc950 into eclipse-wildwebdeveloper:master Oct 3, 2022
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 this pull request may close these issues.

NullPointer in Wild Web Developer causes POM editor to stop functioning after installing specific plugin
2 participants