Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prevent NPE inside GradleTestProgressListener#8769

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@petrovic-d
Copy link
Collaborator

SourceUtil.getFile will throw NullPointerExceptionhere when ci.getKey() is null

@petrovic-dpetrovic-d added Gradle[ci] enable "build tools" tests Java[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) labelsAug 28, 2025
Copy link
Member

@sdedicsdedic left a comment

Choose a reason for hiding this comment

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

I guess this is the case when some of the gradle-supported conventional java source dirs in the project do not exist ?

@petrovic-d
Copy link
CollaboratorAuthor

I guess this is the case when some of the gradle-supported conventional java source dirs in the project do not exist ?

@sdedic Well, I got NPE fortestResources source, because it resolved with source dir:project-name/oci/src/testResouces/java which doesn't exist and thenClasspathInfo.create returned null for it.
This is tested on GDK project

@apacheapache locked and limited conversation to collaboratorsAug 28, 2025
@apacheapache unlocked this conversationAug 28, 2025
Copy link
Contributor

@dbalekdbalek left a comment

Choose a reason for hiding this comment

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

Looks fine

@dbalekdbalek merged commit18a7742 intoapache:masterAug 28, 2025
66 of 67 checks passed
@mbienmbien added this to theNB28 milestoneOct 9, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dbalekdbalekdbalek approved these changes

@sdedicsdedicsdedic approved these changes

Assignees

No one assigned

Labels

Gradle[ci] enable "build tools" testsJava[ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)VSCode Extension

Projects

None yet

Milestone

NB28

Development

Successfully merging this pull request may close these issues.

5 participants

@petrovic-d@dbalek@sdedic@mbien@MartinBalin

[8]ページ先頭

©2009-2025 Movatter.jp