java.lang.IllegalArgumentException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 1.select a row(click on header), and choose toolbar function 'delete columns', you will get this exception, 2.if you select a column and and use function 'delete rows', you get a empty spreadsheet. {code} >>java.lang.IllegalArgumentException: fromKey > toKey >> at java.util.TreeMap$NavigableSubMap.<init>(TreeMap.java:1240) >> at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1677) >> at java.util.TreeMap.subMap(TreeMap.java:862) >> at java.util.TreeMap.subMap(TreeMap.java:903) >> at org.zkoss.zss.model.impl.XSSFSheetImpl.shiftCells(XSSFSheetImpl.java:748) >> at org.zkoss.zss.model.impl.XSSFSheetImpl.shiftColumnsOnly(XSSFSheetImpl.java:594) >> at org.zkoss.zss.model.impl.BookHelper.deleteXSSFColumns(BookHelper.java:2171) >> at org.zkoss.zss.model.impl.BookHelper.deleteColumns(BookHelper.java:2146) >> at org.zkoss.zss.model.impl.RangeImpl.delete(RangeImpl.java:681) >> at org.zkoss.zss.model.impl.RangeImpl.delete(RangeImpl.java:687) >> at org.zkoss.zss.ui.sys.ActionHandler.doDeleteSheetColumn(ActionHandler.java:1724) >> at org.zkoss.zss.ui.sys.ActionHandler.dispatch(ActionHandler.java:369) >> at org.zkoss.zss.ui.au.in.ActionCommand.process(ActionCommand.java:54) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4655) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:701) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1201) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) >> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) >> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) >> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) >> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> at org.mortbay.jetty.Server.handle(Server.java:326) >> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) >> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) >> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) {code}
    via by dennis,
  • 1.select a row(click on header), and choose toolbar function 'delete columns', you will get this exception, 2.if you select a column and and use function 'delete rows', you get a empty spreadsheet. {code} >>java.lang.IllegalArgumentException: fromKey > toKey >> at java.util.TreeMap$NavigableSubMap.<init>(TreeMap.java:1240) >> at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1677) >> at java.util.TreeMap.subMap(TreeMap.java:862) >> at java.util.TreeMap.subMap(TreeMap.java:903) >> at org.zkoss.zss.model.impl.XSSFSheetImpl.shiftCells(XSSFSheetImpl.java:748) >> at org.zkoss.zss.model.impl.XSSFSheetImpl.shiftColumnsOnly(XSSFSheetImpl.java:594) >> at org.zkoss.zss.model.impl.BookHelper.deleteXSSFColumns(BookHelper.java:2171) >> at org.zkoss.zss.model.impl.BookHelper.deleteColumns(BookHelper.java:2146) >> at org.zkoss.zss.model.impl.RangeImpl.delete(RangeImpl.java:681) >> at org.zkoss.zss.model.impl.RangeImpl.delete(RangeImpl.java:687) >> at org.zkoss.zss.ui.sys.ActionHandler.doDeleteSheetColumn(ActionHandler.java:1724) >> at org.zkoss.zss.ui.sys.ActionHandler.dispatch(ActionHandler.java:369) >> at org.zkoss.zss.ui.au.in.ActionCommand.process(ActionCommand.java:54) >> at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4655) >> at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:701) >> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1201) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482) >> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) >> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) >> at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) >> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) >> at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) >> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> at org.mortbay.jetty.Server.handle(Server.java:326) >> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >> at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) >> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) >> at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) {code}
    via by dennis,
  • h3. Problem Description: delete multiple columns causes a exception h3. Reproducing Steps: # select multiple columns # right click the selection and choose "delete" *Expected:* Selected columns are deleted. *Actual:* an exception is thrown. {code} 2013/5/21 上午 11:51:01 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1359 嚴重的: >>java.lang.IllegalArgumentException: fromKey > toKey >> at java.util.TreeMap$NavigableSubMap.<init>(TreeMap.java:1240) >> at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1677) >> at java.util.TreeMap.subMap(TreeMap.java:862) >> at java.util.TreeMap.subMap(TreeMap.java:903) >> at org.zkoss.zss.model.sys.impl.XSSFSheetImpl.shiftCells(XSSFSheetImpl.java:748) >> at org.zkoss.zss.model.sys.impl.XSSFSheetImpl.shiftColumnsOnly(XSSFSheetImpl.java:594) >> at org.zkoss.zss.model.sys.impl.BookHelper.deleteXSSFColumns(BookHelper.java:2176) >> at org.zkoss.zss.model.sys.impl.BookHelper.deleteColumns(BookHelper.java:2151) >> at org.zkoss.zss.model.sys.impl.XRangeImpl.delete(XRangeImpl.java:681) >> at org.zkoss.zss.model.sys.impl.XRangeImpl.delete(XRangeImpl.java:687) >> at org.zkoss.zss.api.impl.RangeImpl.delete(RangeImpl.java:465) >> at org.zkoss.zss.api.CellOperationUtil.delete(CellOperationUtil.java:495) >> at org.zkoss.zss.ui.DefaultUserActionHandler.doDeleteSheetColumn(DefaultUserActionHandler.java:1115) >> at org.zkoss.zss.ui.DefaultUserActionHandler.dispatchAction(DefaultUserActionHandler.java:289) >> at org.zkoss.zssex.ui.DefaultExUserActionHandler.dispatchAction(DefaultExUserActionHandler.java:213) >> at org.zkoss.zss.ui.DefaultUserActionHandler.onEvent(DefaultUserActionHandler.java:1407) >> at org.zkoss.zssex.ui.DefaultExUserActionHandler.onEvent(DefaultExUserActionHandler.java:56) >> at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:346) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) {code}
    via by hawk,
  • h3. Problem Description: delete multiple columns causes a exception h3. Reproducing Steps: # select multiple columns # right click the selection and choose "delete" *Expected:* Selected columns are deleted. *Actual:* an exception is thrown. {code} 2013/5/21 上午 11:51:01 org.zkoss.zk.ui.impl.UiEngineImpl handleError:1359 嚴重的: >>java.lang.IllegalArgumentException: fromKey > toKey >> at java.util.TreeMap$NavigableSubMap.<init>(TreeMap.java:1240) >> at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1677) >> at java.util.TreeMap.subMap(TreeMap.java:862) >> at java.util.TreeMap.subMap(TreeMap.java:903) >> at org.zkoss.zss.model.sys.impl.XSSFSheetImpl.shiftCells(XSSFSheetImpl.java:748) >> at org.zkoss.zss.model.sys.impl.XSSFSheetImpl.shiftColumnsOnly(XSSFSheetImpl.java:594) >> at org.zkoss.zss.model.sys.impl.BookHelper.deleteXSSFColumns(BookHelper.java:2176) >> at org.zkoss.zss.model.sys.impl.BookHelper.deleteColumns(BookHelper.java:2151) >> at org.zkoss.zss.model.sys.impl.XRangeImpl.delete(XRangeImpl.java:681) >> at org.zkoss.zss.model.sys.impl.XRangeImpl.delete(XRangeImpl.java:687) >> at org.zkoss.zss.api.impl.RangeImpl.delete(RangeImpl.java:465) >> at org.zkoss.zss.api.CellOperationUtil.delete(CellOperationUtil.java:495) >> at org.zkoss.zss.ui.DefaultUserActionHandler.doDeleteSheetColumn(DefaultUserActionHandler.java:1115) >> at org.zkoss.zss.ui.DefaultUserActionHandler.dispatchAction(DefaultUserActionHandler.java:289) >> at org.zkoss.zssex.ui.DefaultExUserActionHandler.dispatchAction(DefaultExUserActionHandler.java:213) >> at org.zkoss.zss.ui.DefaultUserActionHandler.onEvent(DefaultUserActionHandler.java:1407) >> at org.zkoss.zssex.ui.DefaultExUserActionHandler.onEvent(DefaultExUserActionHandler.java:56) >> at org.zkoss.zss.ui.Spreadsheet$3.onEvent(Spreadsheet.java:346) >> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713) >> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654) >> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136) {code}
    via by hawk,
  • Querying the logs for old program runs gives following exception {code} 2015-09-30T20:46:27,651Z ERROR c.c.c.l.r.FileLogReader [dev-slave4.sjc1.continuuity.net] [executor-145] FileLogReader:getLogPrev(FileLogReader.java:137) - Got exception: java.lang.IllegalArgumentException: fromKey > toKey at java.util.TreeMap$NavigableSubMap.<init>(TreeMap.java:1261) at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1699) at java.util.TreeMap.subMap(TreeMap.java:877) at java.util.TreeMap.subMap(TreeMap.java:918) at co.cask.cdap.logging.read.FileLogReader.getFilesInRange(FileLogReader.java:178) at co.cask.cdap.logging.read.FileLogReader.getLogPrev(FileLogReader.java:119) at co.cask.cdap.logging.read.DistributedLogReader.getLogPrev(DistributedLogReader.java:91) at co.cask.cdap.logging.gateway.handlers.LogHandler.doPrev(LogHandler.java:246) at co.cask.cdap.logging.gateway.handlers.LogHandler.runIdPrev(LogHandler.java:234) 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 co.cask.http.HttpMethodInfo.invoke(HttpMethodInfo.java:79) at co.cask.http.HttpDispatcher.messageReceived(HttpDispatcher.java:41) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) {code}
    via by Sagar Kapare,
    • java.lang.IllegalArgumentException: fromKey > toKey at java.util.TreeMap$NavigableSubMap.<init>(TreeMap.java:1240) at java.util.TreeMap$AscendingSubMap.<init>(TreeMap.java:1677) at java.util.TreeMap.subMap(TreeMap.java:862) at java.util.TreeMap.subMap(TreeMap.java:903) at org.zkoss.zss.model.impl.XSSFSheetImpl.shiftCells(XSSFSheetImpl.java:748) at org.zkoss.zss.model.impl.XSSFSheetImpl.shiftColumnsOnly(XSSFSheetImpl.java:594) at org.zkoss.zss.model.impl.BookHelper.deleteXSSFColumns(BookHelper.java:2171) at org.zkoss.zss.model.impl.BookHelper.deleteColumns(BookHelper.java:2146) at org.zkoss.zss.model.impl.RangeImpl.delete(RangeImpl.java:681) at org.zkoss.zss.model.impl.RangeImpl.delete(RangeImpl.java:687) at org.zkoss.zss.ui.sys.ActionHandler.doDeleteSheetColumn(ActionHandler.java:1724) at org.zkoss.zss.ui.sys.ActionHandler.dispatch(ActionHandler.java:369) at org.zkoss.zss.ui.au.in.ActionCommand.process(ActionCommand.java:54) at org.zkoss.zss.ui.Spreadsheet.service(Spreadsheet.java:4655) at org.zkoss.zk.ui.impl.DesktopImpl.service(DesktopImpl.java:701) at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1201) at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482) at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:326) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
    No Bugmate found.