-
Notifications
You must be signed in to change notification settings - Fork 2.8k
try can use automatic resource management 1/2
#2401
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
try can use automatic resource management 1/2
#2401
Conversation
|
again NPE: Error: Errors:
Error: MavenIT0008SimplePluginTest.testit0008:45 » NullPointer Cannot invoke "java.io.File.exists()" because "dir" is null
Error: MavenIT0010DependencyClosureResolutionTest.testit0010:47 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0011DefaultVersionByDependencyManagementTest.testit0011:44 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0018DependencyManagementTest.testit0018:42 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0021PomProfileTest.testit0021:42 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0030DepPomDepMgmtInheritanceTest.testit0030:40 » NullPointer Cannot invoke "java.io.File.exists()" because "dir" is null
Error: MavenIT0041ArtifactTypeFromPluginExtensionTest.testit0041:47 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0085TransitiveSystemScopeTest.testit0085:48 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0087PluginRealmWithProjectLevelDepsTest.testit0087:53 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0142DirectDependencyScopesTest.testit0142:56 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0143TransitiveDependencyScopesTest.testitCompileScope:53->run:249 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0143TransitiveDependencyScopesTest.testitProvidedScope:113->run:249 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0143TransitiveDependencyScopesTest.testitRuntimeScope:162->run:249 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0143TransitiveDependencyScopesTest.testitTestScope:211->run:249 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0146InstallerSnapshotNaming.testitNonTimestampedNameWithInstalledSNAPSHOT:102 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenIT0146InstallerSnapshotNaming.testitRemoteDownloadTimestampedName:86 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenITmng0377PluginLookupFromPrefixTest.testitMNG377:49 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
Error: MavenITmng0461TolerateMissingDependencyPomTest.testit:51 » NullPointer Cannot invoke "java.nio.file.Path.toFile()" because "dir" is null
[INFO]
Error: Tests run: 978, Failures: 0, Errors: 18, Skipped: 49
[INFO] |
|
interesting, will give SOC to isolate error. |
6cd950e to
24bf3f7
Compare
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Show resolved
Hide resolved
24bf3f7 to
64e3eeb
Compare
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListener.java
Show resolved
Hide resolved
66de8c0 to
188917a
Compare
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
Outdated
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
Pankraz76
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dedicate in PR to fix API.
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Outdated
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Outdated
Show resolved
Hide resolved
6f9277a to
2868991
Compare
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTest.java
Show resolved
Hide resolved
bc2a256 to
012e5de
Compare
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
5bc68d5 to
b6ee7d7
Compare
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Outdated
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Outdated
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Outdated
Show resolved
Hide resolved
feabadc to
1e8099b
Compare
impl/maven-executor/src/test/java/org/apache/maven/cling/executor/MavenExecutorTestSupport.java
Show resolved
Hide resolved
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
Outdated
Show resolved
Hide resolved
1e8099b to
a7b5d39
Compare
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
...s/maven-it-plugin-log-file/src/main/java/org/apache/maven/plugin/coreit/AbstractLogMojo.java
Outdated
Show resolved
Hide resolved
a7b5d39 to
fae37ed
Compare
|
lets get this. |
|
items: |
fae37ed to
3d0bb8b
Compare
this seems flaky. Locally everything´s fine. |
try can use automatic resource managementtry can use automatic resource management 1/2
3d0bb8b to
cc3b23b
Compare
|
lets see if separation is enough to isolate issue. |
|
lets make this 1o1, its persistent issue: Error: Failures: |
|
need to give this dedication |



after merging this, they will become one:
AbstractMojo#createFile(File)#2395IOcatch onmkdirs()#2396@elharo