java.lang.IllegalArgumentException: Prefix string too short

JIRA | Clément Tamisier [X] | 5 years ago
  1. 0

    create a datasource named 'a'. create a view in this datasource named 'newview' in createTempFile() prefix must be greater or equals than 3 characters. java.lang.IllegalArgumentException: Prefix string too short at java.io.File.createTempFile(File.java:1794) at java.io.File.createTempFile(File.java:1840) at org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.doWriteViews(OpalViewPersistenceStrategy.java:100) at org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.writeViews(OpalViewPersistenceStrategy.java:71) at org.obiba.magma.views.impl.DefaultViewManagerImpl.addView(DefaultViewManagerImpl.java:52) at org.obiba.opal.web.magma.DatasourceResource.createView(DatasourceResource.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:217) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:206) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:503) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)

    JIRA | 5 years ago | Clément Tamisier [X]
    java.lang.IllegalArgumentException: Prefix string too short
  2. 0

    create a datasource named 'a'. create a view in this datasource named 'newview' in createTempFile() prefix must be greater or equals than 3 characters. java.lang.IllegalArgumentException: Prefix string too short at java.io.File.createTempFile(File.java:1794) at java.io.File.createTempFile(File.java:1840) at org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.doWriteViews(OpalViewPersistenceStrategy.java:100) at org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.writeViews(OpalViewPersistenceStrategy.java:71) at org.obiba.magma.views.impl.DefaultViewManagerImpl.addView(DefaultViewManagerImpl.java:52) at org.obiba.opal.web.magma.DatasourceResource.createView(DatasourceResource.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:217) at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:206) at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:503) at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)

    JIRA | 5 years ago | Clément Tamisier [X]
    java.lang.IllegalArgumentException: Prefix string too short
  3. 0

    Selenium Server stops working

    Google Groups | 6 years ago | b...@oose.de
    java.lang.IllegalArgumentException: Prefix string too short
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't use org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30 with a username of one or two character [ERROR] Failed to execute goal org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30:start (start-framework) on project jonas-itests-felix: Execution start-framework of goal org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30:start failed: Prefix string too short -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30:start (start-framework) on project jonas-itests-felix: Execution start-framework of goal org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30:start failed: Prefix string too short at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:225) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: org.apache.maven.plugin.PluginExecutionException: Execution start-framework of goal org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30:start failed: Prefix string too short at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:110) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) ... 19 more Caused by: java.lang.IllegalArgumentException: Prefix string too short at java.io.File.createTempFile(File.java:1794) at java.io.File.createTempFile(File.java:1840) at org.ow2.util.maven.osgi.launcher.core.RemoteLauncher.start(RemoteLauncher.java:151) at org.ow2.util.maven.osgi.launcher.core.StartMojo.doExecute(StartMojo.java:88) at org.ow2.util.maven.osgi.launcher.core.AbsMojo.execute(AbsMojo.java:245) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) ... 20 more [ERROR]

    JIRA | 6 years ago | Jérémy Cazaux
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30:start (start-framework) on project jonas-itests-felix: Execution start-framework of goal org.ow2.util.maven:maven-osgi-plugin-launcher-core:1.0.30:start failed: 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(File.java:1794)
      2. java.io.File.createTempFile(File.java:1840)
      2 frames
    3. org.obiba.opal
      OpalViewPersistenceStrategy.writeViews
      1. org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.doWriteViews(OpalViewPersistenceStrategy.java:100)
      2. org.obiba.opal.core.cfg.OpalViewPersistenceStrategy.writeViews(OpalViewPersistenceStrategy.java:71)
      2 frames
    4. org.obiba.magma
      DefaultViewManagerImpl.addView
      1. org.obiba.magma.views.impl.DefaultViewManagerImpl.addView(DefaultViewManagerImpl.java:52)
      1 frame
    5. org.obiba.opal
      DatasourceResource.createView
      1. org.obiba.opal.web.magma.DatasourceResource.createView(DatasourceResource.java:178)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:616)
      4 frames
    7. RESTEasy JAX-RS Implementation
      SynchronousDispatcher.invoke
      1. org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)
      2. org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:252)
      3. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:217)
      4. org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:206)
      5. org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:503)
      6. org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:480)
      6 frames