java.lang.IllegalArgumentException: Prefix string too short

Google Groups | Ed Skhisov | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    org.jboss.modules.ModuleLoadException: java.lang.IllegalArgumentException: Prefix string too short

    Google Groups | 7 months ago | Ed Skhisov
    java.lang.IllegalArgumentException: Prefix string too short
  2. 0

    Problem with off-the-shelf video player in 0.4RC2demo-wfs' lecture hall | Java.net

    java.net | 1 year ago
    java.lang.IllegalArgumentException: Prefix string too short
  3. 0

    [ftp] IllegalArgumentException when copying files with very short filenames

    Eclipse Bugzilla | 9 years ago | kjdoyle
    java.lang.IllegalArgumentException: Prefix string too short
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins 1.597 changed the build ID from being a timestamp to being the build number. xvfb-plugin calls Hudson.FilePath.createTempDir() using the build ID as the prefix. The prefix must be at least 3 characters long or there is an exception. For builds with the build number < 100, therefore, the build ID won't be big enough and so will fail the build. Sample stack trace below. An ugly workaround would be to keep running the failing builds until you get to build 100, where it should again be successful. ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.IllegalArgumentException: Prefix string too short at java.io.File.createTempFile0(File.java:1844) at java.io.File.createTempFile(File.java:1934) at hudson.FilePath$18.invoke(FilePath.java:1404) at hudson.FilePath$18.invoke(FilePath.java:1401) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.createTempDir(FilePath.java:1401) at org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.launchXvfb(XvfbBuildWrapper.java:484) at org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.setUp(XvfbBuildWrapper.java:594) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:655) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:533) at hudson.model.Run.execute(Run.java:1718) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240)

    Jenkins JIRA | 2 years ago | Jonathan Price
    java.lang.IllegalArgumentException: Prefix string too short
  6. 0

    Sketch names shorter than 3 letters will not work

    GitHub | 4 years ago | processing-bugs
    java.lang.IllegalArgumentException: Prefix string too short

    2 unregistered visitors
    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.IllegalArgumentException

      Prefix string too short

      at java.io.File.createTempFile()
    2. Java RT
      File.createTempFile
      1. java.io.File.createTempFile(Unknown Source)
      2. java.io.File.createTempFile(Unknown Source)
      2 frames
    3. org.wildfly.swarm
      AbstractSingleModuleFinder.findModule
      1. org.wildfly.swarm.bootstrap.util.TempFileManager.newTempFile(TempFileManager.java:47)
      2. org.wildfly.swarm.bootstrap.util.WildFlySwarmApplicationConf$PathEntry.apply(WildFlySwarmApplicationConf.java:289)
      3. org.wildfly.swarm.bootstrap.util.WildFlySwarmApplicationConf.apply(WildFlySwarmApplicationConf.java:69)
      4. org.wildfly.swarm.bootstrap.modules.ApplicationModuleFinder.handleWildFlySwarmApplicationConf(ApplicationModuleFinder.java:124)
      5. org.wildfly.swarm.bootstrap.modules.ApplicationModuleFinder.buildModule(ApplicationModuleFinder.java:61)
      6. org.wildfly.swarm.bootstrap.modules.AbstractSingleModuleFinder.findModule(AbstractSingleModuleFinder.java:49)
      6 frames
    4. JBoss Modules
      ModuleLoader.loadModule
      1. org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:439)
      2. org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.java:342)
      3. org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.java:289)
      4. org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:221)
      4 frames
    5. org.wildfly.swarm
      Main.main
      1. org.wildfly.swarm.bootstrap.Main.getMainClass(Main.java:71)
      2. org.wildfly.swarm.bootstrap.Main.run(Main.java:48)
      3. org.wildfly.swarm.bootstrap.Main.main(Main.java:43)
      3 frames