Error creating image

Im getting error when trying to create an image from array
when i am reading the image as array from the network
public void write(OutputStream out) throws IOException{
    DataOutputStream dout = new DataOutputStream(out);
    //Write mood name
    dout.writeUTF(m_moodName);
    if(m_img == null){
      //Write there is no image
      dout.writeBoolean(false);
    }else{
      //Write there is image
      dout.writeBoolean(true);
      PngEncoder pngEncoder = new PngEncoder(m_img);
      byte[] array = pngEncoder.pngEncode();
      //Write the array length
      dout.writeInt(array.length);
      //Write the array
      dout.write(array);
      dout.flush();
  public void read(InputStream in) throws IOException{
    DataInputStream din = new DataInputStream(in);
    //Read mood name
    m_moodName = din.readUTF();
    //Read if there is image
    boolean bool = din.readBoolean();
    if(bool == true){
      //Read byte array length
      int length = din.readInt();
      byte[] array = new byte[length];
      //Read to byte array
      din.readFully(array);
      m_img = Toolkit.getDefaultToolkit().createImage(array);
  }This is the exception that i am getting
Uncaught error fetching image:
java.lang.NegativeArraySizeException
     at sun.awt.image.PNGImageDecoder.produceImage(Unknown Source)
     at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
     at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
     at sun.awt.image.ImageFetcher.run(Unknown Source)I am getting this error from this line... (i think)
m_img = Toolkit.getDefaultToolkit().createImage(array);and here is PNG encoder that i am using
http://catcode.com/pngencoder/
please help...
shay

There are many possible reasons, for example:
- pngEncoder produces wrong result.
- byte array is corrupted on transition.
I'd suggest to save this byte array as file and check if this image can be open by any image viewer.
Also, it seems Image I/O is applicable in your scenario.
Consider using it because it is recomeded API to work with images nowadays
(unless you have something ImageIO can not handle, e.g. animated images)

Similar Messages

  • Error creating //image file

    I don't know if anyone out there is still getting this error message, but I have found that by simply removing the "/" in the FTP dialog box under "host directory" your problem is solved. Apparently Muse adds the "/" and if you have one in the dialog box, there will be two instead of one causing the error. I am not a tech and just discovered this fix. Hope it helps!

    Hi Hollie, and welcome to the forums!
    Have you created images before successfully?
    Is this to/on your boot drive, or an external drive?
    Have you done any Disk/OS maintenance lately?
    We might see if there are some big temp files left or such...
    How much free space is on the HD, where has all the space gone?
    OmniDiskSweeper is now free, and likely the best/easiest...
    http://www.omnigroup.com/applications/omnidisksweeper/
    WhatSize...
    http://www.macupdate.com/info.php/id/13006/
    Disk Inventory X...
    http://www.derlien.com/
    GrandPerspective...
    http://grandperspectiv.sourceforge.net/

  • Error Creating Image of HDD Mountain Lion

    I am encountering a strange issue while trying to create a backup image of my Macbook Pro hard drive. I am using a 2012 Macbook Pro retina with OS X 10.8.4. I am booting into recovery mode and trying to create an image but I get Error -61 every time. The steps I followed are below.
    Connected 1.5 TB external hard drive via USB
    Booted into recovery mode by holding Command + R on boot
    Opened Disk Utility
    Select Macintosh HD
    Clicked Verify Disk (no issues were found)
    Clicked New Image button
    Named the image and set the destination to my External hard disk
    Hit Save (this is where error -61 gets triggered)
    From what I gathered error -61 is related to permission issues. The external harddrive I am using is formated in NTFS. I suspect that may be the issue but I thought OS X has full support for NTFS at this point, or at least I hope so considereing Linux has had it for a few years now and NTFS is extremely popular considering Windows still dominates the desktop market. Do I really need to use a disk formated in FAT32 or OS X's native file system? I thought I would ask before I start messing with disk partitions.

    greyfox55 wrote:
    I am encountering a strange issue while trying to create a backup image of my Macbook Pro hard drive. I am using a 2012 Macbook Pro retina with OS X 10.8.4. I am booting into recovery mode and trying to create an image but I get Error -61 every time. The steps I followed are below.
    Connected 1.5 TB external hard drive via USB
    Booted into recovery mode by holding Command + R on boot
    Opened Disk Utility
    Select Macintosh HD
    Clicked Verify Disk (no issues were found)
    Clicked New Image button
    Named the image and set the destination to my External hard disk
    Hit Save (this is where error -61 gets triggered)
    From what I gathered error -61 is related to permission issues. The external harddrive I am using is formated in NTFS. I suspect that may be the issue but I thought OS X has full support for NTFS at this point, or at least I hope so considereing Linux has had it for a few years now and NTFS is extremely popular considering Windows still dominates the desktop market. Do I really need to use a disk formated in FAT32 or OS X's native file system? I thought I would ask before I start messing with disk partitions.
    OSX does not have write support for NTFS.

  • Windows 7 Error Creating Image

    I tried to create an image of my computer and save it to a 1TB external hard drive.  It is a brand new external hard drive, and the only other thing on it is a backup of the files on my computer.  The process almost finishes, but then an error
    appears, saying:
    "The backup failed.
    The operation failed due to a device error encountered with either the source or the destination.  If the source or destination volume is on a disk, run CHKDSK/R on the source or destination volume, and then retry the operation. (0x80708012D).
    Additional Information: The request could not be performed because of an I/O device error. (0x8007045D)".
    I tried restarting my computer, connecting the external hard drive to a different USB port, reformatting the external hard drive, turning off my antivirus and running CHKDSK on the external hard drive.  Every time, I still get the same
    error.  What is causing this error? Is there something else that I can try?
    Thank you for any suggestions!

    I tried restarting my computer, connecting the external hard drive to a different USB port, reformatting the external hard drive, turning off my antivirus and running CHKDSK on the external
    hard drive.
    You must also run chkdsk /R on your internal drives.
    There is no need to wipe your internal drive.
    There is no need to wipe the external drive either since you just formatted it.
    I advise against using the diskpart.exe tool. If you make one slight mistake then you will wipe your internal disk.
    I used this phrase on Google to find out more about your problem:
    "The request could not be performed because of an I/O device error" 0x8007045D
    and found
    this promising link.

  • Netinstall error: There was an error creating the image

    I am using Mac OS X Server 10.4.11 and trying to create a NetInstall Image using the System Image Utility 10.4.11. The .dmg image that I am using is a Mac OS X 10.5.6 version. After completing all the steps in Sys Image Itil it iteventually gives me the following error: There was an error creating the image.
    And indicates: error creating image and when I use this NetInstall image the client goes in an eternal reboot.
    It is very frusterating since I was able to make a netinstall image using a dmg from a Mac OS X 10.4 version and I was able to do a complete successful Netinstall. Anybody knows why and how to solve this error.

    Hi
    Mount the .dmg and launch SIU. If it's a valid image it should appear sandwiched between Sources and Workflows. Same process for a client mac connected via firewire or a bootable Installer Disk. Click on it and select NetInstall or NetBoot depending on what you want. You should be presented with Apple's EULA, click Yes/OK and save it to the appropriate folder assuming you've done the necessary in Server Admin. The Admin Manual is actually not too bad:
    http://images.apple.com/server/macosx/docs/SystemImaging_and_SW_Update_Adminv10.5.pdf
    No need to worry about index numbers either as it does it all for you. It's actually a lot easier than 10.4. Bear in mind if you want to customize the image you have to do it at this stage. You can't go back and edit/customize the nbi once it's created.
    You might want to consult the other documentation available for 10.5 Server here:
    http://www.apple.com/server/macosx/resources/
    Tony

  • Ovmtb modifyjeos error while creating image

    hello,
    i have a problem: my OS: OEL5u6
    i installed ovmtb without erros. now i want to create vm-image. but just an error occurs:
    log in ovmtb webinterface:
    Running command: modifyjeos -dir /opt/ovmtb/builds/project_6 -i EL53_i386_PVM_jeos -n dfdfd -mem 512 -cpu 1 -S 512 -I 1024
    Please wait while VM image is being instantiated...
    Depending on your system this can take a few minutes!
    Mounting VM image...
    Unmount VM image...
    ERROR: Serious internal error...
    Please collect all logs and file a SR!
    ERROR creating JeOS image files...
    so i open a cli and tried it manually:
    cli:
    [root@juri jeos]# modifyjeos -i EL52_i386_PVM_jeos -n juri -dir /jeos -S 512 -cpu 2 -mem 2048 -nogpg
    folder jeos exists with all permissions (chmod 777 jeos)
    but just an error:
    [root@juri jeos]# modifyjeos -i EL52_i386_PVM_jeos -n juri -dir /jeos -S 512 -cpu 2 -mem 2048 -nogpg
    Please wait while VM image is being instantiated...
    Depending on your system this can take a few minutes!
    Mounting VM image...
    Configuring SElinux for: permissive
    Unmount VM image...
    ERROR: Serious internal error...
    Please collect all logs and file a SR!
    ERROR creating JeOS image files...
    so i took a look into /var/log/modifyjeos.log
    modifyjeos.log
    modifyjeos version 1.1.0-2 starting
    Creating device maps for the VM image...
    Setting up local loopback device for 'System.img'...
    Mounting VM image...
    Configuring SElinux for: permissive
    Unmount VM image...
    Unmounting product images:
    Call error: ResizeImageFile 'System.img' '512' '0' 'Benutzt' '516853760'
    Call stack: ResizeImageFile main main
    Unmount VM image...
    Unmounting product images:
    Removing device maps ('', '')...
    ERROR creating JeOS image files...
    modifyjeos version 1.1.0-2 ending with exit code 1
    i also tried it with different parameter e.g.
    [root@juri jeos]# modifyjeos -i EL55_i386_PVM_jeos -n juri -T 10240 -mem 2048 -cpu 2 -nogpg
    but same result:serious internal error
    i dont know what to do? can anybody help me?
    thanks in advance
    kind regards
    juri

    Hi,
    due to this line: "Call error: ResizeImageFile 'System.img' '512' '0' 'Benutzt' '516853760'" I assume your OS you installed ovmtb on is running in German. Correct?
    If that is so, I can imagine that maybe the modifyjeos command may have problems with the language settings.
    How is you LANG variable set?
    Try setting it to LANG=en_US.UTF-8 and try again.
    Otherwise I fear you shoudl try with an english installed OS.
    Regards
    Sebastian

  • Failed (why else would I post). Error creating an image of Drive D:, rc = 2. Return Code -2147467259 0x80004005. "Not enough storage is available to process this command".

    Seems a common set of Return Codes to post so apologies that's not specific.
    To me appears the issue is related to the "Not enough storage is available to process this command" log entry. Looked into it and some SCCM 2007 issues that were related to too many sessions to the site server, but even after rebooting my MDT server
    I get the same issue.
    The server I am attempting to capture has a 60gb VHD with around 30gb actually used. The MDT Server has over 100GB free space.
    Here is from BDD.log:
      Console > Turning on VERIFY option for network share
    ZTIBackup 10/10/2014 12:56:30 PM
    0 (0x0000)
      Console > Scanning files and directories...
    ZTIBackup 10/10/2014 12:56:30 PM
    0 (0x0000)
      Console > Error imaging drive [D:\]
    ZTIBackup 10/10/2014 12:56:30 PM
    0 (0x0000)
      Console > Not enough storage is available to process this command.
    ZTIBackup 10/10/2014 12:56:31 PM
    0 (0x0000)
    Return code from command = 2 ZTIBackup
    10/10/2014 12:56:31 PM 0 (0x0000)
    Error creating an image of drive D:, rc = 2
    ZTIBackup 10/10/2014 12:56:31 PM
    0 (0x0000)
    Event 41036 sent: Error creating an image of drive D:, rc = 2
    ZTIBackup 10/10/2014 12:56:31 PM
    0 (0x0000)
    ZTIBackup COMPLETED.  Return Value = 2
    ZTIBackup 10/10/2014 12:56:32 PM
    0 (0x0000)
    ZTI ERROR - Non-zero return code by ZTIBackup, rc = 2
    ZTIBackup 10/10/2014 12:56:32 PM
    0 (0x0000)
    Event 41002 sent: ZTI ERROR - Non-zero return code by ZTIBackup, rc = 2
    ZTIBackup 10/10/2014 12:56:32 PM
    0 (0x0000)
    Command completed, return code = -2147467259
    LiteTouch 10/10/2014 12:56:33 PM
    0 (0x0000)
    Litetouch deployment failed, Return Code = -2147467259  0x80004005
    LiteTouch 10/10/2014 12:56:33 PM
    0 (0x0000)
    Event 41014 sent: Litetouch deployment failed, Return Code = -2147467259  0x80004005
    LiteTouch 10/10/2014 12:56:33 PM
    0 (0x0000)
    I'll post below full logs.

    imagex reported:
      Console > Error imaging drive [D:\]
      Console > Not enough storage is available to process this command.
    obvious question is: do you have enough free space on
    "\\arcadmin3\deploymentshare$\Captures\SIMSERVER.wim"
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

  • Error message when trying create image from RAID

    I am trying to backup my RAID (697 GB) by creating an image (Disk Utility) on an external firewire drive. The settings are Read Only - I get an error message "image/device is too large"
    Is my RAID too large at 697GB to create an image?
    Thanks,
    Steven
      Mac OS X (10.4.3)  

    You have all 4 drives striped on the external drive?
    I'm not sure it will work -- an image may need to have 2x its actual size during creation. I'd have to check to be 100% sure.
    I think, though, it would be a lot better if you just did a pure "dupe," of the files from one volume onto another, rather than creating an image. It will be a ton easier.

  • Error creating a netboot image with System Image Utility

    Hi all !
    I am trying to create a NetBoot image from my Panther CD, to boot an old iBook.
    I am using System Image Utility version 10.4.11.
    I can create a NetInstall image, but when I create a NetBoot image SIU give me an error.
    I looked in the logs and I can see the error is generated by the script Applications/Server/System Image Utility.app/Contents/Resources/.preinstall
    This command is the culprit:
    /usr/sbin/installer -verbose -lang 'eng' -pkg '/Volumes/Mac OS X Install Disc 1/System/Installation/Packages/OSInstall.mpkg' -target /Library/NetBoot/NetBootSP0/PantBoot3.nbi/mnt -_multiDiscPath /tmp/siuInstallExtras
    The error is (as seen in the logs):
    This package requires authentication to install.
    If I take the command and run it in the terminal using sudo it goes thru, but gives another error:
    installer: Cannot install on volume /Library/NetBoot/NetBootSP0/PantBoot3.nbi/mnt because it is disabled.
    installer: Mac OS X cannot start up from this volume.
    Is this thing supposed to work ?? It seems to me SIU is buggy.
    Any help would be much appreciated.
    Regards
    Mike

    I'm not digging the new SIU at all yet. Maybe I'll get used to it in time. I couldn't get it to accept a Tiger 10.4.6 Install disc the other day to build a NetInstall. Don't know if I was doing something wrong or if it was instinctively rejecting it because I was doing something unsupported.
    I miss NetRestore. I think Mike wants use to use Automator... but I want NetRestore's automated Multicast ASR and Windows image restore. It would take a lot of work to match Mike's shrink-wrapped solution.
    Speaking of NetRestore, its creator Mike Bombich advises against use CCC for mass deployment. This may include what you're doing. It's really a backup tool, but unfortunately a lot of people got into the habit of using it for creating deployment images and these often have problems. It's the best tool for create images that you will deploy onto multiple Macs.

  • Error converting image, cannot create thumbnail, linux server nightmare

    Hi there everyone
    <br />
    <br />Hope everyone is doing really well
    <br />
    <br />I have finally decided to try to fix a problem I have had for almost two years now
    <br />
    <br />I have read all the posts about this problem but I still cannot find the answer
    <br />
    <br />Every time I apply a show thumbnail server behavior I get this error
    <br />
    <br />Error converting image (create thumbnail). The "/home2/mysite/public_html/images/thumbnails/" folder has no write permissions.
    <br />
    <br />Which sounds easy
    <br />SO I reset the file permissions on the image file and the thumbnail fil and I still get the same error over and over again
    <br />
    <br />really frustrating as it means I have to have an extra field in my database and in my upload forms to store a tumb sized image
    <br />
    <br />I have read in one post to create a new php file and paste this code
    <br /><? phpinfo(); ?>
    <br />then check if GD library is enabled it IS enabled
    <br />
    <br />I read in another post that I should change something in my php.ini file on my server .... but I CANNOT find the file and I don't know what how or what to change.....
    <br />
    <br />Has anyone actually got the show thumbnail behavior to work on a linux server
    <br />
    <br />I would REALLY appreciate any help solving this problem
    <br />
    <br />have a great day

    Hi charis,
    Error converting image (create thumbnail). The "/home2/mysite/public_html/images/thumbnails/" folder has no write permissions
    SO I reset the file permissions on the image file and the thumbnail fil and I still get the same error over and over again
    what write permissions value did you now define for the thumbnails directory ?
    For every picture on my site I need to have three copies
    One full size for the detail page
    One thumbnail
    One small picture , bigger than the thumb to display in a tooltip , when you hover over the thumbnail
    please check Emmanuel´s excellent "Spry, ADDT & PHP Dynamic Images" tutorial, which tells you how to create a thumbnail image by using a Custom Trigger: http://www.grafikkaos.co.uk/article/39-Spry-ADDT-PHP-Dynamic-Images/
    Cheers,
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Error creating an image of Drive C:, rc =2

    Hello, as mentioned in the subject line above, I get the following error when trying to capture an image of my reference computer:
    Error creating an image of Drive C:, rc =2
    ZTI Error - Non Zero return code by ZTIBackup, rc=2
    ZTI ERROR - Non-zero return code by LiteTouch, rc = -2147467259
    I've looked at other threads and tried suggestions such as adding the "Set Image Folder" / "Set Image Name" into the Task Sequence, but it solved nothing.
    I am running Windows 7 Professional x64 and capturing from a server running MDT 2010.
    Would there be anything else that would cause this?

    I found out there was actually a second log! The one I posted previously was an old one...very strange. Here is the CURRENT ZTIBackup.log:
    <![LOG[Property LogPath is now = C:\MININT\SMSOSD\OSDLOGS]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Property Debug is now = FALSE]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Property DestinationDisk is now = 0]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Property DestinationPartition is now = 1]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Property DestinationLogicalDrive is now = C:]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Drive C: 29305520]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Local store path = C:\MININT\StateStore]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Total used space: 29305520]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Available space at C:\MININT\StateStore: 11652164]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Computer backup will use network path (ComputerBackupLocation=AUTO)]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Property OSDComputerName is now = ]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[WARNING - Unable to validation connection because a blank UNC was specified.]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="2" thread="" file="ZTIBackup">
    <![LOG[Beginning backup of drive C:]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[About to run command: cmd /c ""C:\WINDOWS\SYSTEM32\imagex.exe" /capture /compress maximum C: "\.wim" "201206141609CDrive" >> C:\MININT\SMSOSD\OSDLOGS\ZTIBackup_imagex.log 2>&1"]LOG]!><time="16:09:54.000+000" date="06-14-2012" component="ZTIBackup"
    context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Return code from command = 2]LOG]!><time="16:09:56.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Error creating an image of drive C:, rc = 2]LOG]!><time="16:09:56.000+000" date="06-14-2012" component="ZTIBackup" context="" type="3" thread="" file="ZTIBackup">
    <![LOG[ZTIBackup COMPLETED.  Return Value = 2]LOG]!><time="16:09:56.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Property BackupScriptComplete is now = YES]LOG]!><time="16:09:56.000+000" date="06-14-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[ZTI ERROR - Non-zero return code by ZTIBackup, rc = 2]LOG]!><time="16:09:56.000+000" date="06-14-2012" component="ZTIBackup" context="" type="3" thread="" file="ZTIBackup">

  • There was an error creating your disk image.

    FCPX v 10.1 In exporting a completed project to a disk image, the following error message came up:   There was an error creating your disk image.  VIDEO_INPUT_READ_ERR
    It only has occurred on one project (so far).
    Has anyone encountered this type of error and found a suitable work around?

    If it only happened with that one project, a reasonable  guess is that the problem is in the media – either an original clip or a render file. Deleting the render files from the File menu for both project and events would be a good place to start. Turn off BG Rendring and without rendering,  see whether a short selection  will export as a master file. If it does, try the img again.
    Russ

  • SSL VPN, "Login failed" and "WebVPN: error creating WebVPN session!"

    Hi,
    Just ran the wizard for Anyconnect SSL VPN, created a tunnel group, a vpn pool and added user to it. When trying to logon on the SSL service, it simply says "login failed". I suspect that the user might not be in correct groups or so?
    some relevant config
    webvpn
    enable wan
    svc image disk0:/anyconnect-win-2.4.1012-k9.pkg 1
    svc enable
    group-policy vpnpolicy1 internal
    group-policy vpnpolicy1 attributes
    vpn-tunnel-protocol svc
    tunnel-group admins type remote-access
    tunnel-group admins general-attributes
    address-pool sslpool2
    default-group-policy vpnpolicy1
    username myuser password 1234567890 encrypted privilege 15
    username myuser  attributes
    vpn-group-policy vpnpolicy1
    Debug:
    asa01# debug webvpn 255
    INFO: debug webvpn  enabled at level 255.
    asa01# webvpn_allocate_auth_struct: net_handle = CD5734D0
    webvpn_portal.c:ewaFormSubmit_webvpn_login[3203]
    webvpn_portal.c:webvpn_login_validate_net_handle[2234]
    webvpn_portal.c:webvpn_login_allocate_auth_struct[2254]
    webvpn_portal.c:webvpn_login_assign_app_next[2272]
    webvpn_portal.c:webvpn_login_cookie_check[2289]
    webvpn_portal.c:webvpn_login_set_tg_buffer_from_form[2325]
    webvpn_portal.c:webvpn_login_transcend_cert_auth_cookie[2359]
    webvpn_login_transcend_cert_auth_cookie: tg_cookie = NULL, tg_name =
    webvpn_portal.c:webvpn_login_set_tg_cookie_form[2421]
    webvpn_portal.c:webvpn_login_set_tg_cookie_querry_string[2473]
    webvpn_portal.c:webvpn_login_resolve_tunnel_group[2546]
    webvpn_login_resolve_tunnel_group: tgCookie = NULL
    webvpn_login_resolve_tunnel_group: tunnel group name from default
    webvpn_login_resolve_tunnel_group: TG_BUFFER = DefaultWEBVPNGroup
    webvpn_portal.c:webvpn_login_negotiate_client_cert[2636]
    webvpn_portal.c:webvpn_login_check_cert_status[2733]
    webvpn_portal.c:webvpn_login_cert_only[2774]
    webvpn_portal.c:webvpn_login_primary_username[2796]
    webvpn_portal.c:webvpn_login_primary_password[2878]
    webvpn_portal.c:webvpn_login_secondary_username[2910]
    webvpn_portal.c:webvpn_login_secondary_password[2988]
    webvpn_portal.c:webvpn_login_extra_password[3021]
    webvpn_portal.c:webvpn_login_set_cookie_flag[3040]
    webvpn_portal.c:webvpn_login_set_auth_group_type[3063]
    webvpn_login_set_auth_group_type: WEBVPN_AUTH_GROUP_TYPE = 4
    webvpn_portal.c:webvpn_login_aaa_not_resuming[3137]
    webvpn_portal.c:http_webvpn_kill_cookie[790]
    webvpn_auth.c:http_webvpn_pre_authentication[2321]
    WebVPN: calling AAA with ewsContext (-867034168) and nh (-849922864)!
    webvpn_add_auth_handle: auth_handle = 17
    WebVPN: started user authentication...
    webvpn_auth.c:webvpn_aaa_callback[5138]
    WebVPN: AAA status = (ACCEPT)
    webvpn_portal.c:ewaFormSubmit_webvpn_login[3203]
    webvpn_portal.c:webvpn_login_validate_net_handle[2234]
    webvpn_portal.c:webvpn_login_allocate_auth_struct[2254]
    webvpn_portal.c:webvpn_login_assign_app_next[2272]
    webvpn_portal.c:webvpn_login_cookie_check[2289]
    webvpn_portal.c:webvpn_login_set_tg_buffer_from_form[2325]
    webvpn_portal.c:webvpn_login_transcend_cert_auth_cookie[2359]
    webvpn_login_transcend_cert_auth_cookie: tg_cookie = NULL, tg_name =
    webvpn_portal.c:webvpn_login_set_tg_cookie_form[2421]
    webvpn_portal.c:webvpn_login_set_tg_cookie_querry_string[2473]
    webvpn_portal.c:webvpn_login_resolve_tunnel_group[2546]
    webvpn_portal.c:webvpn_login_negotiate_client_cert[2636]
    webvpn_portal.c:webvpn_login_check_cert_status[2733]
    webvpn_portal.c:webvpn_login_cert_only[2774]
    webvpn_portal.c:webvpn_login_primary_username[2796]
    webvpn_portal.c:webvpn_login_primary_password[2878]
    webvpn_portal.c:webvpn_login_secondary_username[2910]
    webvpn_portal.c:webvpn_login_secondary_password[2988]
    webvpn_portal.c:webvpn_login_extra_password[3021]
    webvpn_portal.c:webvpn_login_set_cookie_flag[3040]
    webvpn_portal.c:webvpn_login_set_auth_group_type[3063]
    webvpn_login_set_auth_group_type: WEBVPN_AUTH_GROUP_TYPE = 4
    webvpn_portal.c:webvpn_login_aaa_resuming[3093]
    webvpn_auth.c:http_webvpn_post_authentication[1485]
    WebVPN: user: (myuser) authenticated.
    webvpn_auth.c:http_webvpn_auth_accept[2938]
    webvpn_session.c:http_webvpn_create_session[184]
    WebVPN: error creating WebVPN session!
    webvpn_remove_auth_handle: auth_handle = 17
    webvpn_free_auth_struct: net_handle = CD5734D0
    webvpn_allocate_auth_struct: net_handle = CD5734D0
    webvpn_free_auth_struct: net_handle = CD5734D0

    AnyConnect says:
    "The secure gateway has rejected the agents VPN connect or reconnect request. A new connection requires re-authentication and must be started manually. Please contact your network administrator if this problem persists.
    The following message was received from the secure gateway: Host or network is 0"
    Other resources indicate that it's either the tunnel group, or the address pool.. The address pool is:
    ip local pool sslpool2 172.16.20.0-172.16.20.254 mask 255.255.255.0
    asa01# debug webvpn 255
    INFO: debug webvpn  enabled at level 255.
    asa01# debug http 255
    debug http enabled at level 255.
    asa01# webvpn_allocate_auth_struct: net_handle = CE9C3208
    webvpn_portal.c:ewaFormSubmit_webvpn_login[3203]
    webvpn_portal.c:webvpn_login_validate_net_handle[2234]
    webvpn_portal.c:webvpn_login_allocate_auth_struct[2254]
    webvpn_portal.c:webvpn_login_assign_app_next[2272]
    webvpn_portal.c:webvpn_login_cookie_check[2289]
    webvpn_portal.c:webvpn_login_set_tg_buffer_from_form[2325]
    webvpn_portal.c:webvpn_login_transcend_cert_auth_cookie[2359]
    webvpn_login_transcend_cert_auth_cookie: tg_cookie = NULL, tg_name =
    webvpn_portal.c:webvpn_login_set_tg_cookie_form[2421]
    webvpn_portal.c:webvpn_login_set_tg_cookie_querry_string[2473]
    webvpn_portal.c:webvpn_login_resolve_tunnel_group[2546]
    webvpn_login_resolve_tunnel_group: tgCookie = NULL
    webvpn_login_resolve_tunnel_group: tunnel group name from default
    webvpn_login_resolve_tunnel_group: TG_BUFFER = DefaultWEBVPNGroup
    webvpn_portal.c:webvpn_login_negotiate_client_cert[2636]
    webvpn_portal.c:webvpn_login_check_cert_status[2733]
    webvpn_portal.c:webvpn_login_cert_only[2774]
    webvpn_portal.c:webvpn_login_primary_username[2796]
    webvpn_portal.c:webvpn_login_primary_password[2878]
    webvpn_portal.c:webvpn_login_secondary_username[2910]
    webvpn_portal.c:webvpn_login_secondary_password[2988]
    webvpn_portal.c:webvpn_login_extra_password[3021]
    webvpn_portal.c:webvpn_login_set_cookie_flag[3040]
    webvpn_portal.c:webvpn_login_set_auth_group_type[3063]
    webvpn_login_set_auth_group_type: WEBVPN_AUTH_GROUP_TYPE = 4
    webvpn_portal.c:webvpn_login_aaa_not_resuming[3137]
    webvpn_portal.c:http_webvpn_kill_cookie[790]
    webvpn_auth.c:http_webvpn_pre_authentication[2321]
    WebVPN: calling AAA with ewsContext (-845538720) and nh (-828624376)!
    webvpn_add_auth_handle: auth_handle = 22
    WebVPN: started user authentication...
    webvpn_auth.c:webvpn_aaa_callback[5138]
    WebVPN: AAA status = (ACCEPT)
    webvpn_portal.c:ewaFormSubmit_webvpn_login[3203]
    webvpn_portal.c:webvpn_login_validate_net_handle[2234]
    webvpn_portal.c:webvpn_login_allocate_auth_struct[2254]
    webvpn_portal.c:webvpn_login_assign_app_next[2272]
    webvpn_portal.c:webvpn_login_cookie_check[2289]
    webvpn_portal.c:webvpn_login_set_tg_buffer_from_form[2325]
    webvpn_portal.c:webvpn_login_transcend_cert_auth_cookie[2359]
    webvpn_login_transcend_cert_auth_cookie: tg_cookie = NULL, tg_name =
    webvpn_portal.c:webvpn_login_set_tg_cookie_form[2421]
    webvpn_portal.c:webvpn_login_set_tg_cookie_querry_string[2473]
    webvpn_portal.c:webvpn_login_resolve_tunnel_group[2546]
    webvpn_portal.c:webvpn_login_negotiate_client_cert[2636]
    webvpn_portal.c:webvpn_login_check_cert_status[2733]
    webvpn_portal.c:webvpn_login_cert_only[2774]
    webvpn_portal.c:webvpn_login_primary_username[2796]
    webvpn_portal.c:webvpn_login_primary_password[2878]
    webvpn_portal.c:webvpn_login_secondary_username[2910]
    webvpn_portal.c:webvpn_login_secondary_password[2988]
    webvpn_portal.c:webvpn_login_extra_password[3021]
    webvpn_portal.c:webvpn_login_set_cookie_flag[3040]
    webvpn_portal.c:webvpn_login_set_auth_group_type[3063]
    webvpn_login_set_auth_group_type: WEBVPN_AUTH_GROUP_TYPE = 4
    webvpn_portal.c:webvpn_login_aaa_resuming[3093]
    webvpn_auth.c:http_webvpn_post_authentication[1485]
    WebVPN: user: (myuser) authenticated.
    webvpn_auth.c:http_webvpn_auth_accept[2938]
    HTTP: net_handle->standalone_client [0]
    webvpn_session.c:http_webvpn_create_session[184]
    webvpn_session.c:http_webvpn_find_session[159]
    WebVPN session created!
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_remove_auth_handle: auth_handle = 22
    webvpn_portal.c:ewaFormServe_webvpn_cookie[1805]
    webvpn_free_auth_struct: net_handle = CE9C3208
    webvpn_allocate_auth_struct: net_handle = CE9C3208
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C3208
    webvpn_allocate_auth_struct: net_handle = CE9C3208
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE9C3208
    webvpn_allocate_auth_struct: net_handle = CE9C3208
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C3208
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_allocate_auth_struct: net_handle = CE9C3208
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE9C3208
    webvpn_allocate_auth_struct: net_handle = CE9C3208
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C3208
    webvpn_allocate_auth_struct: net_handle = CE863DE8
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE863DE8
    webvpn_allocate_auth_struct: net_handle = CE863DE8
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE863DE8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE863DE8
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE863DE8
    webvpn_allocate_auth_struct: net_handle = CE863DE8
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE863DE8
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C32C8
    HTTP: Periodic admin session check  (idle-timeout = 1200, session-timeout = 0)
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    webvpn_auth.c:webvpn_auth[581]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    WebVPN: session has been authenticated.
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_allocate_auth_struct: net_handle = CE9C32C8
    ewsStringSearch: no buffer
    Close 0
    webvpn_free_auth_struct: net_handle = CE9C32C8
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_allocate_auth_struct: net_handle = CC894AA8
    webvpn_session.c:http_webvpn_find_session[159]
    webvpn_session.c:webvpn_update_idle_time[1463]
    Close 1043041832
    webvpn_free_auth_struct: net_handle = CC894AA8

  • Unable to create image buffer after RAM preview

    Running into an odd and frustrating error. Built a comp using the new Ray-traced 3D renderer and now I'm regretting being an early adopter big time with all the problems I've been encountering with it. The latest comes whenever I do a longer RAM preview in an attempt to watch the whole duration of my comp. It will get to about 170 frames or so, at which point I've interrupted by pressing spacebar because I don't need to see all the way to the end of my work area (around 220 frames). It'll play the RAM preview back fine, and even loop it, but as soon as I stop playback, I get this error message: "After Effects warning: Unable to create image buffer." There's only one button: "okay" and as soon as I click it the same error pops up again and it will never go away, forcing me to close AE from the task manager. I've taken to saving before every RAM preview like I used to do with Flash before previewing my buggy swfs for fear I'll lose all my work after previewing. Any ideas about what might be causing this?
    Some more details about my comp:
    1920x1080 @ 29.97
    Ray-traced 3D
    About 70 3D layers (I'm guessing this is my downfall - new renderer not designed for this many layers?)
    Running Windows 7 Professional
    i7 2600K
    32GB RAM
    2x GTX 570 video cards running latest driver (301.42, CUDA 4.2.1)
    508GB free on my 2TB internal drive where the project and cache lives
    From my GPU info window in case it's useful:
    Fast Draft:
    Available
    Texture Memory:
    600.00 MB
    Ray-tracing:
    GPU
    OpenGL
    Vendor:
    NVIDIA Corporation
    Device:
    GeForce GTX 570/PCIe/SSE2
    Version:
    3.0.0
    Total Memory:
    1.20 GB
    Shader Model:
    4.0 or later
    CUDA
    Driver Version:
    4.2
    Devices:
    2 (GeForce GTX 570, GeForce GTX 570)
    Current Usable Memory:
    1.04 GB (at application launch)
    Maximum Usable Memory:
    1.25 GB

    Yeah, some buffer is very likely not flushing when you interrupt the preview and then there is no more memory on the graphics hardware. Consider setting the work area and your preview options to use only the work area. if it finishes the preview "correctly", it may not suffer the issue. Beyond that - raytracing doesn't/ shouldn't care about the number of items. The math is such, that it makes no difference whether you render a million polygons or just one. Of course there are still limitations due to the GPU dependency, but I doubt you ever truly exhaust the cards' geometry buffers. Compared to pixel data that is a small amount...
    Mylenium

  • How to create Image as Custom Property Type used in Configurable Web Part?

    I wanted to create custom configurable web part property for Image.
    Example - the screenshot of Image property used in Image web part is shown below:
    My goal is to create as many images as possible in custom configurable web part.
    I tried to write the code:
    [WebBrowsable(true),
    WebDisplayName("Example Photo"),
    WebDescription("Example Photo of the user"),
    Category("Custom User Profile"),
    Personalizable(PersonalizationScope.Shared)]
    public Image ExampleUserPhoto { get; set; }
    However, the result does not display Image configurable web part property.
    I wonder why the data type Image does not cause the custom web part to have Image configurable web part property.
    Other data types such as Boolean, Enum, Integer, String and DateTime can be used.
    How can I create Image as Custom Property Type used in Configurable Web Part?

    I have examined that context node __00 has been enhanced,and  has a class name  z___00. But  when I created a new attirubute by right click " Attributes" with wizard under context node __00.There is still  a error message "view is not enhaced or copied with wizard".
    But  when  I created a method  "getvaliation "  in the class of context node zcl__00, the attribute  'valiation' automatically created(at the same time the method "getvaliation' automatically  created for the attribute 'valiation') and I need not to create attibute 'validation' by wizard .  It seemed as if the problem is resloved. But when I make test for it in web ui .There is a runtime erro message.
    Do I need to make some configurations in  the business object layer  for the checkbox? but  the checkbox is only used as a flag  to decide whether a backgoud job is needed to be executed.
    Edited by: samhuman on Jun 22, 2010 10:31 AM

Maybe you are looking for