java.lang.IllegalArgumentException: Exact Label must not be empty. java.lang.IllegalArgumentException: Exact Label must not be empty.

adobe.com | 3 months ago
  1. 0

    java.lang.IllegalArgumentException: Exact Label must not be empty

    adobe.com | 3 months ago
    java.lang.IllegalArgumentException: Exact Label must not be empty. java.lang.IllegalArgumentException: Exact Label must not be empty.
  2. 0

    STS Exception when opening xml bean configuration file

    Stack Overflow | 2 years ago | FGreg
    java.lang.IllegalArgumentException: 'beanName' must not be empty
  3. 0

    String constants (months and day of week) not working as expected

    GitHub | 2 years ago | michaelknigge
    java.lang.IllegalArgumentException: Values must not be empty
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    android - FileProvider - name must not be empty

    Stack Overflow | 3 years ago | Jake
    java.lang.IllegalArgumentException: Name must not be empty
  6. 0

    Attached is a file containing several variations of Accept header values that cause Spring to break. There was a prior ticket open for this, which dealt with single-quoted "profile" URLs in Accept headers. That is apparently fixed in 3.2. But these other variations are still broken. The test cases attached are all actual Accept headers we have seen "in the wild" coming from mobile devices. Here are some examples of the types of exceptions we're seeing: {noformat} java.lang.IllegalArgumentException: 'mediaType' must not be empty at org.springframework.util.Assert.hasLength(Assert.java:136) at org.springframework.http.MediaType.parseMediaType(MediaType.java:638) at org.springframework.http.MediaType.parseMediaTypes(MediaType.java:691) at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition.getAcceptedMediaTypes(ProducesRequestCondition.java:214) at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition.access$4(ProducesRequestCondition.java:211) at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition$ProduceMediaTypeExpression.matchMediaType(ProducesRequestCondition.java:283) at org.springframework.web.servlet.mvc.condition.AbstractMediaTypeExpression.match(AbstractMediaTypeExpression.java:63) at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition.getMatchingCondition(ProducesRequestCondition.java:163) at org.springframework.web.servlet.mvc.method.RequestMappingInfo.getMatchingCondition(RequestMappingInfo.java:175) at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getMatchingMapping(RequestMappingInfoHandlerMapping.java:64) at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getMatchingMapping(RequestMappingInfoHandlerMapping.java:1) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.addMatchingMappings(AbstractHandlerMethodMapping.java:284) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:251) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:216) at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:1) at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:288) at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1063) at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1048) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:886) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) {noformat} Or... {noformat} java.lang.IllegalArgumentException: ";q=0.5" does not contain '/' at org.springframework.http.MediaType.parseMediaType(MediaType.java:648) at org.springframework.http.MediaType.parseMediaTypes(MediaType.java:691) at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition.getAcceptedMediaTypes(ProducesRequestCondition.java:214) at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition.access$4(ProducesRequestCondition.java:211) at org.springframework.web.servlet.mvc.condition.ProducesRequestCondition$ProduceMediaTypeExpression.matchMediaType(ProducesRequestCondition.java:283) ... {noformat}

    Spring JIRA | 4 years ago | Dan Checkoway
    java.lang.IllegalArgumentException: 'mediaType' must not be empty

    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

      Exact Label must not be empty. java.lang.IllegalArgumentException: Exact Label must not be empty.

      at com.day.cq.util.Text.validateLabel()
    2. com.day.cq
      TicketAdapter.runLocked
      1. com.day.cq.util.Text.validateLabel(Text.java:1759)
      2. com.day.cq.jcr.adapter.TicketAdapter$PageCreator.run(TicketAdapter.java:3357)
      3. com.day.cq.jcr.adapter.TicketAdapter.runLocked(TicketAdapter.java:3231)
      3 frames