Results 1 to 8 of 8
Like Tree1Likes
  • 1 Post By Tolls

Thread: Error: java.lang.Exception: Failed to get cmi entry

  1. #1
    Join Date
    Feb 2012
    Posts
    4
    Rep Power
    0

    Default Error: java.lang.Exception: Failed to get cmi entry

    I am developing a course in HTML and JavaScript to be launched by our SABA Learning Management System. The course is supposed to use SCORM 1.2 to connect to the LMS. It works fine in testing, but when I import the course into the LMS and try to launch it, I get this error.

    java.lang.Exception: Failed to get cmi entry

    I am unsure what exactly is causing the problem. I'm assuming it has something to do with permissions, but I don't know enough about Java or the Learning Management System to be able to diagnose the issue.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Error: java.lang.Exception: Failed to get cmi entry

    Is that the full text of the error message? Many error messages come with a stack trace that helps you find the line in the source where the error occurred.
    Does the code have any catch blocks that do not have calls to printStackTrace()? Make sure all catch blocks call that method so you get the stack trace which is needed for debugging.

  3. #3
    Join Date
    Feb 2012
    Posts
    4
    Rep Power
    0

    Default Re: Error: java.lang.Exception: Failed to get cmi entry

    That is the full text of the error message that I can see. I don't have access to the Java code as it's proprietary and part of the SABA Learning Management System.

    When I run FireBug I get this from the Net tab, but it's beyond my ability to understand. I also get the following error from the Console, which also doesn't make sense to me.

    Error: java.lang.Exception: Failed to get cmi entry-firebug-1.jpgError: java.lang.Exception: Failed to get cmi entry-firebug-2.jpg

    I appreciate any help you can provide. I just want to understand what the problem is. I suspect it could be a cross-domain security issue, but I'm not sure.

    This is also a screenshot of the actual error.

    Error: java.lang.Exception: Failed to get cmi entry-error-1.jpg
    Last edited by Faisal Saddique; 02-14-2012 at 01:37 PM.

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Error: java.lang.Exception: Failed to get cmi entry

    code as it's proprietary and part of the SABA Learning Management System.
    Call the authors if there is a problem with their code.

  5. #5
    Join Date
    Feb 2012
    Posts
    4
    Rep Power
    0

    Default Re: Error: java.lang.Exception: Failed to get cmi entry

    I'm not sure that the problem is with their code, since commercially developed courses run fine in the LMS.

    It's simply the course I'm developing that has problems running.

  6. #6
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default Re: Error: java.lang.Exception: Failed to get cmi entry

    If the code your are developing is java, what does it do that could cause the problem?

    Read the doc for the system you are using and see why it throws that error.
    If there is no doc, call the author.

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,805
    Rep Power
    19

    Default Re: Error: java.lang.Exception: Failed to get cmi entry

    Then ask them what that error means, because we don't know.
    It's specific to their system.
    Norm likes this.

  8. #8
    Join Date
    Feb 2012
    Posts
    4
    Rep Power
    0

    Default Re: Error: java.lang.Exception: Failed to get cmi entry

    I will speak to them. At least I know it's not a standard error. Thank you all for your help.

    Faisal

Similar Threads

  1. servlet jsp threw exception: java.lang.Error
    By gcebala in forum New To Java
    Replies: 1
    Last Post: 12-02-2011, 01:48 PM
  2. Replies: 12
    Last Post: 09-23-2011, 01:25 PM
  3. Replies: 2
    Last Post: 05-24-2011, 07:18 AM
  4. Replies: 3
    Last Post: 03-21-2011, 01:48 PM
  5. Replies: 4
    Last Post: 06-03-2010, 08:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •