snapshot problem

One of the VM has several snapshot taken before. Suddenly, the harrdisk is corrupt. I recover VM by using disk recovery software. Some files are corrupt, can not be recovered. He has now broken instant channel number.

VMSD files are corrupt. But delta disk VMDK flat amd basic disk.

VMware website and forum, I can recreate VMX file by recreating the new virtual machine and by changing some settings.

A descptions VMDK file can be recreated using vmfstools according to the official website of VMware.

Do anyone know if there are methods to recreate the VMSD or VMSN files?

I also find the document to solve the problem of broken chains instant. Do you know how to commit a snapshot if VM has several snapshots?

Thank you!

You are right about the CID/parentCID, these values must be unique. However, according to the log files and the size of the hard files the current order of the snapshot is: 4-> 1-> 3-> 2-> base. I created the file descriptor suitable for (see you attachment). You just need to rename/edit them and replace the "xxxxxx" with real names. Be sure to only use a (not Notepad) editor that is able to edit UNIX files such as line breaks!

Once you have downloaded the file descriptor, you should be able to create a clone using the:

vmkfstools-i w2k3_xxxxxx - 000004.vmdk w2k3_xxxxxx_clone.vmdk

BTW, the .vmsn and the files... - ctk.vmdk can be deleted.

André

Tags: VMware

Similar Questions

  • VMWare snapshot problem

    I recently upgraded a server, but before that, I took a snapshot of vmware. I waited a few days to make sure that the server has been run correctly after the upgrade. Appearantly, the snapshot has filled the VM disk. I was unable to start. I deleted the snapshot, but who did not free disk space (at least not yet and it has been more than an hour). I could so he can start by reducing the amount of RAM by using the virtual machine was, but I REALLY need the free disk space. How can I get this free disk space faster. Is there something I can manually remove? Thanks for any advice.

    The speed depends on the workload disks and the speed of storage itself. If there is for example a local RAID running on a memory controller cache write-back, this may take a few hours. Anything that helps is to be patient.

    ... and I tried 2 times today

    Once started the process on the ESXi host races and you shouldn't try to start a second time. This could cause problems!

    André

  • VMware ESXi 4.1.0 and snapshot problem - no disk space

    Hi all

    We now have a big problem with our free space on the disk. We are using VMware vSphere (vSphere Client ver 4.1.0 and VMware ESXi ver 4.1.0):

    Our vm has 2 HDD (500 GB, 1 TB). Now we have only 20 GB of free disk 1 and several snapshot files. To remove the snapshot, we need more than 20 GB of free space (corect?). What we need to do more free space? We can move snapshot files from the first disk to the second disk?

    vmware_1.png

    snapshot.png

    Thanks for any help

    concerning

    Dragan

    First of all, you can redirect your new snapshot on another store/disk as explained in this article "http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002929".

    Secondo, you can delete snapshot older and smaller but not all together as explained in this article by Duncan Epping "http://www.yellow-bricks.com/2008/01/07/delete-all-snapshots/."

    Alex

  • Result of Get-Snapshot problem

    Hi all

    I have a problem with a script. I use Get-Snapshot on vCenter, but the result seems wrong.

    The result of the return 20501,03 Mo command but on the LUN, the size is 3671040 + 17408

    My second problem with the command is the location of the snapshot. If the snapshot is not located in the directory of the virtual machine (workingdir is used on the vmx file), the command returns-1.

    The command works well?

    Thank you

    Olivier

    I can confirm that there are indeed some problems with the cmdlet Get-Snapshot.

    Note that the data store Navigator doesn't tell you the full story either.

    It does not show - flat files and - delta you see when the console files or an SSH session.

    ____________

    Blog: LucD notes

    Twitter: lucd22

  • Very new to Vmaware take snapshot problems and a break

    Installed windox xp fine takes a snapshot very well now, I installed some printer drivers and when I try to take a picture or take a break I get the below error.
    VMware is running from a laptop pilot with plenty of room on the driver and space allotted.
    Error in taking the snapshot: failed to save the State of the virtual machine. The State of this virtual machine may be registered only on a file system that supports senior 8,133 GB files.
    The underlying file system only supports files up to 2 GB.
    Error occurred when saving file snapshot ' O:\Windows XP Professional - Snapshot2.vmsn.

    What file system on this portable device do you use? -FAT32?
    If Yes, consider changing to NTFS

  • Snapshoting problem?

    I currently put in place so that they have a secondary virtual disk which them are attached to virtual machines, this drive is on a separate NFS on the primary virtual disks datastore.

    When I take a snapshot of the virtual machine, it creates a new virtual disk on the data store main nfs and makes the secondary virtual disk. The original vmdk file remains on secondary data store. Is this normal? I really don't want to do.

    Thank you

    Rob

    by default, then snapshot will be created in the same folder where the files reside dishes orginal. If don't need to worry about this.

    Snapshot creates a new delta file for each flat vmdk file in the same folder where and keep any data store. But when you delete the snapshot, it engages in the same folder again.

    AM,

    If you have found my reply to be useful, feel free to mark it as useful or Correct.

    The latest articles and articles about Virtualization:

    http://communities.VMware.com/blogs/amodi

    http://vsolutions.compare2shop.com

  • VCB snapshot problem

    Hello

    We lack ESX 3.5 - U3, VC 2.5 - U3 and VCB 1.5 framework. VCB framework is installed on the server of the VC (physical windows 2003 host). When I'm connected to the VC via the VI client, I right click on my blackberry VM running Windows 2003 32 bit - Standard Edition and don't take a picture of him OK no probs.

    However, when I run the command directory c:\program files\vmware\VCB framework vcbmounter, it tries to create a snapshot, and eventually times out. My VI client, I see the task of "Creating the Flash Virtual Machine" and after 15 minutes, he said "Operation timed out".

    ESX Server hosting the virtual machine then has an alarm indicating "unable to apply settings of DRS resource to host & lt; esx host name & gt;... Operation failed because another task is ongoing." I end up having to shut down the VM, migrate to another ESX host and restart the ESX host with this error, and he returned to the top of.

    This blackberry VM was P2V would use VMware Conveter successfully. I am able to successfully do this vcbmounter on other virtual machines that have been created from scratch eithyer or deployed from templates.

    Any ideas?

    Yes. This is exactly the case.

    Dave

    ************************

    The surest way for the world to be destroyed, most experts agree, is by accident. That's where we come in; We are the professionals. Cause us accidents.

    Nathaniel Borenstein

  • Problem with deletion of snapshots

    Hello

    I have a problem with deletion of snapshots for virtual machine running on ESXi 3.5. I had a problem with the lack of free space on the drive where VM is hosted. I managed to free up space and wanted to commit snapshots (delete) to free additional space. Unfortunately, at the time of the withdrawal of clichés that I ran out of space again on this store now I'm stuck with clichés present in the store but not visible in the Snapshot Manager.

    Any suggestions on how I can get rid of these pictures now? All I can think is move VM converter of this virtual machine to a new one.

    Thanks, Marcin

    The reason that you ran out of space is the way a "Delete All" is handled.

    I guess in your case a 'Delete All' may temporarily need up to approximately 115 GB of additional disk space. Troubleshooting VM snapshot problems perfectly describes the process. Take a look at the animation in the "process behind 'Remove all' snapshots '.

    So what you can do is:

    -Free up enough space, create another cliché, and then do a "Delete All".

    -Cold clone or V2V the VM in another data store

    -Recreate the vmsd file based on the instantaneous channel from the header vmdk files and delete the snapshots one by one starting with the first (oldest) snapshot. If you want to try this make sure you fully understand other snapshots that it will end in the corruption of data!

    Due to the size and the possible impacts on the storage I recommend doing this during peak hours and with the virtual machine shut down.

    If you have a different available datastore (~ 300GB), I would recommend cloning. This does not affect the original files in case something goes wrong. If the clone works, you can safely remove the "old" VM and files and migrates the virtual computer is back to datastore original.

    André

  • Delete all snapshots completely hosed my server

    I have a server ESXi 5, a 750 GB (698GB or so, is usable) local data store, quad Xeon, and 16 GB of RAM. There are two vm (s) - we're a firewall which takes about 10 GB (20 has been allocated) and the other is an Exchange Server that has 500 GB allocated was almost complete with the exception of about 10 GB. Both have been implemented using thin provisioned disks. There are also approximately 4 or 5 pictures taken of the Exchange virtual machine. Thinking that I had to delete the snapshots before you try to resize the virtual drive of 500 GB, I hit the button Delete button instant everything. All the snapshots have been removed from the list and then I could not start the virtual machine due to the lack of storage. He said that nearly 698 GB has been awarded! Then I deleted the tiny snapshots for virtual firewall machine and was able to boot the virtual machine Exchange. After doing a little housekeeping on the vm changes that I stopped him. Try to solve the delete all snapshots problem, I tried the "consolidate all snapshots' option. After several hours of waiting it failed due to lack of space. So, I thought I would reboot the physical machine to see if that helped. When he returned he showed that TB 1.4 or so, space has been allocated! And I could not start anything. Then I ran down to the server room, installed a 750 GB extra hd and started trying to move the virtual machine to empty disk. Well, who seems to have been an even worse mistake to delete all snapshots. Not only this process fails, but now the new hd (datastore2) is completely filled and the original datastore1 has about 132 GB free. The problem with this is that the virtual machine is now spread over these two data stores. Now, I've added another store of data via nfs (nfsdatastore) that has free 2.6 TB and I'm currently copy the entire contents of datastore2 via the cp command in a terminal (ssh remotely controlled).

    Any help would be greatly appreciated.

    OK, so let's try to clone the virtual disk in the NAS data store. Please follow the steps below and ask if there is something you don't understand or something does not work as expected.

    • Create a new folder on your NAS "UDT-MX09-EPSI" data store
    • from archive attached extracts "UDT MX09 (Exchange EPSI) .vmx" to this new folder
    • move 'UDT MX09 (Exchange EPSI)-000004.vmdk' to "datastore2/UDT-MX09-EPSI" on "datastore1/UDT-MX09-EPSI-2".
    • move 'UDT MX09 (Exchange EPSI)-000005.vmdk' to "datastore2/UDT-MX09-EPSI" on "datastore1/UDT-MX09-EPSI-2".
    • from archive attached extracts "UDT MX09 (Exchange EPSI)-000003.vmdk" "datastore1/UDT-MX09-EPSI-2"replaces the existing file.
    • from the command line run:
      "vmkfstools-i" / vmfs/volumes/datastore1/UDT-MX09-EPSI-2/UDT MX09 (Exchange EPSI)-000004.vmdk "" / vmfs/volumes/nfsdatastore/UDT-MX09-EPSI/UDT MX09 (Exchange EPSI) hard. "

    If cloning is successful, do a right-click the virtual machine in the inventory and select 'Remove inventory', then - using the browser from data store - click with the right button on the .vmx file in the folder of the virtual machine on the NAS data store and select "add to the inventory. When you start the virtual computer you may be asked if you have moved or copied the VM. Make sure you select that "I moved it.

    André

    Post edited by: a.p. - deleted '-delta "(error in copy & paste) vmkfstools command

  • Cannot snapshot a virtual machine

    We run a virtual machine on one of our ESX (vSphere 4 Standard) host in a taking snapshots problem. We get the lovely 'operation is not allowed in the current state' and that's what keeps us save the machine through Veeam. I see a lot of messages for this error but found no which dealt specifically on taking snapshots suggesting just reboot the box. It is a production server, and I was hoping to avoid that if possible. I was wondering if anyone has any ideas or clues as to what might be wrong.

    Thank you in advance and here is the message from the vSphere client securely reproducible we get immediately after the launch of the snapshot.

    Create instant virtual computer
    Annex
    The
    the operation is
    not allowed
    in the
    current state
    .
    RX\tmunn
    vCenterSvr.rx.umaryland.edu
    04/03/2011 09:04:06
    04/03/2011 09:04:06
    04/03/2011 09:04:07

    Thank you

    Tim Munn

    University of Maryland, school of Pharmacy

    As you have mentioned, an interesting question

    Maybe something was wrong with the virtual machine when reinstalling vCenter. What I would try to do, is to stop the virtual machine, remove the inventory, (do not drive - remove would probably also solve the problem of the snapshot, but certainly not a way you satisfied), remove the ctk file (this serves to changed block tracking and will be recreated when the next backup/snapshot) and then add the virtual machine to inventory again by right-clicking the vmx file. Once that is done, try to set the "Client" virtual CDROM dirve If it works, you may need to reconfigure this machine virtual of Veeam backup too.

    André

  • Disks of the virtual machine consolidation is necessary - vCenter 5.1 U1 + ESXi 5.1 + VDP 5.8.0

    Hello

    I am facing problem as many other people do, when snapshot is deleted, the delta files are still there and warning message "consolidation of disks of virtual machines is necessary" is shown on the virtual machine.

    It happened only few but try to find the root cause. He arrived only on virtual machine located on ESXi 5.1 build 799733 which is located in the task of the WTP 5.8.0 backup.

    Is this snapshot problem, a bug in the version of ESXi?

    Unable to find the release notes, where this is documented as bug.

    Thank you

    Finally, I found a reason, therefore, for other users... ESXi 5.1 build 799733 has a bug that is resolved in the update 1 and higher and is connected to the suspended snapshots created by POS, that is why are there so many discs of delta.

    ESXi 5.1 Update 1 Release Notes

    • When the slowdown of snapshot fails the redo logs are not consolidated

      • When you try to take a snapshot of the suspension of a virtual machine, if the snapshot operation fails near the end of its realization, recovery logs created as part of the snapshot are not consolidated. Recovery logs can consume a lot of space to store data.
      • This issue is fixed in this version. If the snapshot suspended operation fails, the redo log files are consolidated.
  • Best practices for large virtual disk

    I would add a large virtual disk (16 TB) to use as a backup storage and ideally thin to allow potential available use of, at least initially, a lot of free space.  Headache is the limit of 2 TB for virtual disks in ESXi 5.

    I know that you can extend 2 TB virtual disks in the operating system (win 2008 r2, in this case).  But is it a good idea?  The underlying array is raid 6, so I guess it's safe, but it sounds at least potentially worriesome me on 8 discs.  Not a matter of concern?

    Performance?

    RDM is less flexible and might be impossible (matrix raid is local).

    Anyone have any suggestions on the best practices here?  What would you do?

    I do not recommend the use of the plan span for the file VMDK disks a bad 2 TB and its all parties (several ways that I saw - snapshot problems, corruption etc.)

    Because they are still local drives, you lose flexibility everything that I recommend using RDM.

    A huge ROW for this virtual machine.

    http://blog.davidwarburton.NET/2010/10/25/RDM-mapping-of-local-SATA-storage-for-ESXi/ This departure to configure it.

    As for what I would do, I've done this before and I used RDM, just for 8TB but still.

  • Loss of confusion concerning the data on the virtual disk in VMWare

    The evening

    Excuse the amateurism, but I'm looking for help with a problem I have with a virtual machine.

    I created a Virtual Machine with a virtual disk of fixed size for use as a LAMP (in this case, Ubuntu 9.10) development environment. I have used this in the course of nearly a year and have taken quarterly snapshots, or before, I did something stupid to the BONE. So far we five snapshots and a clone that I got a month ago.

    Recently, I created an another VM to install the configuraiton of LIGHT even on Ubuntu 10.04 (I wanted a new installation).  I didn't know it was a bad idea in time, so I created a second disk on the VM 10.04 and mounted the main drive of the virtual machine 9.04. Obviously, 10.04 altered the disc somehow, as I had received the "+ the Ramdisk parent has changed since the child was.

    created. + "error every time I tried to start it.

    After several unsuccessful attempts to try to find a recent clone, I created a new virtual machine and up from 9.04 virtual disk. However, from the start of this virtual machine, I went back to, what I believe to be, the first State of the virtual machine before snapshots. However, it is also possible that I lost the correct VM while trying to find a recent clone (of course, I hope it's a snapshot problem and not a problem of stupidity).

    My question is, is - it possible that the disc that I mounted does not take into account my snapshots?

    See http://sanbarrow.com/vmdk-errors.html#e4 for an explanation of the error and some tips how to fix it.

    If in doubt ask before doing anything more that could "destroy" the disc.

  • Problem with the Auto-Snapshot manager after domain change

    Hello

    I have a client with a FailoverCluster Hyper-v and CSV.

    They recently changed their internal domain name, and since then, they have problems connecting to the PS Group in the Auto-snapshot Manager.

    I get an error saying:

    An error occurred processing action: Discovery.
    An exception was thrown by the target of a call.

    I hope someone can point me in the right direction :)

    Anders

    I suspect that your iSCSI initiator has problems connecting to volumes - and your problem is, in fact, isolated ASM / me.  Check the RUNAS account used on the services of the DSO to ensure that they use the appropriate domain credentials.

  • Problems capturing pictures about OS6 - East System.getProperty ("video.snapshot.encodings"); valid?

    Hello

    I hope someone can help with this query.

    I use the code that is very similar to the sample application camerademo to take a photo using the camera. It works properly on devices running OS5. However, on devices running OS6 photo is just an image of white/black.

    I think I followed the problem until the encoding string passed to getSnapshot(). When I switch which must be a valid encoding string (based on the output of System.getProperty ("video.snapshot.encodings")) the captured image is a black screen. However, when I pass null to getSnapshot() it works correctly. I want to avoid using null as the captured image is much more that I need and for reasons of effectiveness, I would like to avoid having to reduce its size after the capture of the photo.

    I tested this on the 9780 Simulator. The corresponding code is included below for reference.

    Thanks in advance!

    /*
     * CameraDemo.java
     *
     * Copyright © 1998-2008 Research In Motion Ltd.
     *
     * Note: For the sake of simplicity, this sample application may not leverage
     * resource bundles and resource strings.  However, it is STRONGLY recommended
     * that application developers make use of the localization features available
     * within the BlackBerry development platform to ensure a seamless application
     * experience across a variety of languages and geographies.  For more information
     * on localizing your application, please refer to the BlackBerry Java Development
     * Environment Development Guide associated with this release.
     */
    
    package com.rim.samples.device.camerademo;
    
    import java.util.Vector;
    
    import javax.microedition.amms.control.camera.CameraControl;
    import javax.microedition.media.Manager;
    import javax.microedition.media.Player;
    import javax.microedition.media.control.VideoControl;
    
    import net.rim.device.api.system.Characters;
    import net.rim.device.api.ui.Field;
    import net.rim.device.api.ui.Keypad;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.Dialog;
    import net.rim.device.api.ui.component.RichTextField;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.util.StringUtilities;
    
    /**
     * A sample application used to demonstrate the VideoControl.getSnapshot()
     * method. Creates a custom camera which can take snapshots from the
     * Blackberry's camera.
     */
    final class CameraDemo extends UiApplication
    {
        /** Entry point for this application. */
        public static void main(String[] args)
        {
            CameraDemo demo = new CameraDemo();
            demo.enterEventDispatcher();
        }
    
        /** Constructor. */
        private CameraDemo()
        {
            CameraScreen screen = new CameraScreen();
            pushScreen( screen );
        }
    }
    
    /**
     * A UI screen to display the camera display and buttons.
     */
    final class CameraScreen extends MainScreen
    {
        /** The camera's video controller. */
        private VideoControl _videoControl;
    
        /** The field containing the feed from the camera. */
        private Field _videoField;
    
        private Player player;
    
        /** An array of valid snapshot encodings. */
        private EncodingProperties[] _encodings;
    
        /**
         * Constructor. Initializes the camera and creates the UI.
         */
        public CameraScreen()
        {
            //Set the title of the screen.
            //setTitle( new LabelField( "Camera Demo" , LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH ) );
    
            //Initialize the camera object and video field.
            initializeCamera();
    
            //Initialize the list of possible encodings.
            initializeEncodingList();
    
            //If the field was constructed successfully, create the UI.
            if(_videoField != null)
            {
                createUI();
            }
            //If not, display an error message to the user.
            else
            {
                add( new RichTextField( "Error connecting to camera." ) );
            }
    
        }
    
        /**
         * Adds the VideoField and the "Take Photo" button to the screen.
         */
        private void createUI()
        {
            //Add the video field to the screen.
            add(_videoField);
    
        }
    
        /**
         * Initializes the Player, VideoControl and VideoField.
         */
        private void initializeCamera()
        {
            try
            {
                //Create a player for the Blackberry's camera.
               player = Manager.createPlayer( "capture://video" );
    
                //Set the player to the REALIZED state (see Player docs.)
                player.realize();
    
                //Grab the video control and set it to the current display.
                _videoControl = (VideoControl)player.getControl( "VideoControl" );
    
                if (_videoControl != null)
                {
                    //Create the video field as a GUI primitive (as opposed to a
                    //direct video, which can only be used on platforms with
                    //LCDUI support.)
                    _videoField = (Field) _videoControl.initDisplayMode (VideoControl.USE_GUI_PRIMITIVE, "net.rim.device.api.ui.Field");
                    //Display the video control
                    _videoControl.setDisplayFullScreen(true);
                    _videoControl.setVisible(true);
                }
    
                //Set the player to the STARTED state (see Player docs.)
                player.start();
    
            }
            catch(Exception e)
            {
                Dialog.alert( "ERROR " + e.getClass() + ":  " + e.getMessage() );
            }
        }
    
        /**
         * Create a screen used to display a snapshot.
         * @param raw A byte array representing an image.
         */
        private void createImageScreen( byte[] raw )
        {
            //Initialize the screen.
            ImageScreen imageScreen = new ImageScreen( raw );
    
            //Push this screen to display it to the user.
            UiApplication.getUiApplication().pushScreen( imageScreen );
        }
    
        /**
         * Handle trackball click events.
         * @see net.rim.device.api.ui.Screen#invokeAction(int)
         */
        protected boolean invokeAction(int action)
        {
            boolean handled = super.invokeAction(action); 
    
            if(!handled)
            {
                switch(action)
                {
                    case ACTION_INVOKE: // Trackball click.
                    {
                    try
                    {
                        //A null encoding indicates that the camera should
                        //use the default snapshot encoding.
                        String encoding = null;
    
                        // All the below result in a black screen being captured on OS6 devices
                        // encoding = "encoding=jpeg&width=1024&height=768";
                        // encoding = "encoding=jpeg&width=1024&height=768&quality=superfine";
                        // encoding = _encodings[1].getFullEncoding();
                        // Null works but the image captured is large (~1MB)
                        encoding = null;
    
                        //Retrieve the raw image from the VideoControl and
                        //create a screen to display the image to the user.
                        createImageScreen(_videoControl.getSnapshot(  encoding ) );//null works
                    }
                    catch(final Throwable e)
                    {
                        UiApplication.getUiApplication().invokeLater(new Runnable()
                        {
                            public void run()
                            {
                                Dialog.alert( "ERROR " + e.getClass() + ":  " + e.getMessage() );
                            }
                        });
                    }
    
                        return true;
                    }
                }
            }
            return handled;
        }
    
        /**
         * Prevent the save dialog from being displayed.
         * @see net.rim.device.api.ui.container.MainScreen#onSavePrompt()
         */
        public boolean onSavePrompt()
        {
            return true;
        }
    
        /**
         * Initialize the list of encodings.
         */
        private void initializeEncodingList()
        {
            try
            {
                //Retrieve the list of valid encodings.
                String encodingString = System.getProperty("video.snapshot.encodings");
    
                //Extract the properties as an array of words.
                String[] properties = StringUtilities.stringToKeywords(encodingString);
    
                //The list of encodings;
                Vector encodingList = new Vector();
    
                //Strings representing the four properties of an encoding as
                //returned by System.getProperty().
                String encoding = "encoding";
                String width = "width";
                String height = "height";
    
                EncodingProperties temp = null;
    
                for(int i = 0; i < properties.length ; ++i)
                {
                    if( properties[i].equals(encoding))
                    {
                        if(temp != null && temp.isComplete())
                        {
                            //Add a new encoding to the list if it has been
                            //properly set.
                            encodingList.addElement( temp );
                        }
                        temp = new EncodingProperties();
    
                        //Set the new encoding's format.
                        ++i;
                        temp.setFormat(properties[i]);
                    }
                    else if( properties[i].equals(width))
                    {
                        //Set the new encoding's width.
                        ++i;
                        temp.setWidth(properties[i]);
                    }
                    else if( properties[i].equals(height))
                    {
                        //Set the new encoding's height.
                        ++i;
                        temp.setHeight(properties[i]);
                    }
                }
    
                //If there is a leftover complete encoding, add it.
                if(temp != null && temp.isComplete())
                {
                    encodingList.addElement( temp );
                }
    
                //Convert the Vector to an array for later use.
                _encodings = new EncodingProperties[ encodingList.size() ];
                encodingList.copyInto((Object[])_encodings);
            }
            catch (Exception e)
            {
                //Something is wrong, indicate that there are no encoding options.
                _encodings = null;
            }
        }
        protected  boolean keyDown(int keycode,
                               int time) {
            System.out.println("Input" + keycode + "/" + Keypad.key(keycode) + " C1 = " + Keypad.KEY_CONVENIENCE_1 +  " C2 = " + Keypad.KEY_CONVENIENCE_2);
            if ( Keypad.key(keycode) == Keypad.KEY_CONVENIENCE_1 ) {
                return true;
            }
            return super.keyDown(keycode, time);
        }
    
            protected  boolean keyChar(char c, int status, int time) {
                System.out.println("Input" + c + ":" + Keypad.getKeyCode(c, status));
                switch (c) {
                    case Characters.ESCAPE:
                        this.close();
                        return true;
                    default:
                        return super.keyChar(c, status, time);
                }
    
            }
    }
    

    Thanks for getting back to me.

    It turns out that it was only a problem on the Simulator. I managed to get my hands on a real device 9780 and the code works fine on it.

Maybe you are looking for

  • Satellite Pro M40: crackling sound appears

    Every two days, I have reinstall my sound card, as it begins to do horrible distorted, scraping noises. Curiously, Media Player plays very well, but other things - Windows sound effects, games - making that horrible noise. Receive the latest drivers.

  • L50-B-2FH satellite: how update of SSD?

    Hello I want to upgrade my laptop by replacing the built-in SSD existing (THNSNJ256GMCU) by a more large (for example Samsung 850 Pro or Evo). What soccet is installed on the motherboard (mSATA or SATA)? What drives could mount mechanical size-perspe

  • Problems mouse while playing games.

    I used to run windows vista 64 bit home premium on this laptop, but since the upgrade to windows 7 64 home premium, I noticed problems with my mouse.  Especially while I am playing a game, he will have those moments where the mouse will become either

  • I recently deleted nvidea by mistake and now I don't have a sleep mode

    When I stop or quit for awhile, sometimes I just want to leave the computer to sleep. I don't have this option. WTH

  • Computer needs a new recovery disk, but none is available.

    Our computer (desktop Compaq Presario SR2010NX PC) was recently taken to Best Buy to get fixed because the computer does not illuminate. They told us that he had to use the recovery for Windows Xp home edition disk to repair the computer. We have not