java.lang.IllegalArgumentException: end cannot be less than zero.

Stack Overflow | Ajit | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Print Spooler has stopped in PrintManager

    Stack Overflow | 5 months ago | Ajit
    java.lang.IllegalArgumentException: end cannot be less than zero.
  2. 0

    Android PrintServer crashes when pressing print button while rendering preview

    Stack Overflow | 6 months ago | Huebi
    java.lang.IllegalArgumentException: end cannot be less than zero.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      end cannot be less than zero.

      at android.print.PageRange.<init>()
    2. Android Platform
      PageRange.<init>
      1. android.print.PageRange.<init>(PageRange.java:50)
      1 frame
    3. com.android.printspooler
      PrintActivity.transformDocumentAndFinish
      1. com.android.printspooler.util.PageRangeUtils.asAbsoluteRange(PageRangeUtils.java:199)
      2. com.android.printspooler.ui.PrintActivity$DocumentTransformer.computePagesToShred(PrintActivity.java:2620)
      3. com.android.printspooler.ui.PrintActivity$DocumentTransformer.<init>(PrintActivity.java:2496)
      4. com.android.printspooler.ui.PrintActivity.transformDocumentAndFinish(PrintActivity.java:1733)
      4 frames