-
Notifications
You must be signed in to change notification settings - Fork 165
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
[IntelliJ][ReportedByUser] Customer Issues #5761
Comments
Currently we are investigating and will fix it ASAP, it seams caused by a minor difference between the jar we generated and maven generated |
IntelliJ build version: IU-212.5284.40 Has this issue been fixed? The issue is still appearing.
|
Hi @decifris, can you reproduce this issue on latest bit : 3.59.0? |
This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further. |
Setup
IntelliJ build version: 2021.2 IC-212.4746.92
OS: Windows 10
JDK: JetBrains s.r.o. 11.0.11
Plugin version: 3.56.0-2021.2
Describe the bug
I'm using the example repo of Spring Cloud Functions in azure and running the app using mvn from cmd works fine, running the app from the "run function" doesn't work properly. Seems like it doesn't package the spring stuff, while the azure functions alone work fine. If I run the function and go to the api url, gives me 500 error and an error of "cannot find class" or "nullpointerexception" etc... like this:
System.Private.CoreLib: Exception while executing function: Functions.hello. System.Private.CoreLib: Result: Failure Exception: NullPointerException: Cannot invoke "org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry$FunctionInvocationWrapper.apply(Object)" because "function" is null Stack: java.lang.reflect.InvocationTargetException
To Reproduce
Just run the example repository from here and use the azure tool of intellij
Exception or Stack Trace
One of the errors I get:
System.Private.CoreLib: Exception while executing function: Functions.hello. System.Private.CoreLib: Result: Failure Exception: NullPointerException: Cannot invoke "org.springframework.cloud.function.context.catalog.SimpleFunctionRegistry$FunctionInvocationWrapper.apply(Object)" because "function" is null Stack: java.lang.reflect.InvocationTargetException
The text was updated successfully, but these errors were encountered: