java.lang.NoSuchMethodError: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

JFrog JIRA | tomas milian | 6 years ago
  1. 0

    When my job is about to be deploy all built artifacts to the remote artifactory instance, I receive the following exception: {code} Deploying artifacts of module: xxxxx.xx:xxxxx FATAL: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; java.lang.NoSuchMethodError: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; at org.jfrog.build.client.IncludeExcludePatterns.getIncludePatterns(IncludeExcludePatterns.java:59) at org.jfrog.build.client.PatternMatcher.pathConflicts(PatternMatcher.java:25) at org.jfrog.hudson.maven2.ArtifactsDeployer.deployArtifact(ArtifactsDeployer.java:116) at org.jfrog.hudson.maven2.ArtifactsDeployer.deploy(ArtifactsDeployer.java:99) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:238) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:754) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1386) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) {code} Updated Hudson from 1.342 to 1.392 and artifactory plugin from 1.1 to 1.3.6 I believe it might have something to do with the artifact deploy include/exclude patterns that was introduced in 1.3.6. I installed 1.3.5 and the problem went away.

    JFrog JIRA | 6 years ago | tomas milian
    java.lang.NoSuchMethodError: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
  2. 0

    When my job is about to be deploy all built artifacts to the remote artifactory instance, I receive the following exception: {code} Deploying artifacts of module: xxxxx.xx:xxxxx FATAL: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; java.lang.NoSuchMethodError: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object; at org.jfrog.build.client.IncludeExcludePatterns.getIncludePatterns(IncludeExcludePatterns.java:59) at org.jfrog.build.client.PatternMatcher.pathConflicts(PatternMatcher.java:25) at org.jfrog.hudson.maven2.ArtifactsDeployer.deployArtifact(ArtifactsDeployer.java:116) at org.jfrog.hudson.maven2.ArtifactsDeployer.deploy(ArtifactsDeployer.java:99) at org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:238) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:754) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529) at hudson.model.Run.run(Run.java:1386) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:145) {code} Updated Hudson from 1.342 to 1.392 and artifactory plugin from 1.1 to 1.3.6 I believe it might have something to do with the artifact deploy include/exclude patterns that was introduced in 1.3.6. I installed 1.3.5 and the problem went away.

    JFrog JIRA | 6 years ago | tomas milian
    java.lang.NoSuchMethodError: java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crashing

    GitHub | 7 months ago | PaulGaming
    java.lang.NoSuchMethodError: net.minecraftforge.fml.common.registry.FMLControlledNamespacedRegistry.getId(Ljava/lang/Object;)I

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      java.util.Arrays.copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

      at org.jfrog.build.client.IncludeExcludePatterns.getIncludePatterns()
    2. org.jfrog.build
      PatternMatcher.pathConflicts
      1. org.jfrog.build.client.IncludeExcludePatterns.getIncludePatterns(IncludeExcludePatterns.java:59)
      2. org.jfrog.build.client.PatternMatcher.pathConflicts(PatternMatcher.java:25)
      2 frames
    3. org.jfrog.hudson
      ArtifactoryRedeployPublisher.perform
      1. org.jfrog.hudson.maven2.ArtifactsDeployer.deployArtifact(ArtifactsDeployer.java:116)
      2. org.jfrog.hudson.maven2.ArtifactsDeployer.deploy(ArtifactsDeployer.java:99)
      3. org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:238)
      3 frames
    4. Hudson
      AbstractBuild$AbstractRunner.performAllBuildSteps
      1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:603)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:582)
      3 frames
    5. Hudson Maven Embedder
      MavenModuleSetBuild$RunnerImpl.post2
      1. hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:754)
      1 frame
    6. Hudson
      Run.run
      1. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:529)
      2. hudson.model.Run.run(Run.java:1386)
      2 frames
    7. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:400)
      1 frame
    8. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:88)
      2. hudson.model.Executor.run(Executor.java:145)
      2 frames