Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Ajit
, 1 year ago
end cannot be less than zero.
java.lang.IllegalArgumentException: end cannot be less than zero.	at android.print.PageRange.(PageRange.java:50)	at com.android.printspooler.util.PageRangeUtils.asAbsoluteRange(PageRangeUtils.java:199)	at com.android.printspooler.ui.PrintActivity$DocumentTransformer.computePagesToShred(PrintActivity.java:2620)	at com.android.printspooler.ui.PrintActivity$DocumentTransformer.(PrintActivity.java:2496)	at com.android.printspooler.ui.PrintActivity.transformDocumentAndFinish(PrintActivity.java:1733)	at com.android.printspooler.ui.PrintActivity.requestCreatePdfFileOrFinish(PrintActivity.java:967)	at com.android.printspooler.ui.PrintActivity.onUpdateCompleted(PrintActivity.java:492)	at com.android.printspooler.model.RemotePrintDocument.notifyUpdateCompleted(RemotePrintDocument.java:385)	at com.android.printspooler.model.RemotePrintDocument.access$900(RemotePrintDocument.java:55)	at com.android.printspooler.model.RemotePrintDocument$1.onDone(RemotePrintDocument.java:117)	at com.android.printspooler.model.RemotePrintDocument$WriteCommand.handleOnWriteFinished(RemotePrintDocument.java:1000)	at com.android.printspooler.model.RemotePrintDocument$WriteCommand.access$2200(RemotePrintDocument.java:867)	at com.android.printspooler.model.RemotePrintDocument$WriteCommand$WriteHandler.handleMessage(RemotePrintDocument.java:1061)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:234)	at android.app.ActivityThread.main(ActivityThread.java:5526)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)