Unable to decode rights error message thrown?

We are trying to encrypt a .flv file using Adobe Flash Access SDK within a Web Project using Netbeans IDE(ver 6.8). We are using the sample class provided by Adobe Flash Access library to do the encryption. The funny thing is whenever we run this class standalone within the web project, the file is encrypted properly and the appropriate metadata files are generated.
     However after we generate JAXB bindings from a .xsd file and try to run the sample code, we get the following exception. Please note that we are using the following software versions
JAXB from NetBeans 6.8:-
Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)
Specification-Title: Java Architecture for XML Binding
Specification-Version: 2.2
Specification-Vendor: Sun Microsystems, Inc.
Extension-Name: javax.xml.bind
JAXB from Adobe Flash Access SDK 2.0:-
Implementation-Version: 1.0.1
Specification-Title: Java Architecture for XML Binding
Specification-Version: 1.0
Implementation-Title: JAXB Reference Implementation
Implementation-Vendor-Id: com.sun
Implementation-Vendor: Sun Microsystems, Inc.
Specification-Vendor: Sun Microsystems, Inc.
JAVA: 6
JAVA EE : 6
Net Beans: 6.8
===== EXCEPTION THROWN==============================
Aug 19, 2010 2:20:01 PM com.adobe.flashaccess.core.logging.Logger error
SEVERE: Unable to decode rights: null
com.adobe.flashaccess.sdk.util.EncodingException: Unable to decode rights
        at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.parsePDRL(PolicyRi ghtHelper.java:147)
        at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.parseRights(Policy RightHelper.java:95)
        at com.adobe.flashaccess.sdk.policy.Policy.parsePolicy(Policy.java:610)
        at com.adobe.flashaccess.sdk.policy.Policy.<init>(Policy.java:158)
        at com.packager.AdobeDRMPackager.loadPolicy(AdobeDRMPackager.java:208)
        at com.packager.AdobeDRMPackager.processModel(AdobeDRMPackager.java:116)
        at com.packager.AdobeDRMPackager.main(AdobeDRMPackager.java:282)
Exception in thread "main" com.adobe.flashaccess.sdk.util.EncodingException: Unable to decode rights
        at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.parsePDRL(PolicyRi ghtHelper.java:147)
        at com.adobe.flashaccess.sdk.policy.PolicyRightHelper.parseRights(Policy RightHelper.java:95)
        at com.adobe.flashaccess.sdk.policy.Policy.parsePolicy(Policy.java:610)
        at com.adobe.flashaccess.sdk.policy.Policy.<init>(Policy.java:158)
        at com.packager.AdobeDRMPackager.loadPolicy(AdobeDRMPackager.java:208)
        at com.packager.AdobeDRMPackager.processModel(AdobeDRMPackager.java:116)
        at com.packager.AdobeDRMPackager.main(AdobeDRMPackager.java:282)
Java Result: 1
Can someone throw a light on what may be the issue?
Thanks in Advance
LoveTQ

Hi LoveTQ,
To give you a very brief background first, we use Apache Commons Logging as the logging interface for our SDK (and other logs). The concrete logging implementation/provider used underneath this interface is specified in the commons-logging.properties file that should be present on the Java Classpath. The setting for the log level depends on this underlying implementation. Customers can use a logging implementation of their choice, with the SDK.
If you are using the Log4j implementation (which is what we use in some of the other Flash Access components), you can change the log level in the corresponding log4j.xml configuration file. Those details, if you would like, are provided under this link - http://commons.apache.org/logging/guide.html#Configuring%20Log4J.
If you decide to use another logging implementation, you will need to consult the appropriate documentation.
The only exception to all this, for the current release, is with the out-of-box Flash Access Server for Protected Streaming, wherein the log level is changed via the flashaccess-global.xml configuration file. For more details, you can refer to its documentation on page 45 of the Protecting Content guide (http://help.adobe.com/en_US/flashaccess/2.0/protecting_content.pdf).
Hope this helps.
Safdar

Similar Messages

  • Spinwheel when syncing, unable to sync photos, error message "the disk cannot be read from or written to" ... please help!

    spinwheel when syncing, unable to sync photos, error message "the disk cannot be read from or written to" ... please help!

    Everytime I try to sync my photos to iPad or my iPhone. The sync freezes for a whilie then comes back with "the disk cannot be read from or written to". I have already exported photo library from iPhoto and readded the photos.

  • How do you hide error messages thrown by a dashboard

    OBIEE 10g; Anyone know how to edit error messages thrown by analytics. The text in many messages has been identified to us as a security vulnerability because the text contains sensitive information such as server host names and the logical queries themselves which could be used by an attacker. This includes particularly errors thrown by the logon screen before the user has even been authenticated. What I would like to do is edit the messages to say something like "Error 100058 Please contact support"?

    hi
    i never tried with error message, not sure whether works or not..
    try this: http://bischool.wordpress.com/2009/08/26/avoid-running-report-for-all-values-on-dashboard-when-using-multi-select-prompt/
    also
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    try to implement this kind of logic..

  • My ipad suddenly unable to download with error messages error1004 anybody know why?

    my ipad suddenly unable to download with error messages error1004 anybody know why?

    Error 1004 is explained here:
    http://support.apple.com/kb/TS3694#error1004

  • Unable to Log In Error Message

    Hi,
    I created a repository file by using Oracle BI Administration Tool.
    My NQSCONFIG file is like below:
    [ REPOSITORY ]
    Star     =     TEST_REPOSITORY.rpd, DEFAULT;
    Then I stoped services and changed instanceconfig file like below for creating web catalog.
    <CatalogPath>C:/OracleBIData/web/catalog/TEST_REPOSITORY</CatalogPath>
    But when I try to login to Interactive dashboards, I am taking "Unable to Login Error Message".
    I am sure that I am entering correct user name and password because of I was able to login Interactive Dashboards before creating repository. ( With Oracle BI's default repository file)
    My regional settings are also English. What can I do?
    Bye

    Hi,
    Are you able to open repository online and login to presentation services with out giving password?
    Try opening repository online without giving any password(just give user name).Go to Manage->Security->On left pane click on users->Can see users on right pane->Click on Administrator user and give password you want.
    Assign points if helped.
    Regards,
    Srikanth

  • Unable to View Applet -Error message

    I have installed JRE 5 in my system but still when i try to acces a web page iam unable to view the applets present in it. I have set the IE settings to use JRE 1.5 for applets.Still iam unable to view it.
    i Get the "java.lang.ClasssnotFoundException " when i right clicket the place where applet should be found and click the "Java Console" link present there.
    Can anyone please help me? Follwing is the error message i receive.
    load: class com.gotnla.MOTS13.LoginMenu not found.
    java.lang.ClassNotFoundException: com.gotnla.MOTS13.LoginMenu
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more

    Just a guess: maybe you're behind a firewall, and you haven't configured your JVM to use the same firewall as the browser.

  • Unable to Resolve Script Error Message

    Hi,
    I am using Windows Vista and Acrobat Adobe Extended Version 9.
    I am struggling with a script. I am sure it is something simple; however, I am struggling mightily with it. I am getting an error message, shown below, that I am unable to understand and resolve.
    I am trying to calculate age when given a birthdate. I used "Search" to find a script here at Adobe forums.
    Here's the script that I am using:
    StoneG, "Third Time Lucky to get Age from DOB entry" #1, 24 Oct 2006 7:21 am
    // Jared Langdon
    // J. Langdon Consulting
    // www.jlangdon.ca
    // DOB = Date of Birth
    var strDOBYear = Birthdate.rawValue.substr(6,4);
    var strDOBMonth = Birthdate.rawValue.substr(0,2);
    var strDOBDay = Birthdate.rawValue.substr(3,2);
    var oDOB = new Date(parseInt(strDOBYear,10), parseInt(strDOBMonth,10)-1, parseInt(strDOBDay,10) );
    var oToday = new Date();
    // determine whether the person's birthday has already occurred this year
    var bBirthdayHasOccurred = false;
    if (oDOB.getMonth() < oToday.getMonth()) bBirthdayHasOccurred = true; if ((oDOB.getMonth() == oToday.getMonth()) && (oDOB.getDate() <= oToday.getDate())) bBirthdayHasOccurred = true;
    var nCurrentAge = 0;
    if (bBirthdayHasOccurred)
    nCurrentAge = oToday.getFullYear() - oDOB.getFullYear();
    else
    nCurrentAge = oToday.getFullYear() - oDOB.getFullYear() - 1;
    this.rawValue = nCurrentAge;
    ==========
    I changed the script slightly. I changed from:
    var strDOBYear = DateOfBirth.rawValue.substr(6,4);
    to
    var strDOBYear = Birthdate.rawValue.substr(6,4);
    My variable is "Birthdate".
    And I changed boolBirthdayHasOccurred to bBirthdayHasOccurred.
    Upon opening the file in Acrobat 9, my error messages is as follows:
    Acrobat JavaScript Debugger Functions Version 9.0
    Acrobat EScript Built-in Functions Version 9.0
    Acrobat Annotations / Collaboration Built-in Functions Version 9.0
    Acrobat Annotations / Collaboration Built-in Wizard Functions Version 9.0
    Acrobat SOAP 9.0
    Birthdate.rawValue has no properties
    8:XFA:form1[0]:#subform[0]:Age[0]:calculate
    The line above repeats several times. And then...
    boolBirthdayHasOccurred is not defined
    19:XFA:form1[0]:#subform[0]:Age[0]:calculate
    boolBirthdayHasOccurred is not defined
    19:XFA:form1[0]:#subform[0]:Age[0]:calculate
    Birthdate.rawValue has no properties
    8:XFA:form1[0]:#subform[0]:Age[0]:calculate
    Birthdate.rawValue has no properties
    I have no idea why it mentions "boolBirthdayHasOccurred" because that text is not even present. The last two lines repeat more several times.
    When I have delete this entire script, the problems disappears. I have tried finding "boolBirthdayHasOccurred" without success.
    Can someone point me in the right direction to troubleshoot this problem?
    Regards,
    Kevin

    Hi Paul,
    >>The default would be the format that your machine has set.
    That's interesting. So the users' machines are very likely different than mine. So there's no way of knowing in advance. That would seem to make the routine suggested by Jared Langdon (see my top post in this thread) somewhat troublesome? If users' machines are set differently than his, then his routine wouldn't work?
    I learned two important items with this task:
    1) I need to somehow specify (as done by Stephen) the format of the date numbers before I use them;
    2) Rather than using the Calculation Event on the Age, I should instead use Exit Event on the Date-of-Birth field.
    Thank you for your response.
    Regards,
    Kevin

  • Unable to findout the error message in debug

    Hi Gurus,
    When i am trying to execute the T.code FMCI_COPY_NEXT_YEAR  i am getting the
    ERROR MESSAGE: SET SCREEN NOT ALLOWED IN SUB SCREEN (SCREEN NO SAPLSBAL_DISPLAY0101) in new implementation.
    i am unable to find out  where the exact error is comming ... i requested you to please guide me for the same...
    Thanks in Advance !!!
    regards,
    Sanjay

    HI,
    double click on message and notice the number and type.
    Debug the program/function and set a breakpoint as statement "message".
    The system will hold on each message and with the information of number and type, you will find the right costing.
    Regards
    Nicole

  • ITunes unable to recognize iPod, error message along the lines if "iTunes has detected an iPod but unable to recognise" I have followed all the trouble shooting tips and am still stuck? I am now being told by a friend I need a link sent to me to fix this

    Hi,
    I am need of help! I have had this issue for a while now and it's becoming frustrating.
    My iTunes installed on my HP Windows 8 Netbook is unable to recognize my iPod, the error message along the lines of "iTunes has detected an iPod but unable to recognise"
    I have followed all the trouble shooting tips and am still stuck? I am now being told by a friend I need a link sent to me to fix this??
    Someone please help me fix this problem.
    Many thanks.
    Matt.

    Hi
    So just close iTunes and re-open iTunes thats it and that worked for you?
    When you say reset your settings do you mean to factory settings? As my iPod was swapped at the store for a new one and the problem is still there...
    Thanks.

  • Unable to create volume - error message when exporting

    Hello - relatively new Mac and iphoto user here.
    I'm trying to export photos from iphoto to a 2 GB thumb drive. I keep getting the error message "unable to create volume" when I try to move anything but very small batches of photos over. What's going on? I tried to create a folder on my desktop for the photos but then when I try to move from there I get an error message telling me the photo "is in use" and can't be moved to the thumb drive.
    I would move them to my external hard drive but I'm having trouble with it too. It won't even show up. When I run a disk utility on it it says it can't be verified. Sigh. So that's a whole other issue that will probably take something like Disk Warrior to clean up.
    In the meantime, I'm trying to move images to the thumb drive then I'm putting the thumb drive in my other computer and moving the images from the thumb drive to it's external hard drive A long process when you can only move about 20 images at a time from iphoto.
    I'm just trying to move a good bit of old photos out of iphoto on the Mace because I'm scared that the program or even my entire computer is going to crash and I'm going to have data loss.
    What can I do about the "unable to create volume" message? And what's with the "file in use" error message when I try to move the images off a file folder on the desktop.
    Is there a better way to move 1GB of photos all at once to the thumb drive?

    Welcome to the Apple Discussions.
    Seems to be two issues complicating things here:
    I'm trying to export photos from iphoto to a 2 GB thumb drive. I keep getting the error message "unable to create volume" when I try to move anything but very small batches of photos over.
    What format is that wee drive? Mostly there are FAT16 or FAT 32 and there is a limit to the number of objects they can have on the root of the drive. The workaround is to export to a Folder on the desktop and copy that over.
    Which brings us to:
    I tried to create a folder on my desktop for the photos but then when I try to move from there I get an error message telling me the photo "is in use" and can't be moved to the thumb drive.
    You will sometimes get this message when you try to export two files +with the same name+ to a Folder. As you know your camera is well capable of producing many files called something like DSC_1234.jpeg. In iPhoto these will be in separate folders, so no problem. However, when you go to export them to the Folder on the desktop if iPhoto continues the export one will overwrite the error.
    Solution: Give the Pics a title (Photos -> Batch Change) and a sequential number. Then when you export, in the export dialogue you have the option to use the Title as filename.
    Regards
    TD

  • "Unable to check out" error message in CS4

    I have InDesign CS4, but do not have InCopy. When I exported an InDesign CS4 file to CS3 interchange format, and then tried to edit the orginal file, I got an error message saying: "Unable to check out this file. It may be in use by someone else." From reading the documentation, it appears that I inadvertently engaged a feature of InCopy, but when  I go to the Edit->InCopy menu, the option to check the file back in is greyed out. How do I check the file back in so that I can edit it?

    I've just experienced the same error message in CS4. I got rid of it by going to the Links panel, selecting all the links to Incopy, and Unlinking.

  • Remove and check cartridge on right error message on 7410 all in one

    I recently changed the black ink cartridge in my 7410 all in one printer. After changing cartridge it gave me an error message of " Remove and check cartridge on right". I have tried removing and reinstalling , cleaning connection points with clean damp cloth (water) and still cannot get error message to go away.
    Any ideas would be greatly appreciated. Thank You.

    NoProblemAtoll wrote:
    I know this is an older thread but being it is a top Google result associated with the "Remove and check cartridge on right" error it justifies adding a helpful suggestion for other.  Our findings have been HP Printers are very biased against refilled \ recycled cartridges.  I own a total of (5)x HP 7310 and HP 7410 printers in my IT Consulting office.  These are feature rich MFP’s with an abundant supply of ink available at generously economical prices.  On the face of it, it sounds like a good reason to keep a bevy of last gen printers around. EXCEPT the printers work great with the $30-$50 brand new HP brand 96 cartridges from Office Depot or Staples.  Unfortunately if you try and buy some recycled cartridges off ebay the Printers detect the recycled\refilled cartridges as a previously depleted HP cartridge that may not be genuine and the units suddenly turn on you.  Miraculously the "Remove and check cartridge on right" only manifests itself with non-HP brand cartridges or cartridges that have been refilled.  (We have even tried to re-fill out own refreshly depleted cartridges with like results.)  Think of it as an HP service reminder conveying you forgot to pay HP their $30-$50 profit on your ink this go round.  Remember you need HP Branded ink cartridges (HP = Homogeneously Proprietary).  It’s like an intention flaw written into the firmware.  Best guess (purely on conjecture) is there is a check in the firmware/drivers for if the cartridges has been previously installed, previously depleted, max install count, and expiration date validation.  If it encounters a condition it doesn’t like you get this nondescript error.
    [advertisement snipped]
    The above post is filled with conjecture and speculation, but is not based on fact.  The Officejet7410 is not programmed to reject refilled/reman cartridges.  It will check cartridges electrically for various things and will reject cartridges that fail.  Typical failures would include a cracked printhead (caused by rough treatment - dropping the cartridge even a few inches for example), or open electrical connections caused by   debris on the cartridge contacts.  Cleaning the cartridge contacts as shown in the document here may resolve the issue in case of poor electrical contacts.
    A cartridge that has been previously used in a different printer will likely be marked as empty, but the printer will happily print with a cartridge detected as empty.
    The reality is that the quality of refill and reman cartridges are very variable, but generally poor.  The study here has a study conducted by a testing facility, here is another study. 
    My personal experience has been similar.  I donated an HP all-in-one to my son's high school years ago.  Sometime later I got a call from the teacher complaining that it was not printing properly.  I went and took a look and found they had put in a renam color cartridge that was not printing one of the colors*. They tried another cartridge, which also had a problem and then finally the third cartridge worked.  I asked why they used renam cartridges and he said they bought these because they were cheaper.  I asked if they were 1/3 the cost....
    *The color missing had nothing to do with the printer - blotting the bad cartridge on a damp tissue gave only two of the three colors that would normally be present.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Unable to open file -- error message stating file saved in 10.0

    I recently saved a file in InDesign CC and then upon returning from vacation (NO changes to machine/software), received an error message stating that the file was saved in a newer version!  10.0 to be exact.  Installed version is 9.2.2 x64

    Thanks Peter.   Don’t ask me how --- but you were right!
    Thanks.

  • "Unable to download items" error message on iPhone Music App

    On my new iPhone only some of the songs from my itunes song list would download to the "Music" app.  All the Albume covers and titels show in the dowloads section of my itunes app but underneath the song title it says "Download error. Tap to retry"?  When I do I keep getting the error message "Unable to download items"?  Funny because about 10 of the songs from the itunes app moved over to the music app but the rest won't?  Anybody run into this?  Thanks!

    I am still working on this problem and I just noticed that when I go back into itunes on my computer and then go to "File" then "Devices" all the tabs under devices are greyed out so I am unable to sync or transfer purchases?

  • Unable to Update Filters Error Message

    Has anyone else had difficulty editing or deleting their Email Filters? 
    I set up about 15 filters several years ago before Verizon changed the email format and have been unable to do anything with these filters for a couple of years now. 
    Below is the error message I receive everytime I attempt to delete or edit one of these filters:
    Tech Support on the other side of the world was unable to resolve this in October 2012 and I just continue to put up with and delete the error messages in my inbox that appear because some of the filters are trying to forward the email to my previous cell phone text message address.
    I don't use Outlook - I only access my email through netmail.verizon.net and my iPhone, but the issue with editing the filters existed before I got my iPhone.
    Does anyone have any inside tracks to someone at Verizon that could access my email account from the server side and REMOVE ALL FILTERS in my account?  I would prefer to have them all removed instead of putting up with I continue to put up with.
    Verizon keeps pushing me to go to FIOS, but I won't even consider it if they can't even fix this relatively simple issue!

    Tech Support needs to open a ticket to the OSC to have them removed. Make sure they document in the ticket that you want ALL of the filters deleted, and you are aware that they will not be able to recover them. Should take less than 24 hours.
    Good luck!
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.
    "All knowledge is worth having."

Maybe you are looking for

  • How to send request to web service using .pem certificate.

    Dear All, I have a .pem, WSDL file and (Request and Response format), this files are provided by the customer, now I have generated the ServiceClass using WSDL file using wsdl.exe. Now when I send the request I am getting error as "The underlying con

  • GOITEM-SGTXT in MIGO not updated in table MSEG

    Hi Experts I have a requirement to capture the MIGO line item text into Accounting document. Issue is - the text entered in GOITEM-SGTXT is not getting reflected in MSEG-SGTXT. Can someone enlighten me as to where / in which table the line item text

  • Script for renaming postscript files

    I need a script that will rename a postscript file at the time of printing. Ideally, after you hit the print button, a field would appear for you to enter the new name of the postscript file prior to sending it on to the printer. After you entered te

  • Substring from certain location and removing chars.

    Hello! 1. I have many Strings like these: "apple,trees, water, money, 150 m, 90 000 EEK, 3 421.79 EEK/m" "dogs, cats, beer, water, metal, roads, 35 000 000 EEK, 27 888.45 EEK/m" How do I get these substrings - "90 000" and "35 000 000"? I cannot dete

  • Tandberg C20 switch port configuration

    Is there a recommended switch port setting (3750x) for connecting a Tandberg C-Series (20,40,60)? Smartports? Port-Security? Access-port only?