java.lang.IllegalArgumentException: Input record does not contain the date field.

Google Groups | Peter Quirk | 2 months ago
  1. 0

    Error in Transforming your Data section of Introduction to CDAP

    Google Groups | 2 months ago | Peter Quirk
    java.lang.IllegalArgumentException: Input record does not contain the date field.
  2. 0

    GitHub comment 107#527752

    GitHub | 6 years ago | reprogrammer
    java.lang.IllegalArgumentException: The map does not contain the attribute 'input'
  3. 0

    Does the invalid curve full test always throw an exception?

    GitHub | 7 months ago | GianpaoloPedrazza
    java.lang.IllegalArgumentException: The Workflow does not contain any CLIENT_KEY_EXCHANGE
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 4#218972416

    GitHub | 7 months ago | GianpaoloPedrazza
    java.lang.IllegalArgumentException: The Workflow does not contain any CLIENT_KEY_EXCHANGE
  6. 0

    I get a similar to SPR-7712 issue but on 3.1 GA and on a different code line. The following exception is thrown when The Accept header of the request does not contains any slash (mostly due to blackberry browser) {code} java.lang.IllegalArgumentException: "01" does not contain '/' at org.springframework.http.MediaType.parseMediaType(MediaType.java:640) at org.springframework.http.MediaType.parseMediaTypes(MediaType.java:683) at org.springframework.http.HttpHeaders.getAccept(HttpHeaders.java:149) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.getAcceptableMediaTypes(AbstractMessageConverterMethodProcessor.java:178) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:104) at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:81) at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:94) at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:73) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.alvarum.server.channels.screen.framework.processing.ExceptionsStoppingAndLoggingFilter.doFilter(ExceptionsStoppingAndLoggingFilter.java:44) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) {code} According to the comments of the issue SPR-7712, it should either send a 406 response code or return null for ViewResolver chaining.

    Spring JIRA | 5 years ago | Francois FĂ©licien
    java.lang.IllegalArgumentException: "01" does not contain '/'

    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

      Input record does not contain the date field.

      at co.cask.hydrator.plugin.common.StructuredToAvroTransformer.transform()
    2. co.cask.hydrator
      TimePartitionedFileSetDatasetAvroSink.transform
      1. co.cask.hydrator.plugin.common.StructuredToAvroTransformer.transform(StructuredToAvroTransformer.java:67)[1475155501857-0/:na]
      2. co.cask.hydrator.plugin.common.StructuredToAvroTransformer.transform(StructuredToAvroTransformer.java:51)[1475155501857-0/:na]
      3. co.cask.hydrator.plugin.batch.sink.TimePartitionedFileSetDatasetAvroSink.transform(TimePartitionedFileSetDatasetAvroSink.java:71)[1475155501857-0/:na]
      4. co.cask.hydrator.plugin.batch.sink.TimePartitionedFileSetDatasetAvroSink.transform(TimePartitionedFileSetDatasetAvroSink.java:42)[1475155501857-0/:na]
      4 frames
    3. co.cask.cdap
      ETLMapReduce$ETLMapper.map
      1. co.cask.cdap.etl.batch.KVTransformations$KVSinkTransformation.transform(KVTransformations.java:123)[cdap-etl-batch-4.0.0-SNAPSHOT.jar:na]
      2. co.cask.cdap.etl.batch.KVTransformations$KVSinkTransformation.transform(KVTransformations.java:111)[cdap-etl-batch-4.0.0-SNAPSHOT.jar:na]
      3. co.cask.cdap.etl.common.TrackedTransform.transform(TrackedTransform.java:58)[cdap-etl-core-4.0.0-SNAPSHOT.jar:na]
      4. co.cask.cdap.etl.common.TransformExecutor.executeTransformation(TransformExecutor.java:88)[cdap-etl-core-4.0.0-SNAPSHOT.jar:na]
      5. co.cask.cdap.etl.common.TransformExecutor.executeTransformation(TransformExecutor.java:93)[cdap-etl-core-4.0.0-SNAPSHOT.jar:na]
      6. co.cask.cdap.etl.common.TransformExecutor.executeTransformation(TransformExecutor.java:93)[cdap-etl-core-4.0.0-SNAPSHOT.jar:na]
      7. co.cask.cdap.etl.common.TransformExecutor.runOneIteration(TransformExecutor.java:50)[cdap-etl-core-4.0.0-SNAPSHOT.jar:na]
      8. co.cask.cdap.etl.batch.mapreduce.TransformRunner.transform(TransformRunner.java:165)[cdap-etl-batch-4.0.0-SNAPSHOT.jar:na]
      9. co.cask.cdap.etl.batch.mapreduce.ETLMapReduce$ETLMapper.map(ETLMapReduce.java:356)[cdap-etl-batch-4.0.0-SNAPSHOT.jar:na]
      9 frames
    4. Hadoop
      Mapper.run
      1. org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:145)[org.apache.hadoop.hadoop-mapreduce-client-core-2.3.0.jar:na]
      1 frame
    5. co.cask.cdap
      MapperWrapper.run
      1. co.cask.cdap.internal.app.runtime.batch.MapperWrapper.run(MapperWrapper.java:117)[co.cask.cdap.cdap-app-fabric-4.0.0-SNAPSHOT.jar:na]
      1 frame
    6. Hadoop
      LocalJobRunnerWithFix$Job$MapTaskRunnable.run
      1. org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)[org.apache.hadoop.hadoop-mapreduce-client-core-2.3.0.jar:na]
      2. org.apache.hadoop.mapred.MapTask.run(MapTask.java:340)[org.apache.hadoop.hadoop-mapreduce-client-core-2.3.0.jar:na]
      3. org.apache.hadoop.mapred.LocalJobRunnerWithFix$Job$MapTaskRunnable.run(LocalJobRunnerWithFix.java:243)[co.cask.cdap.cdap-app-fabric-4.0.0-SNAPSHOT.jar:na]
      3 frames
    7. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.8.0_101]
      2. java.util.concurrent.FutureTask.run(Unknown Source)[na:1.8.0_101]
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0_101]
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0_101]
      5. java.lang.Thread.run(Unknown Source)[na:1.8.0_101]
      5 frames