Codeberg/Community
54
325
Fork
You've already forked Community
12

NullPointerException: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" #2037

Open
opened 2025年07月20日 19:13:45 +02:00 by naturzukunft · 3 comments

Comment

Hi all,
in my ci-pipeline the error occures:

Fatal error: java.lang.NullPointerException: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" because "anyController" is null

I found the comment "The new docker version 4.39.0 (184744) fixes this issue. I just tested and it works without problem. " here.

And now i'm wondering which docker version the ci-pipeline runs with ?

### Comment Hi all, in my [ci-pipeline](https://ci.codeberg.org/repos/14937/pipeline/103/3) the error occures: ``` Fatal error: java.lang.NullPointerException: Cannot invoke "jdk.internal.platform.CgroupInfo.getMountPoint()" because "anyController" is null ``` I found the comment _"The new docker version 4.39.0 (184744) fixes this issue. I just tested and it works without problem. "_ [here](https://www.reddit.com/r/docker/comments/1ilht1i/elasticsearch_error_on_docker/). And now i'm wondering which docker version the ci-pipeline runs with ?

if i run it pon my machine it works:

docker run --rm -it registry.gitlab.com/naturzukunft_de/javafxdockerimage:2e653b22
apt-get install git 
export GRAALVM_HOME=/apps/home/graalvm-svm-java17-linux-gluon-22.1.0.1-Final
mvn -q clean gluonfx:build gluonfx:package 

so it's somehow a ci-codeberg env problem i think.

if i run it pon my machine it works: ``` docker run --rm -it registry.gitlab.com/naturzukunft_de/javafxdockerimage:2e653b22 apt-get install git export GRAALVM_HOME=/apps/home/graalvm-svm-java17-linux-gluon-22.1.0.1-Final mvn -q clean gluonfx:build gluonfx:package ``` so it's somehow a ci-codeberg env problem i think.

It's also working in a gitlab job. Therefore i assume an environment problem.

The problem is a bit complex i think. i try to run gluon to build an android .apk from a javaFx app. To prepare the environment i build a docker image in gitlab. in my ci.codeberg pipeline i use that image to run the gluon maven goals. gluonfx-maven-plugin is delegating to/using GraalVM CE Gluon.

It's also working in a [gitlab job](https://gitlab.com/naturzukunft_de/testjavafxdockerimage/-/jobs/10749256911). Therefore i assume an environment problem. The problem is a bit complex i think. i try to run [gluon](https://docs.gluonhq.com/#platforms_android) to build an android .apk from a javaFx app. To prepare the environment i [build a docker image in gitlab](https://gitlab.com/naturzukunft_de/javafxdockerimage/-/blob/main/Dockerfile?ref_type=heads). in my ci.codeberg pipeline i use that image to run the gluon maven goals. gluonfx-maven-plugin is delegating to/using [GraalVM CE Gluon](https://github.com/gluonhq/graal/releases/tag/gluon-22.1.0.1-Final).
See also: https://github.com/oracle/graal/issues/4831
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
accessibility

Reduces accessibility and is thus a "bug" for certain user groups on Codeberg.
bug

Something is not working the way it should. Does not concern outages.
bug
infrastructure

Errors evidently caused by infrastructure malfunctions or outages
Codeberg

This issue involves Codeberg's downstream modifications and settings and/or Codeberg's structures.
contributions welcome

Please join the discussion and consider contributing a PR!
docs

No bug, but an improvement to the docs or UI description will help
duplicate

This issue or pull request already exists
enhancement

New feature
infrastructure

Involves changes to the server setups, use `bug/infrastructure` for infrastructure-related user errors.
legal

An issue directly involving legal compliance
licence / ToS

involving questions about the ToS, especially licencing compliance
please chill
we are volunteers

Please consider editing your posts and remember that there is a human on the other side. We get that you are frustrated, but it's harder for us to help you this way.
public relations

Things related to Codeberg's external communication
question

More information is needed
question
user support

This issue contains a clearly stated problem. However, it is not clear whether we have to fix anything on Codeberg's end, but we're helping them fix it and/or find the cause.
s/Forgejo

Related to Forgejo. Please also check Forgejo's issue tracker.
s/Forgejo/migration

Migration related issues in Forgejo
s/Pages

Issues related to the Codeberg Pages feature
s/Weblate

Issue is related to the Weblate instance at https://translate.codeberg.org
s/Woodpecker

Woodpecker CI related issue
security

involves improvements to the sites security
service

Add a new service to the Codeberg ecosystem (instead of implementing into Gitea)
upstream

An open issue or pull request to an upstream repository to fix this issue (partially or completely) exists (i.e. Gitea, Forgejo, etc.)
wontfix

Codeberg's current set of contributors are not planning to spend time on delegating this issue.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Community#2037
Reference in a new issue
Codeberg/Community
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?