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

Most Stable Windows Release #1045

Closed
MOHAND99 opened this issue Jun 26, 2024 · 1 comment
Closed

Most Stable Windows Release #1045

MOHAND99 opened this issue Jun 26, 2024 · 1 comment
Labels
type: bug Something isn't working

Comments

@MOHAND99
Copy link

MOHAND99 commented Jun 26, 2024

Describe the bug
I tried using version 0.15.0, but I encountered the same issue mentioned in #1035. So, I downgraded to version 0.14.0 as recommended in #1035, which resolved that error. However, I am now experiencing a different error. Could you please let me know the most stable release for Windows?

SBM Version
0.14.0

SBM Application
spring-boot-migrator

To Reproduce
Steps to reproduce the behavior:

  1. java -jar spring-boot-migrator.jar
  2. scan application-path

Stacktrace
java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because the return value of "org.springframework.sbm.build.api.Dependency.getVersion()" is null
at org.springframework.sbm.boot.common.conditions.HasSpringBootDependencyImport.resolveCoordinates(HasSpringBootDependencyImport.java:56)
at org.springframework.sbm.boot.common.conditions.HasSpringBootDependencyImport.lambda$hasBuildFileDependencyImport$0(HasSpringBootDependencyImport.java:49)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:632)
at org.springframework.sbm.boot.common.conditions.HasSpringBootDependencyImport.hasBuildFileDependencyImport(HasSpringBootDependencyImport.java:50)
at java.base/java.util.stream.MatchOps$1MatchSink.accept(MatchOps.java:90)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.tryAdvance(ArrayList.java:1602)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:129)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:527)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:513)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:230)
at java.base/java.util.stream.MatchOps$MatchOp.evaluateSequential(MatchOps.java:196)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.anyMatch(ReferencePipeline.java:632)
at org.springframework.sbm.boot.common.conditions.HasSpringBootDependencyImport.evaluate(HasSpringBootDependencyImport.java:44)

Desktop :

  • OS: Windows
  • Version: 11
@MOHAND99 MOHAND99 added the type: bug Something isn't working label Jun 26, 2024
@MOHAND99
Copy link
Author

For me I used STS support by clicking right click on an opened maven project image
then I clicked on Upgrade Spring Boot Version..., selecting all versions
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant