java.lang.IllegalArgumentException: One or more of query value parameters are null

Apache's JIRA Issue Tracker | Pragya Mittal | 2 years 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

    While submitting cluster in distributed mode user name is evaluated to null resulting in java.lang.IllegalArgumentException is thrown. Below is the stack trace : {code} 2015-09-18 07:24:57,029 INFO - [2114764908@qtp-341853399-6 - 2601b654-8924-4305-80cb-d623287eeadf:] ~ Audit: pragya@10.14.119.81 performed http://192.168.138.236:16000/api/entities/list/cluster?numResults=2147483647&user.name=pragya (192.168.138.236) at 2015-09-18T07:24Z (AUDIT:48) 2015-09-18 07:24:58,995 INFO - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Logging in pragya (CurrentUser:65) 2015-09-18 07:24:58,995 INFO - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Request from authenticated user: pragya, URL=/api/entities/submit/cluster?user.name=pragya, doAs user: null (FalconAuthenticationFilter:185) 2015-09-18 07:24:59,021 INFO - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Parsed Entity: FeedSLATest-corp-2dea3d9a (EntityParser:94) 2015-09-18 07:24:59,023 DEBUG - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Executing http://192.168.138.236:15000/secure/sync/submit/cluster?colo=ua1& (HTTPChannel:91) 2015-09-18 07:24:59,073 INFO - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Configuring client with /mnt/falcon/prism/conf/prism.keystore (SecureHTTPChannel:56) 2015-09-18 07:24:59,140 ERROR - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Request failed (HTTPChannel:123) java.lang.IllegalArgumentException: One or more of query value parameters are null at com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:433) at com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:436) at org.apache.falcon.resource.channel.HTTPChannel.invoke(HTTPChannel.java:102) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:139) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:577) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:141) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure1.run(SchedulableEntityManagerProxy.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit(SchedulableEntityManagerProxy.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2015-09-18 07:24:59,196 DEBUG - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Executing http://10.14.119.81:15000/secure/sync/submit/cluster?colo=ua2& (HTTPChannel:91) 2015-09-18 07:24:59,197 INFO - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Configuring client with /mnt/falcon/prism/conf/prism.keystore (SecureHTTPChannel:56) 2015-09-18 07:24:59,246 ERROR - [245109421@qtp-341853399-7 - f273a408-0f16-4951-b2c0-620db2e83d3e:pragya:POST//entities/submit/cluster] ~ Request failed (HTTPChannel:123) java.lang.IllegalArgumentException: One or more of query value parameters are null at com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:433) at com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:436) at org.apache.falcon.resource.channel.HTTPChannel.invoke(HTTPChannel.java:102) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:139) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:577) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:141) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure1.run(SchedulableEntityManagerProxy.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51) at org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit(SchedulableEntityManagerProxy.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) {code}

    Apache's JIRA Issue Tracker | 2 years ago | Pragya Mittal
    java.lang.IllegalArgumentException: One or more of query value parameters are null

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      One or more of query value parameters are null

      at com.sun.jersey.api.uri.UriBuilderImpl.queryParam()
    2. jersey-core
      UriBuilderImpl.queryParam
      1. com.sun.jersey.api.uri.UriBuilderImpl.queryParam(UriBuilderImpl.java:433)
      1 frame
    3. jersey-client
      WebResource.queryParam
      1. com.sun.jersey.api.client.WebResource.queryParam(WebResource.java:436)
      1 frame
    4. org.apache.falcon
      SchedulableEntityManagerProxy$AjcClosure1.run
      1. org.apache.falcon.resource.channel.HTTPChannel.invoke(HTTPChannel.java:102)
      2. org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$1.doExecute(SchedulableEntityManagerProxy.java:139)
      3. org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$EntityProxy.execute(SchedulableEntityManagerProxy.java:577)
      4. org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit_aroundBody0(SchedulableEntityManagerProxy.java:141)
      5. org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy$AjcClosure1.run(SchedulableEntityManagerProxy.java:1)
      5 frames
    5. AspectJ runtime
      JoinPointImpl.proceed
      1. org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
      1 frame
    6. org.apache.falcon
      SchedulableEntityManagerProxy.submit
      1. org.apache.falcon.aspect.AbstractFalconAspect.logAroundMonitored(AbstractFalconAspect.java:51)
      2. org.apache.falcon.resource.proxy.SchedulableEntityManagerProxy.submit(SchedulableEntityManagerProxy.java:119)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    8. Jersey
      JavaMethodInvokerFactory$1.invoke
      1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      1 frame