Java ME 8 Permission check failed when opening a serial port

I have a larger Jave ME8.1 application that was going well until I tried to add one last piece, reading and writing data from a serial port. This was left to last because it is trivial, at least in most programming languages. The is IDE NetBeans 8.0.2 running on a Windows 7 PC. The platform is a Raspberry Pi B or B+ (I have tried both) with the most current Raspbian (12/24/2014 I believe). To simplify the process I created a new app with just the open and close code and this generates the same error I am experiencing in the larger application. The program is as follows:
package javamecomapp;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.microedition.io.CommConnection;
import javax.microedition.io.Connector;
import javax.microedition.midlet.MIDlet;
* @author ****
public class JavaMEcomApp extends MIDlet {
    static int BAUD_RATE = 38400;
    static String SERIAL_DEVICE = "ttyAMA0";
    static CommConnection commConnection = null;
    static OutputStream os = null;
    static InputStream is = null;
    static String connectorString;
    private int rtnValue = -1;
    @Override
    public void startApp() {
        java.lang.System.out.println("Opening comm port.");
        try {
            rtnValue = JavaMEcomApp.openComm();
        } catch (IOException ex) {
            Logger.getLogger(JavaMEcomApp.class.getName()).log(Level.SEVERE, null, ex);
    @Override
    public void destroyApp(boolean unconditional) {
        java.lang.System.out.println("Closing comm port.");
        try {
            rtnValue = JavaMEcomApp.closeComm();
        } catch (IOException ex) {
            Logger.getLogger(JavaMEcomApp.class.getName()).log(Level.SEVERE, null, ex);
        private static int openComm()throws IOException {
            java.lang.System.out.println("Opening comm port.");
            connectorString = "comm:" + SERIAL_DEVICE + ";baudrate=" + BAUD_RATE;
            commConnection = (CommConnection)Connector.open(connectorString);
            is  = commConnection.openInputStream();
            os = commConnection.openOutputStream();
        return 0;
    private static int closeComm()throws IOException {
        java.lang.System.out.println("Closing comm port.");
            is.close();
            os.close();
            commConnection.close();
        return 0;
If I comment out the JavaMEcomApp.openComm and closeComm lines it runs fine. When they are included, the following error is dumped to the Raspberry Pi terminal:
Opening comm port.
Opening comm port.
[CRITICAL] [SECURITY] iso=2:Permission check failed: javax.microedition.io.CommProtocolPermission "comm:ttyAMA0;baudrate=38400" ""
TRACE: <at java.security.AccessControlException: >, startApp threw an Exception
java.security.AccessControlException:
- com/oracle/meep/security/AccessControllerInternal.checkPermission(), bci=118
- java/security/AccessController.checkPermission(), bci=1
- com/sun/midp/io/j2me/comm/Protocol.checkForPermission(), bci=16
- com/sun/midp/io/j2me/comm/Protocol.openPrim(), bci=31
- javax/microedition/io/Connector.open(), bci=77
- javax/microedition/io/Connector.open(), bci=6
- javax/microedition/io/Connector.open(), bci=3
- javamecomapp/JavaMEcomApp.openComm(), bci=46
- javamecomapp/JavaMEcomApp.startApp(), bci=9
- javax/microedition/midlet/MIDletTunnelImpl.callStartApp(), bci=1
- com/sun/midp/midlet/MIDletPeer.startApp(), bci=5
- com/sun/midp/midlet/MIDletStateHandler.startSuite(), bci=246
- com/sun/midp/main/AbstractMIDletSuiteLoader.startSuite(), bci=38
- com/sun/midp/main/CldcMIDletSuiteLoader.startSuite(), bci=5
- com/sun/midp/main/AbstractMIDletSuiteLoader.runMIDletSuite(), bci=130
- com/sun/midp/main/AppIsolateMIDletSuiteLoader.main(), bci=26
java.security.AccessControlException:
- com/oracle/meep/security/AccessControllerInternal.checkPermission(), bci=118
- java/security/AccessController.checkPermission(), bci=1
- com/sun/midp/io/j2me/comm/Protocol.checkForPermission(), bci=16
- com/sun/midp/io/j2me/comm/Protocol.openPrim(), bci=31
- javax/microedition/io/Connector.open(), bci=77
- javax/microedition/io/Connector.open(), bci=6
- javax/microedition/io/Connector.open(), bci=3
- javamecomapp/JavaMEcomApp.openComm(), bci=46
- javamecomapp/JavaMEcomApp.startApp(), bci=9
- javax/microedition/midlet/MIDletTunnelImpl.callStartApp(), bci=1
- com/sun/midp/midlet/MIDletPeer.startApp(), bci=5
- com/sun/midp/midlet/MIDletStateHandler.startSuite(), bci=246
- com/sun/midp/main/AbstractMIDletSuiteLoader.startSuite(), bci=38
- com/sun/midp/main/CldcMIDletSuiteLoader.startSuite(), bci=5
- com/sun/midp/main/AbstractMIDletSuiteLoader.runMIDletSuite(), bci=130
- com/sun/midp/main/AppIsolateMIDletSuiteLoader.main(), bci=26
Closing comm port.
Closing comm port.
TRACE: <at java.lang.NullPointerException>, destroyApp threw an Exception
java.lang.NullPointerException
- javamecomapp/JavaMEcomApp.closeComm(), bci=11
- javamecomapp/JavaMEcomApp.destroyApp(), bci=9
- javax/microedition/midlet/MIDletTunnelImpl.callDestroyApp(), bci=2
- com/sun/midp/midlet/MIDletPeer.destroyApp(), bci=6
- com/sun/midp/midlet/MIDletStateHandler.startSuite(), bci=376
- com/sun/midp/main/AbstractMIDletSuiteLoader.startSuite(), bci=38
- com/sun/midp/main/CldcMIDletSuiteLoader.startSuite(), bci=5
- com/sun/midp/main/AbstractMIDletSuiteLoader.runMIDletSuite(), bci=130
- com/sun/midp/main/AppIsolateMIDletSuiteLoader.main(), bci=26
java.lang.NullPointerException
- javamecomapp/JavaMEcomApp.closeComm(), bci=11
- javamecomapp/JavaMEcomApp.destroyApp(), bci=9
- javax/microedition/midlet/MIDletTunnelImpl.callDestroyApp(), bci=2
- com/sun/midp/midlet/MIDletPeer.destroyApp(), bci=6
- com/sun/midp/midlet/MIDletStateHandler.startSuite(), bci=376
- com/sun/midp/main/AbstractMIDletSuiteLoader.startSuite(), bci=38
- com/sun/midp/main/CldcMIDletSuiteLoader.startSuite(), bci=5
- com/sun/midp/main/AbstractMIDletSuiteLoader.runMIDletSuite(), bci=130
com/sun/midp/main/AppIsolateMIDletSuiteLoader.main(), bci=26
I have tried this with three different serial ports, /dev/ttyAMA0 (yes I did disable the OS from using it), an arduino board /dev/ttyACM0, and a USB to RS485 adaptor /dev/ttyUSB0. All of these ports could be connected and use normally with both a C program and terminal program in the Pi. The API Permissions were set in the project properties / Application Descriptor / API Permissions to jdk.dio.DeviceMgmtPermission "/dev/ttyAMA0". This of course was changed as I tested different devices.
I found a reference suggesting adding the line "authentication.provider = com.oracle.meep.security.NullAuthenticationProvider" to the end of the jwc_properties.ini file. This had no effect. I found references that during development in eclipse and NetBeans, the app is already elevated to the top level so this should not be an issue until deployment. This does not appear to be the case.
I am out of time and need a solution quickly. Any suggestions are welcome.

Terrence,
   Thank you for responding and confirming the issues I'm having with static addressing.  As far as the example above, I do have the standard LEDs working correctly, however, the example I'm referring to above is from the JavaME samples using the GPIO Port for the LEDS, according to the Device I/O Preconfigured List you referenced:
GPIO Ports
The following GPIO ports are preconfigured.
Devicel ID
Device Name
Mapped
Configuration
8
LEDS
PTB22
PTE26
PTB21
direction = 1 (Output only)
initValue = 0
GPIOPins:
controllerNumber = 1
pinNumber = 22
mode = 4 (Push-pull mode)
controllerNumber = 4
pinNumber = 26
mode = 4 (Push-pull mode)
controllerNumber = 1
pinNumber = 21
mode = 4 (Push-pull mode)
So is the assumption that using GPIOPort for accessing the GPIO port for Device ID 8 as listed in the Device I/O Preconfigured list not supported?

Similar Messages

  • Permission check failed: java.util.PropertyPermission

    Hello guys,
    I am working on JME8 for Raspberry Pi and I am facing a problem with java.util.PropertyPermission.
    I have added permission java.util.PropertyPermission "*:*" "read,write"; in appdb/_policy.txt but it does not seem to solve the problem.
    Here is a log capture when I run it.
    [19:20:55.144] INFO - VM - [SECURITY] iso=1:Blacklist Client: initialized
    [19:20:55.144] INFO - VM - [SECURITY] iso=1:Authentication Provider: com.oracle.meep.security.DefaultAuthenticationProvider
    [19:20:55.144] INFO - VM - [SECURITY] iso=1:Policy: com.oracle.meep.security.DefaultSecurityPolicy
    [19:20:55.145] INFO - VM - [SECURITY] iso=1:Using policy file: /home/pi/jme8ea2/bin/../appdb/_policy.txt
    [19:20:55.281] INFO - VM - [SECURITY] iso=1:Application assigned to the client "untrusted"
    [19:20:56.056] FATAL - VM - [SECURITY] iso=3:Permission check failed: java.util.PropertyPermission "fileconn.dir.private" "read"
    Any ideas is much appreciated.
    Thanks in advance.
    CheeSeng

    Hello Petr,
    Initially I added java.util.PropertyPermission into "ProjectProperties->Application Descriptor->API Permissions" in NetBeans 8.0 but did not specify "Protected Resource Name" and "Actions Requested".
    After seeing the JAD containing this, MIDlet-Permission-Opt-1: java.util.PropertyPermission "" "",
    I added fileconn.dir.private into "Protected Resource Name" and read into "Actions Requested" and it works!!
    Thank you very much for your hints that made me look into the JAD.
    Regards,
    CheeSeng

  • HT1941 I have inadvertently changed a file permission setting. When opening Aperture I get the following; Aperture cannot access this library. To use this library make sure it's file permissions are set correctly. I am an old dude new to Mac OS. What up?

    I have inadvertently changed a file permission setting. When opening Aperture I get the following; "Aperture cannot access this library. To use this library make sure it's file permissions are set correctly". I am an old dude new to Mac OS. Looked in settings but have no idea how to allow file sharing to myself. I have been using Aperture actively for 6 weeks. I'm the only one using this Mac. What up?

    Back up all data now.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. You can demote it back to standard status when this step has been completed.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:20 ~ $_ ; chmod -R -N ~ $_ 2> /dev/null
    Be sure to select the whole line by triple-clicking anywhere in it. You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. You don't need to post the warning. If you don’t have a login password, you’ll need to set one before you can run the command.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select Utilities ▹ Terminal from the menu bar. A text window opens.
    In the Terminal window, type this:
    resetpassword
    That's one word with no spaces. Then press return. A Reset Password window opens. You’re not going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select  ▹ Restart from the menu bar.

  • Why FF6.0.2 always checks compatibility when opened and opened 2 tabs - firefox page and homepage? Is there a way to disable? It's rather annoying

    why FF6.0.2 always checks compatibility when opened and opened 2 tabs - firefox page and homepage? Is there a way to disable? It's rather annoying

    See these articles for some suggestions:
    * https://support.mozilla.com/kb/Firefox+has+just+updated+tab+shows+each+time+you+start+Firefox
    * https://support.mozilla.com/kb/How+to+set+the+home+page - Firefox supports multiple home pages separated by '|' symbols
    * http://kb.mozillazine.org/Preferences_not_saved

  • When I try to activate Java plug in it keeps failing when I try to activate it. How can I get the Java plugin to activate on FireFox.Java has been updated.

    I tried activating the plugin at osgov.com/webcam.html to see the web cam. I keep getting an error message that the plug in failed when i try to activate it when I am on firefox.

    Hello T.B., if you already [https://support.mozilla.org/en-US/kb/how-to-use-java-if-its-been-blocked#w_activate-java-once Activate Java once], try to reload the page and check it again. If does't work try to [https://support.mozilla.org/en-US/kb/how-to-use-java-if-its-been-blocked#w_always-activate-java-for-a-site Always activate Java for a site]
    Java 7.11 is vulnerable, so use it, it if absolutely necessary.
    thank you

  • Sound fails when opening new sound "sources" quickly after one another

    I hava a problem when the sound on Arch running XFCE.
    At first, there was no sound. I searched for a solution, and found one that seemingly did help. I created .asoundrc in ~ with this text:
    pcm.!default {
        type plug
        slave.pcm {
            @func getenv
            vars [ ALSAPCM ]
            default "hw:PCH"
    This should set the default sound card (as my motherboard have both PCH and HDMI sound card).
    Now there is sound, but it fails when i switch from different sound "sources" (like different YouTube-videoes). For the sound to work again, I have to refresh the page, and generally wait some 20 seconds.
    My motherboard is MSI GAMING 3 Z97, and I don't have more sound card than what is on that card.
    So I was hoping for some help. It's not a big problem, but a bit irritating. :)

    I'm going to go out on a limb and guess that you've got a custom timecode field somewhere in your production and/or asset metadata group(s), right? And I'm going to further guess that this timecode field has dashes in it like this --:--:--:--, right? If so, try this: Click the arrow next to the timecode field and adjust the timecode so that it has a number (it doesn't matter what the number is as long it's not dashes - "00:00:00:00" is fine). Then Save this asset, close it and then reopen it and see if the beeping madness has vanished. Then, to make this change permanent for all of your new assets, make sure to edit the default value of any custom timecode fields to put zeros (or some other numeric default value) into them when a new asset is generated. If the asset still beeps when you open it, check the other metadata groups in your set to see if there isn't another empty timecode field lurking in the shadows.
    Jason

  • Database logon failed when opening report with parameter values in CrystalReportViewer

    Hi,
    I designed 2 crystal reports: report A contains parameter fields and report B did not contain any parameter
    I can open both reports in development site using CrystalReportViewer control. When I open the reports in testing site,
    I can open report B but can't open report A. It display error message "Database logon failed". When I set EnableDatabaseLogonPrompt
    to true and try to open the report A again, it shows database connection data which was created on report.
    In addition, it is strange that it displays error "Database logon failed" when I click an item in group tree panel of the report B. This indicates that it can load data from database
    in testing site but it connect to development database when clicking items in group tree panel
    All reports connect to database using Windows Authenication. It use dynamic database connection at runtime
    How to ensure the report always connect database using login data dynamically at runtime?
    Below is my code about database connection:
    string strServerName = null;
    string strDatabaseName = null;
    ReportDocument rptDoc = new ReportDocument();
    rptDoc.Load(strFilePath);
    ConnectionInfo connInfo = new ConnectionInfo();
    TableLogOnInfo logonInfo;
    for (int i = 0; i < rptDoc.Database.Tables.Count; i++)
    logonInfo = rptDoc.Database.Tables[i].LogOnInfo;
    ReportHelper.GetReportConnection(ref strServerName, ref strDatabaseName, strSystemType);
    logonInfo.ConnectionInfo.ServerName = strServerName; 
    logonInfo.ConnectionInfo.DatabaseName = strDatabaseName;
    logonInfo.ConnectionInfo.IntegratedSecurity = true;
    rptDoc.Database.Tables[i].ApplyLogOnInfo(logonInfo);
    rptDoc.Database.Tables[i].Location = rptDoc.Database.Tables[i].Location.Substring(0, rptDoc.Database.Tables[i].Location.Length - 2);
    crvViewer.ReportSource = rptDoc;
    crvViewer.DataBind();
    Development environment:
    - SAP Crystal Reports 2013 Support Pack 1
    - Visual Studio Professional 2012
    - .NET Framework 3.5
    - DDL
    CrystalDecisions.Shared (v 13.0.8.1216)
    CrystalDecisions.Web (v 13.0.8.1216)
    CrystalDecisions.CrystalReports.Engine (v 13.0.8.1216)
    Database connection in crystal report:
    - Database Type: OLEDB (ADO)
    - Provider: SQLOLEDB
    - Integrated Security: True
    Thanks and Regards,
    Tony

    Hi Tonylck
    Try  to pass login info to crystal report dynamically as follows:
    using System;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    namespace WindowsApplication1
    public partial class Form1 : Form
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    ReportDocument cryRpt = new ReportDocument();
    TableLogOnInfos crtableLogoninfos = new TableLogOnInfos();
    TableLogOnInfo crtableLogoninfo = new TableLogOnInfo();
    ConnectionInfo crConnectionInfo = new ConnectionInfo();
    Tables CrTables ;
    cryRpt.Load("PUT CRYSTAL REPORT PATH HERE\CrystalReport1.rpt");
    crConnectionInfo.ServerName = "YOUR SERVER NAME";
    crConnectionInfo.DatabaseName = "YOUR DATABASE NAME";
    crConnectionInfo.UserID = "YOUR DATABASE USERNAME";
    crConnectionInfo.Password = "YOUR DATABASE PASSWORD";
    CrTables = cryRpt.Database.Tables ;
    foreach (CrystalDecisions.CrystalReports.Engine.Table CrTable in CrTables)
    crtableLogoninfo = CrTable.LogOnInfo;
    crtableLogoninfo.ConnectionInfo = crConnectionInfo;
    CrTable.ApplyLogOnInfo(crtableLogoninfo);
    crystalReportViewer1.ReportSource = cryRpt;
    crystalReportViewer1.Refresh();
    Ref
    http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-dynamic-login.htm
    Mark as answer if you find it useful
    Shridhar J Joshi Thanks a lot

  • Why does compiled (EXE) VI run when you double-cli​ck the icon even though I un-checked "Run When Opened"?

    My VI code uses the VI's that came with the NI  USB-8451  USB-to-SPI converter.  Before compiling I needed to use one of those VI's to select the particular USB device that I'm trying to address, then I click the Run button.  But after I compile my code into an EXE file, and then double-click the executable file it immediately starts running without allowing me to select the USB device - even though I un-checked the "Run When Opened" box.  In fact I also un-checked the Show Menu Bar and Show Scroll Bars boxes as well, yet it shows both of them.  What am I doing wrong?

    It seems silly to start and stop a built LabVIEW application from the toolbar. A complete application should always run and have the LabVIEW toolbar hidden. A user of you code is not supposed to be familiar with LabVIEW mechanics.
    You should do all this in code. Really!
    Do a nice state machine with at least two states. (1) a state for where the device has not been entered and is simply waiting for your input, and (2) another state that verifies your device input and hands it to the rest of the code for afterwards.
    Still, what LabVIEW version do you have. Did you set the "run when openend" setting in the application builder for the desired VI or just in the VI itself?
    LabVIEW Champion . Do more with less code and in less time .

  • Java applet runs inside html page when opened with http, but no longer with "Open File" menu, why?

    Using the "Open File" menu, file:///Users/234866H/Documents/atom/atomic1.html fails to open the java applet atomic1.class inside atomic.html. However, http://atom.curtin.edu.au/igor/atom/atomic1.html works just fine.
    I suspect the problem arose following the recent java upgrade. It is also there on Safari.
    Testing Java at http://www.java.com/en/download/testjava.jsp yields:
    "Your Java is working. Your Java configuration is as follows: Vendor: Apple Inc. Version: Java SE 6 Update 51 Operating System: Mac OS X 10.6.8 Java Architecture: 64-bit"
    However, this is an http test, and not an "Open File" test.
    Any help would be appreciated.

    Hello, I don't know about this specifically but this is what I would try.
    Instead of the string "\u7834\u70C2\u7269\u7A0B\u5E8F\u5458..."
    Set the encoding type in the String constructor first...
    ie:
    new String( "\u7834\u70C2\u7269\u7A0B\u5E8F\u5458...","GB18030");
    Here is a little class I whipped up to show the CharSets that are available to you..
    public class ShowAllCharSets
    ShowAllCharSets()
    Map myMap = Charset.availableCharsets();
    Iterator iterator = myMap.keySet().iterator();
       while (iterator.hasNext())
          System.out.println("Char set name = "+((String)it.next()));
    public static void main(String args[])
       new ShowAllCharSets();
    }Then use the preset charset String with the specific encoding already set for your menu items.
    GB18030 I picked arbitrarily because it is Chinese and you may have to try another.
    Good Luck!
    (T)

  • Windows security always check failure when open new deployed app on Sharepoint site

    Each time when I click new app which is deployed by VS2013, it will popup an windows security check form.When I using administrator account to login , it can't take affect.The check form will always be here because the account is not avaliable to this
    app I think. I can use the account to do any operation in this sharepoint site, but just can't open this new developed app. Anybody know the root cause?

    Hi,
    Did you use the same account with the App creator(the account which deployed the app)? You can use the app creator to check whether it works.
    Could the other accounts access the apps? You can use the other accounts to check whether it works.
    To quickly and accurately find the issue, you can check the event log and ULS log to see if anything unexpected occurred.
    For SharePoint 2013, by default, ULS log is at
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Problem "verify operation failed" when opening Reader 11.0.03

    and when opened a secured pdf recieve the error "There was an error opening this document. There was an error opening this document (57)."

    Found a fix for my problem.  It wasn't the Protected Mode issue after all.  The fix is to disable In Product Messaging.
    Here is the fix for the problem.  Now maybe Adobe can address this issue in the future release or patch/update.
    Try it on yours and see if it doesn't fix it also.
    The following below link provides the information I am about to share with you.
    But open Adobe Acrobat Reader without opening a PDF file. So just open Adobe Reader application by itself.
    1. Click on EDIT
    2. Click on PREFERENCES
    3. Click on GENERAL Category
    4. UNCHECK "Show me messages when I launch Reader"
    5. CHECK "Don't show messages while viewing a document"
    This should fix your problem as it fixed mine. See the link below for more information. Looks like I will be doing a regedit script for our network users to get rid of this problem. UGGGHHH!!!!!!
    Hope this helps!
    http://www.adobe.com/devnet-docs/acrobatetk/tools/PrefRef/Windows/IPM.html?zoom_highlight= IPM

  • Slp check failed when installing touchpad driver

    hello,
    when i try to install the intelligent touchpad driver i get the error message "slp check failed". my OS is win7, installed on the 24gb ssd.

    ok it doesnt matter anymore, it seems to work with another driver now, but thanks for reading anyways!

  • Just installed CS5 Production premium and Encore fails when opened

    When opening Encore and starting any new project I receive a popup that counts seconds and then pops up access denied. When I open a project I created I get the popup Adobe Encore has stopped working and it shuts down. Running windows 7 64 bit pro. Any ideas?

    Run as Administrator http://forums.adobe.com/thread/969395 (Encore AND PPro) might be your solution
    If that doesn't fix your problem, report back with all hardware details

  • Flash CC failing when opening existing FLA

    Hi,
    I have several Flash Professional projects (primarily AIR Android), that fail to open in Flash Professional CC with the following error message:
         Could not load scene into memory. Your document may be damaged.
    These same FLA files open fine in Flash Professional CS6, so I know that they are not damaged.
    Any thoughts on how to resolve this?
    Thanks!

    I'm having the same problem, a little different scenario though.  The FLA is originally from Flash CS6, saved as a Flash CC FLA. 
    After saving and reopening it defaulted to "Scene 2" and wrote to the output panel, "Could not load scene into memory. Your document may be damaged."  The library was empty and nothing was on the stage.  File properties (stage width/height, framerate, etc) were correct, there was just nothing in the library.
    Try #1:  I retrieved the original FLA from GitHub and tried it again.  This time it was okay after a save and reopen.   All good.  Later I saved again, closed, and reopen the next day.  It was corrupted again.
    Try #2:  I retrieved the original FLA from GitHub and tried it again.  This time I copied all the library items from the old library to a fresh, new Flash CC FLA.  Saved, closed, and reopened.  Corrupted file again.
    Try #3:  I retrieved the original FLA again.  This time I copied the library items to a fresh XFL file.  Saved, closed, everything okay.  Later saved, closed, found the file corrupted again.  Digging into the ~/Library folder of the XFL package there's nothing that seems wrong... all the XML files are there.
    Try #4:  Opened on a different computer.  Still corrupted.
    As long as I have the FLA/XFL open it won't go corrupt.  Its the moment I save and close that there are problems.   I'm working on a Mac OS 10.8, I uninstalled and reinstalled both Flash CS6/CC and Flash Builder 4.7 to ensure it wasn't bad installs.  Library is a mix of buttons, bitmaps, and movieClips.  Flash CS6 now suffers the same fate too after the latest update.

  • Load Report failed when opening Report under IIS 5.1

    I recently upgraded to Crystal Reports 2008 (12) from Crystal Reports Basic 2008 (10.5).  I am using Visual Studio 2008 with the CrystalReportViewer.  Now when I run my reports from the website under IIS 5.1 (Windows XP SP3), I get a Load Report Failed.  The detailed exception follow:
    Error loading report (ConfigureCrystalReports)
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x800001F5): The Report Application Server failed at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() --- End of inner exception stack trace --- at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) at ncspo.ReportViewer.ConfigureCrystalReports() in D:\Websites\NCSPO\FIS\ReportViewer.aspx.vb:line 43
    If I run the report using the ASP.Net Development Server, the reports run fine.  It only fails under IIS.  From other posts, I understand that i need to grant the Network Service and IIS_WPG group read/write permissions to the windows\temp folder.  I have done this for the Network Service, but the IIS_WPG group was not introduced until IIS 6.0.  Any ideas on how I can get this working under IIS 5.1?
    Here is the code behind page:
    Private Sub ConfigureCrystalReports()
                Try
                    rpt = New ReportDocument
                    Dim strReportFilename As String
                    If Len(Request.QueryString("ReportFilename")) > 0 Then
                        strReportFilename = Request.QueryString("ReportFilename")
                    Else
                        strReportFilename = System.Configuration.ConfigurationManager.AppSettings("cr404Page")
                    End If
                    Dim strReportPath As String = System.Configuration.ConfigurationManager.AppSettings("ReportPath")
                    Dim strReportFilePath As String = strReportPath & strReportFilename
                    Dim strReportFilePath_Full As String = Server.MapPath(strReportFilePath)
                    rpt.Load(strReportFilePath_Full)    <--- Exception occurs on this line
                Catch ex As Exception
                    lblStatus.Text = "Error loading report (ConfigureCrystalReports)"
                    lblStatus.Text &= "<BR>" & ex.ToString()
                    ncspo.clsMisc.LogError(ex, Me)
                End Try
            End Sub

    Am I correct in reading the following 2 documents that IIS 5.1 is not supported?
    If you check this document.  It shows IIS6 and 7 no support on 5.  See page 6
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f05523e4-35c4-2b10-2c89-9fcf64b0dd22]
    This document also on page 5
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50a87366-da1d-2b10-e1b4-a37ab37a2dea]
    Thanks.

Maybe you are looking for

  • How to create own Selection Parameter for ME2M list

    Dear Sir, We use ME2m tcode for getting list related to Purchase Order . We have been told that we can create our own "SELECTION PARAMETER" for ths report . Kindly guide us as what steps need to be done for this pl . With Thanks and Regards Sonia Mit

  • Select statement help

    I need somebody to look at this statement for me.  I can't figure out why it is giving me a syntax error: DATA: meg001 LIKE coss-meg001,       meg002 LIKE coss-meg002,       meg003 LIKE coss-meg003,       meg004 LIKE coss-meg004,       meg005 LIKE co

  • Flex - 3 Tree Control

    Hi, I have to display Tree items in clickable link item as simillar to LinkButton. Can anyone help me plz. Thanks!

  • DW CS4 - Template/Child Saving Trouble

    I'm really very new to DW, and so I'm learning as I go. I had a site with a bunch of templates, but it appeared that the pages were all created from other pages rather than from templates. I started playing with Templates, created a couple pages from

  • So who's tested CS3 vs. CS4?

    I haven't seen any tests yet, like the standard rotate blur test from retouch artists http://forums.macrumors.com/showthread.php?t=200558 or the more involved one at driverheaven: http://www.driverheaven.net/photoshop.php Anybody care to post results