java.lang.IllegalArgumentException: Relative references are only usable when a base reference is set.

osdir.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.restlet - Handling of file path with space in Reference - msg#00025 - Recent Discussion OSDir.com

    osdir.com | 9 months ago
    java.lang.IllegalArgumentException: Relative references are only usable when a base reference is set.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Relative references are only usable when a base reference is set.

      at org.restlet.data.Reference.getTargetRef()
    2. org.restlet.data
      Reference.getTargetRef
      1. org.restlet.data.Reference.getTargetRef(Reference.java:1674)
      1 frame
    3. org.restlet
      Directory.<init>
      1. org.restlet.Directory.<init>(Directory.java:104)
      2. org.restlet.Directory.<init>(Directory.java:142)
      2 frames
    4. com.usersmarts.ksb
      TestReference.main
      1. com.usersmarts.ksb.services.servlet.TestReference.main(TestReference.java:23)
      1 frame