java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true

Spring JIRA | Ben Alex | 7 years ago
  1. 0

    (Logged by Ben on behalf of rj) Entering "script --file ~/Do" then hitting TAB will blow up: {code} balex@tara:~/t2$ roo-dev ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ ENGINEERING BUILD [rev 601:602] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. roo> script --file ~/DoException in thread "main" java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.support.util.Assert.isTrue(Assert.java:77) at org.springframework.roo.shell.converters.FileConverter.populate(FileConverter.java:42) at org.springframework.roo.shell.converters.FileConverter.getAllPossibleValues(FileConverter.java:35) at org.springframework.roo.shell.SimpleParser.complete(SimpleParser.java:633) at org.springframework.roo.shell.jline.JLineCompletorAdapter.complete(JLineCompletorAdapter.java:30) at jline.ConsoleReader.complete(ConsoleReader.java:832) at jline.ConsoleReader.readLine(ConsoleReader.java:518) at jline.ConsoleReader.readLine(ConsoleReader.java:448) at jline.ConsoleReader.readLine(ConsoleReader.java:300) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:150) at org.springframework.roo.bootstrap.Bootstrap.run(Bootstrap.java:114) at org.springframework.roo.bootstrap.Bootstrap.main(Bootstrap.java:53) {code}

    Spring JIRA | 7 years ago | Ben Alex
    java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
  2. 0

    (Logged by Ben on behalf of rj) Entering "script --file ~/Do" then hitting TAB will blow up: {code} balex@tara:~/t2$ roo-dev ____ ____ ____ / __ \/ __ \/ __ \ / /_/ / / / / / / / / _, _/ /_/ / /_/ / /_/ |_|\____/\____/ ENGINEERING BUILD [rev 601:602] Welcome to Spring Roo. For assistance press TAB or type "hint" then hit ENTER. roo> script --file ~/DoException in thread "main" java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true at org.springframework.roo.support.util.Assert.isTrue(Assert.java:65) at org.springframework.roo.support.util.Assert.isTrue(Assert.java:77) at org.springframework.roo.shell.converters.FileConverter.populate(FileConverter.java:42) at org.springframework.roo.shell.converters.FileConverter.getAllPossibleValues(FileConverter.java:35) at org.springframework.roo.shell.SimpleParser.complete(SimpleParser.java:633) at org.springframework.roo.shell.jline.JLineCompletorAdapter.complete(JLineCompletorAdapter.java:30) at jline.ConsoleReader.complete(ConsoleReader.java:832) at jline.ConsoleReader.readLine(ConsoleReader.java:518) at jline.ConsoleReader.readLine(ConsoleReader.java:448) at jline.ConsoleReader.readLine(ConsoleReader.java:300) at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:150) at org.springframework.roo.bootstrap.Bootstrap.run(Bootstrap.java:114) at org.springframework.roo.bootstrap.Bootstrap.main(Bootstrap.java:53) {code}

    Spring JIRA | 7 years ago | Ben Alex
    java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
  3. 0

    How to use Apache DS with Apache Camel, Spring Security as embedded LDAP server prepopulated from LDIF?

    Stack Overflow | 3 years ago | cringe
    java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When writing files to a folder using the destination file in the xaction output as: {noformat} <outputs> <ReportOut type="content"> <destinations> <file>file://C:/{FolderName}/{PTERRITORY}={ReportName}.xls</file> </destinations> </ReportOut> </outputs> {noformat} The xaction returns an error on PUC but writes the files to the folder as expected: {noformat} 016-09-21 12:45:13,225 ERROR [org.pentaho.platform.web.http.api.resources.XactionUtil] !XactionUtil.ERROR_EXECUTING_ACTION_SEQUENCE! org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with path "c2f9bb57-801a-11e6-b032-54ee7510ce8b" Reference number: 16734ff7-3e01-45de-a1fd-ae483e4742aa at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:512) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:260) at org.pentaho.platform.web.http.api.resources.XactionUtil.postExecute(XactionUtil.java:165) at org.pentaho.platform.web.http.api.resources.XactionUtil.executeHtml(XactionUtil.java:212) at org.pentaho.platform.web.http.api.resources.XactionUtil.execute(XactionUtil.java:362) at org.pentaho.platform.web.http.ActionSequenceContentGenerator.createContent(ActionSequenceContentGenerator.java:82) at org.pentaho.platform.engine.services.solution.SimpleContentGenerator.createContent(SimpleContentGenerator.java:60) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.generateContent(GeneratorStreamingOutput.java:236) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutput.write(GeneratorStreamingOutput.java:163) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:54) at org.pentaho.platform.web.http.api.resources.GeneratorStreamingOutputProvider.writeTo(GeneratorStreamingOutputProvider.java:33) at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1479) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1391) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1381) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:538) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:716) at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:109) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.pentaho.platform.web.servlet.JAXRSServlet.service(JAXRSServlet.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.pentaho.platform.web.http.filters.PentahoWebContextFilter.doFilter(PentahoWebContextFilter.java:185) at com.pentaho.platform.web.http.filters.PentahoEnterpriseWebContextFilter.doFilter(SourceFile:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.pentaho.platform.web.http.filters.PentahoRequestContextFilter.doFilter(PentahoRequestContextFilter.java:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.pentaho.platform.web.http.security.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:191) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.pentaho.platform.web.http.security.PentahoBasicProcessingFilter.doFilterHttp(PentahoBasicProcessingFilter.java:115) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.pentaho.platform.web.http.filters.HttpSessionPentahoSessionIntegrationFilter.doFilter(HttpSessionPentahoSessionIntegrationFilter.java:263) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188) at org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at com.pentaho.ui.servlet.SystemStatusFilter.doFilter(SourceFile:87) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.pentaho.platform.web.http.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:114) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.pentaho.platform.web.http.filters.WebappRootForwardingFilter.doFilter(WebappRootForwardingFilter.java:70) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.pentaho.platform.web.http.filters.PentahoPathDecodingFilter.doFilter(PentahoPathDecodingFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2500) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2489) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true at org.springframework.util.Assert.isTrue(Assert.java:65) at org.springframework.util.Assert.isTrue(Assert.java:77) at org.pentaho.platform.repository2.unified.jcr.JcrRepositoryFileDao.getFile(JcrRepositoryFileDao.java:442) at org.pentaho.platform.repository2.unified.DefaultUnifiedRepository.getFile(DefaultUnifiedRepository.java:101) at sun.reflect.GeneratedMethodAccessor82.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.security.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:66) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at com.sun.proxy.$Proxy74.getFile(Unknown Source) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$20.call(ExceptionLoggingDecorator.java:262) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$20.call(ExceptionLoggingDecorator.java:260) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:489) ... 88 more {noformat} Please see ESR-5525 for materials to reproduce error.

    Pentaho BI Platform Tracking | 2 months ago | Carlos Lopez
    org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with path "c2f9bb57-801a-11e6-b032-54ee7510ce8b" Reference number: 16734ff7-3e01-45de-a1fd-ae483e4742aa

    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

      [Assertion failed] - this expression must be true

      at org.springframework.roo.support.util.Assert.isTrue()
    2. org.springframework.roo
      JLineCompletorAdapter.complete
      1. org.springframework.roo.support.util.Assert.isTrue(Assert.java:65)
      2. org.springframework.roo.support.util.Assert.isTrue(Assert.java:77)
      3. org.springframework.roo.shell.converters.FileConverter.populate(FileConverter.java:42)
      4. org.springframework.roo.shell.converters.FileConverter.getAllPossibleValues(FileConverter.java:35)
      5. org.springframework.roo.shell.SimpleParser.complete(SimpleParser.java:633)
      6. org.springframework.roo.shell.jline.JLineCompletorAdapter.complete(JLineCompletorAdapter.java:30)
      6 frames
    3. SBT
      ConsoleReader.readLine
      1. jline.ConsoleReader.complete(ConsoleReader.java:832)
      2. jline.ConsoleReader.readLine(ConsoleReader.java:518)
      3. jline.ConsoleReader.readLine(ConsoleReader.java:448)
      4. jline.ConsoleReader.readLine(ConsoleReader.java:300)
      4 frames
    4. org.springframework.roo
      Bootstrap.main
      1. org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:150)
      2. org.springframework.roo.bootstrap.Bootstrap.run(Bootstrap.java:114)
      3. org.springframework.roo.bootstrap.Bootstrap.main(Bootstrap.java:53)
      3 frames