Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native-image unit test inject reference bean failed #13578

Open
1 task done
FoghostCn opened this issue Dec 25, 2023 · 1 comment
Open
1 task done

native-image unit test inject reference bean failed #13578

FoghostCn opened this issue Dec 25, 2023 · 1 comment
Labels
component/sdk Related with apache/dubbo help wanted Everything needs help from contributors type/enhancement Everything related with code enhancement or performance

Comments

@FoghostCn
Copy link
Contributor

  • I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 3.3.0-beta.2-SNAPSHOT
  • Operating System version: macOS 14.1.2
  • Java version: GraalVM Oracle 17.0.9

Steps to reproduce this issue

  1. clone https://github.com/FoghostCn/dubbo-samples/tree/master/2-advanced/dubbo-samples-native-image/
  2. run dubbo-samples-native-image-provider first
  3. cd /dubbo-samples-native-image-consumer
  4. exec mvn clean test -PnativeTest

Expected Behavior

unit test pass

Actual Behavior

NullPointerException, demoService is not inject, it is null

@FoghostCn FoghostCn added the type/need-triage Need maintainers to triage label Dec 25, 2023
@FoghostCn FoghostCn changed the title native unit test inject reference bean failed native-image unit test inject reference bean failed Dec 25, 2023
@AlbumenJ
Copy link
Member

@CrazyHZM PTAL

@CrazyHZM CrazyHZM added type/enhancement Everything related with code enhancement or performance and removed type/need-triage Need maintainers to triage labels Jan 2, 2024
@AlbumenJ AlbumenJ added help wanted Everything needs help from contributors component/sdk Related with apache/dubbo labels Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/sdk Related with apache/dubbo help wanted Everything needs help from contributors type/enhancement Everything related with code enhancement or performance
Projects
Status: No status
Development

No branches or pull requests

3 participants