org.apache.commons.jxpath.JXPathException: Exception trying to set value with xpath arr[1]; Index: 0, Size: 0

commons-user | Jyotsna | 10 years ago
  1. 0

    Exception while setting values for Collection /ArrayList using JXpath

    commons-user | 10 years ago | Jyotsna
    org.apache.commons.jxpath.JXPathException: Exception trying to set value with xpath arr[1]; Index: 0, Size: 0
  2. 0

    Exception while setting values for Collection /ArrayList using JXpath

    commons-user | 10 years ago | Jyotsna
    org.apache.commons.jxpath.JXPathException: Exception trying to set value with xpath arr[1]; Index: 0, Size: 0
  3. 0

    I installed the trunk version of CDA. When creating a JSON data source I can no longer save the dashboard. I can see following error msg: ``` Apr 02, 2015 7:25:46 AM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container org.apache.commons.jxpath.JXPathException: No value for xpath: properties/.[name='cacheKeys']/value at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:318) at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:362) at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:358) at pt.webdetails.cdf.dd.render.CdaRenderer.exportDataAccess(CdaRenderer.java:284) at pt.webdetails.cdf.dd.render.CdaRenderer.render(CdaRenderer.java:91) at pt.webdetails.cdf.dd.structure.DashboardStructure.save(DashboardStructure.java:193) at pt.webdetails.cdf.dd.api.SyncronizerApi.saveDashboard(SyncronizerApi.java:264) 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:606) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ```

    Pentaho BI Platform Tracking | 2 years ago | Vladimir Dolzhenko
    org.apache.commons.jxpath.JXPathException: No value for xpath: properties/.[name='cacheKeys']/value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I installed the trunk version of CDA. When creating a JSON data source I can no longer save the dashboard. I can see following error msg: ``` Apr 02, 2015 7:25:46 AM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container org.apache.commons.jxpath.JXPathException: No value for xpath: properties/.[name='cacheKeys']/value at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:318) at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:362) at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.getValue(JXPathContextReferenceImpl.java:358) at pt.webdetails.cdf.dd.render.CdaRenderer.exportDataAccess(CdaRenderer.java:284) at pt.webdetails.cdf.dd.render.CdaRenderer.render(CdaRenderer.java:91) at pt.webdetails.cdf.dd.structure.DashboardStructure.save(DashboardStructure.java:193) at pt.webdetails.cdf.dd.api.SyncronizerApi.saveDashboard(SyncronizerApi.java:264) 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:606) at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) ```

    Pentaho BI Platform Tracking | 2 years ago | Diethard Steiner
    org.apache.commons.jxpath.JXPathException: No value for xpath: properties/.[name='cacheKeys']/value
  6. 0

    Reading XML file

    Oracle Community | 1 decade ago | 843834
    org.apache.commons.jxpath.JXPathException: No value for xpath: /vendor/location[@id='store102']

    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. org.apache.commons.jxpath.JXPathException

      Exception trying to set value with xpath arr[1]; Index: 0, Size: 0

      at org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.setValue()
    2. Commons JXPath
      JXPathContextReferenceImpl.setValue
      1. org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.setValue(JXPathContextReferenceImpl.java:421)
      2. org.apache.commons.jxpath.ri.JXPathContextReferenceImpl.setValue(JXPathContextReferenceImpl.java:412)
      2 frames
    3. Unknown
      TestJxPath.main
      1. TestJxPath.main(TestJxPath.java:36)
      1 frame