java.lang.IllegalArgumentException: Prefix string too short

Atlassian JIRA | Heiko W. Rupp | 1 decade 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

    I tried several times to attach "Pt.java". Other longer filenames worked fine. HTTP Status 500 - -------------------------------------------------------------------------------- type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.IllegalArgumentException: Prefix string too short at http.utils.multipartrequest.TempFile.createTempFile(TempFile.java) at http.utils.multipartrequest.MultipartRequest.parse(MultipartRequest.java) at http.utils.multipartrequest.MultipartRequest.init(MultipartRequest.java) at http.utils.multipartrequest.MultipartRequest.(MultipartRequest.java) at http.utils.multipartrequest.ServletMultipartRequest.(ServletMultipartRequest.java) at webwork.multipart.PellMultiPartRequest.(PellMultiPartRequest.java:79) at webwork.multipart.MultiPartRequestWrapper.(MultiPartRequestWrapper.java:51) at webwork.dispatcher.ServletDispatcher.wrapRequest(ServletDispatcher.java:284) at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:142) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:129) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:61) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.security.SecurityFilter.doFilter(SecurityFilter.java:170) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.core.security.LoginFilter.doFilter(LoginFilter.java:191) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at com.atlassian.jira.web.filters.EncodingFilter.doFilter(EncodingFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533) at java.lang.Thread.run(Thread.java:536) -------------------------------------------------------------------------------- Apache Tomcat/4.1.12

    Atlassian JIRA | 1 decade ago | jskramer
    java.lang.IllegalArgumentException: Prefix string too short
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    RESTEasy / Mailing Lists

    sourceforge.net | 2 years ago
    java.lang.IllegalArgumentException: You did not supply enough values to fill path parameters at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:378) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:581) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:188) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:224) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
  4. 0

    jboss mysql connection validation

    Stack Overflow | 7 years ago | Marko
    java.lang.IllegalArgumentException: id to load is required for loading org.hibernate.event.LoadEvent.<init>(LoadEvent.java:74) org.hibernate.event.LoadEvent.<init>(LoadEvent.java:56) org.hibernate.impl.SessionImpl.get(SessionImpl.java:839) org.hibernate.impl.SessionImpl.get(SessionImpl.java:835) org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:182) org.jboss.seam.persistence.EntityManagerProxy.find(EntityManagerProxy.java:87) com.klikmee.tc.providers.ProviderProxy.parseTransactionId(ProviderProxy.java:137) com.klikmee.tc.providers.ProviderProxy.cancel(ProviderProxy.java:382) com.klikmee.tc.providers.ProviderProxy.cancel(ProviderProxy.java:359) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet$RequestProcessor.processReverseTransaction(DatecsTerminalCommunicatorServlet.java:395) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet$RequestProcessor.process(DatecsTerminalCommunicatorServlet.java:123) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet.doPost(DatecsTerminalCommunicatorServlet.java:808) com.klikmee.tc.servlets.DatecsTerminalCommunicatorServlet.doGet(DatecsTerminalCommunicatorServlet.java:862)

    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 http.utils.multipartrequest.TempFile.createTempFile()
    2. http.utils.multipartrequest
      ServletMultipartRequest.<init>
      1. http.utils.multipartrequest.TempFile.createTempFile(TempFile.java)
      2. http.utils.multipartrequest.MultipartRequest.parse(MultipartRequest.java)
      3. http.utils.multipartrequest.MultipartRequest.init(MultipartRequest.java)
      4. http.utils.multipartrequest.MultipartRequest.<init>(MultipartRequest.java)
      5. http.utils.multipartrequest.ServletMultipartRequest.<init>(ServletMultipartRequest.java)
      5 frames
    3. webwork.multipart
      MultiPartRequestWrapper.<init>
      1. webwork.multipart.PellMultiPartRequest.<init>(PellMultiPartRequest.java:41)
      2. webwork.multipart.MultiPartRequestWrapper.<init>(MultiPartRequestWrapper.java:51)
      2 frames
    4. webwork.dispatcher
      ServletDispatcher.service
      1. webwork.dispatcher.ServletDispatcher.wrapRequest(ServletDispatcher.java:454)
      2. webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:177)
      2 frames
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
      1 frame