Image loaded successfully, but fail to draw bitmap of it
I have a image loaded from different domain. The checkpolicy is set to true and crossdomain file has no problem. The image isn't that large, 2,304px × 1,260px
In the application, I will draw the bitmap image with this call
new Bitmap(Bitmap(imgLoader.content).bitmapData, "auto", true);
The weird part is, there is 1% chance... the application can't draw the bitmap... it will just be empty. It never happens to me, but some of my users are complaining they can't see any image. I think they have pretty decent computer, and see the application on ie8 or ff4
Not sure is there anything I am doing wrong... I am sure the image is loaded to user's browser, but the application just can't draw it....
Can anyone help?
Thanks a lot
I have the crossdomain file hosted on the site... and i have the code like this in my app
ImgLoader = new Loader();
context = new LoaderContext();
context.checkPolicyFile = true;
ImgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onImgLoadedHandler);
ImgLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onImgLoadedErrorHandler);
ImgLoader.load(new URLRequest(Params.imgURL), context);
private function onImgLoadedHandler(e:Event):void
ImgLoader.contentLoaderInfo.removeEventListener(Event.COMPLETE, onImgLoadedHandler);
ImgLoader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_ERROR, onImgLoadedErrorHandler);
imgBmp = new Bitmap(Bitmap(ImgLoader.content).bitmapData, "auto", true);
The thing need to mention is my ImgLoader is a public variable in one class... because I need to create another copy of that image in a different place... so in that clasee, I will reference the ImgLoader variable and create a another bimap with code like
imgBmp2 = new Bitmap(Bitmap(ClassName.ImgLoader.content).bitmapData, "auto", true);
Similar Messages
-
hello,
when i try creating projects in Project center am posted on with this error.
Your new XXXX workflow has been created successfully, but
failed to publish and will not be listed in the Project Center.For more information on the failure, visit the My Queue Jobs page or contact your administrator.
Any help would be appreciated!!!!!
Thanks regards, Vignesh.hello Rouyre,
Thanks for ur reply
Am using
Microsoft Project Server 2013
15.0.4420.1017
Yes! It is Custom EPT with Custom Workflow(Declarative Workflow) built through VS2012
after associating the Site workflow with EPT i try creating Projects using my Custom EPT since then am posted on with this error.
ULS Error:Log
07/04/2014 10:21:38.03 Microsoft.Office.Project.Server (0x1840)
0x06B8 Project Server
Queue
ad3fy Critical
Standard Information:PSI Entry Point: <unknown> Project User: <unknown> Correlation Id: <unknown> PWA Site URL: SA Name: <unknown> PSError: <unknown> A queue job has failed. This is a general
error logged by the Project Server Queue everytime a job fails - for effective troubleshooting use this error message with other more specific error messages (if any), the Operations guide (which documents more details about queued jobs) and the trace log
(which could provide more detailed context). More information about the failed job follows. GUID of the failed job: 39cd36d6-3603-e411-b33e-00155d00091f. Name of the computer that processed this job: 3eebbc1d-7558-4050-bf5d-d985b23b89f5 (to debug further,
you need to look at the trace log from this computer). Failed job type: ReportWorkflowProj...
2c1ea19c-5849-002d-b89f-50aaf0a752fd
07/04/2014 10:21:38.03* Microsoft.Office.Project.Server (0x1840)
0x06B8 Project Server
Queue
ad3fy Critical
...ectDataSync. Failed sub-job type: ReportWorkflowProjectDataSyncMessage. Failed sub-job ID: 1. Stage where sub-job failed: (this is useful when one sub-job has more than one logical processing stages).
2c1ea19c-5849-002d-b89f-50aaf0a752fd
07/04/2014 10:21:38.03 Microsoft.Office.Project.Server (0x1840)
0x06B8 Project Server
Queue Jobs
ad3fy Medium
Error is: GeneralQueueJobFailed. Details: Queue Attributes: 39cd36d6-3603-e411-b33e-00155d00091f 3eebbc1d-7558-4050-bf5d-d985b23b89f5 ReportWorkflowProjectDataSync ReportWorkflowProjectDataSyncMessage 1 2c1ea19c-5849-002d-b89f-50aaf0a752fd
. Standard Information: , LogLevelManager Warning-ulsID:0x000DD158 has no entities explicitly specified.
2c1ea19c-5849-002d-b89f-50aaf0a752fd
07/04/2014 10:21:38.03 Microsoft.Office.Project.Server (0x1840)
0x06B8 Project Server
Project Server Database
ah91z Medium
Successfully got the connection string (database name=[ProjectWebApp_Practice], id=1f6004ae-5d8a-41d2-81f9-e424a31484aa, type=Consolidated). Requested access level=ReadWrite: Data Source=XXXX;Initial Catalog=ProjectWebApp_Practice;Integrated Security=True;Enlist=False;Pooling=True;Min
Pool Size=0;Max Pool Size=100;Connect Timeout=15
2c1ea19c-5849-002d-b89f-50aaf0a752fd
07/04/2014 10:21:38.04 Microsoft.Office.Project.Server (0x1840)
0x06B8 Project Server
Queue Jobs
ad3fz Medium
PWA:http://XXXX:10000/PWAPactice, ServiceApp:Project Server Service Application, User:PROJECTSERVER\system, PSI: [QUEUE] receiver http://XXXX:10000/PWAPactice: Group 3bcd36d6-3603-e411-b33e-00155d00091f type = ReportWorkflowProjectDataSync aborted at
Message 1, LogLevelManager Warning-ulsID:0x000DD159 has no entities explicitly specified.
2c1ea19c-5849-002d-b89f-50aaf0a752fd
07/04/2014 10:21:38.04 Microsoft.Office.Project.Server (0x1840)
0x06B8 Project Server
Queue Jobs
ad3f2 Medium
PWA:http://XXXX:10000/PWAPactice, ServiceApp:Project Server Service Application, User:PROJECTSERVER\system, PSI: [QUEUE] receiver http://XXXX:10000/PWAPactice: Group 3bcd36d6-3603-e411-b33e-00155d00091f correlation 82705dc5-3603-e411-b33e-00155d00091f
type = ReportWorkflowProjectDataSync failed at Message 1 Errors: GeneralQueueJobFailed, LogLevelManager Warning-ulsID:0x000DD15C has no entities explicitly specified.
2c1ea19c-5849-002d-b89f-50aaf0a752fd
Thanks regards, Vignesh. -
Image loads locally but not on Website?
I have constructed a slide show viewer for use on a website.
The swf loads jpeg images which are contained in the same
directory. This works well on my local machine but when uploaded to
a website and called up by an html file, the swf runs and shows the
correct backgrounds but fails to load any jpegs. I assume that the
problem is to do with the transfer of the variable 'Select_picture"
into the loadMovie statement?
The following loop (step variable = pic_no) works locally but
not on website:-
>>var Select_picture:String="Pic"+pic_no+".jpg";
>>var Select_mc:String="mc"+pic_no;
>>
>>this.createEmptyMovieClip([Select_mc], depthnow++);
>>loadMovie([Select_picture], [Select_mc]);
In order to prove that a picture could be loaded on the
website, I simplied the code to :
>>loadMovie("pic1.jpg",[Select_mc]);
and this worked.
So, I tried to transfer the same string directly via the
variable;-
>>var Select_picture:String="Pic1.jpg";
>>
>>loadMovie([Select_picture], [Select_mc]);
But this does not work.
Any suggestions would be greatly appreciated.
Regards
DaveThanks , Arunkkumar2207j and ggshow for your suggestions.
1, The image size isn't a problem because the one I used for
the test is only 200k. And the single test image loads very quickly
on the website.
2. I don't think the depth of the movie clip is a problem
either because depthnow starts at a very large number and is
incremented for each clip and works well for multiple clips on my
local machine. Also when loading a single image is should not be a
problem. Also, I think I proved that was working with the single
image test?
3. The htm, swf and images are in the same directory. But for
the test, I ran the swf directly on the website (without using the
htm file to load it)
Please keep the suggestions coming....!
Many thanks
Dave -
Class loaded successfully but still not found
Hi
I am facing a problem in instatntiating a class inside the oracle jvm. My
java class "SimpleQueueSender" has a function named "prashant" which I am
calling from PL/SQL using the following wrapper
create or replace procedure pr_invoke
as
language java
name 'SimpleQueueSender.prashant()' ;
This function "prashant" internally uses a class
"com/sun/jndi/fscontext/RefFSContextFactory" which is there in
fscontext.jar. I have loaded my class "SimpleQueueSender" as well as
"fscontext.jar" using loadjava into the oracle database. Following excerpts
show that the class "com/sun/jndi/fscontext/RefFSContextFactory" has been
loaded into the oracle database and is valid also
SQL> select object_name, dbms_java.longname(object_name) long_name,status
from user_objects where object_name like '%RefFSContextFactory' ;
OBJECT_NAME LONG_NAME
STATUS
/e9b75f22_RefFSContextFactory
com/sun/jndi/fscontext/RefFSContextFactory VALID
but when I try to invoke my class then it shows that the class
"com/sun/jndi/fscontext/RefFSContextFactory" not found....
SQL> set serverout on
SQL> exec dbms_java.set_output(10000) ;
PL/SQL procedure successfully completed.
SQL> set linesize 100
SQL> exec pr_invoke
Queue name is TEST_Q
Could not create JNDI API context: javax.naming.NoInitialContextException:
Cannot instantiate class:
com.sun.jndi.fscontext.RefFSContextFactory [Root exception is
java.lang.ClassNotFoundException:
com/sun/jndi/fscontext/RefFSContextFactory]
BEGIN pr_temp; END;
ERROR at line 1:
ORA-29515: exit called from Java code with status 1
ORA-06512: at "PRASHANT.PR_TEMP", line 0
ORA-06512: at line 1
Can somebody please help me with this.
Thanks
PrashantHi Prashant,
It's been a few days since you posted, and have not yet received
any replies, so with your permission, I'll make a wild guess.
Perhaps one of the class that "RefFSContextFactory" depends on
(in order to instantiate it) is invalid? Remember, sometimes the
error messages don't really point to the cause of the problem,
so I suggest looking elsewhere.
By the way, have you tried running your java code outside of the
database -- to make sure the problem is not in your code?
Good Luck,
Avi. -
Trying to set up a client with external access. I just got their Edge off the domain and in the DMZ, and supposedly the appropriate firewall ports are opened. They have a RP running IIS ARR.
Microsoft Remote Connectivity Analyzer (testconnectivity.Microsoft.com) does the following for three tests:
1. When I do Lync Server Remote Connectivity Test and choose Autodiscover, it is able to open port 443 and it validates the cert. But it says "Operation failed because the network connection was not available".
2. When I do the same Lync Server Remote Connectivity Test and manually enter the Access Edge service FQDN and choose port 5061, it is able to resolve the name in DNS but it then fails testing TCP port 5061 with "The specified port is either blocked,
not listening, or not producing the expected response".
3. When I do the Lync Autodiscover Web Service Remote Connectivity Test, it fails when trying to open port 443 on the Lyncdiscover URL.
So, that seems to indicate to me that port 443 might be open on the Edge but not the Reverse Proxy, since that's where the autodiscover URL points. And it seems 5061 is not open but 443 is on the Edge. What else could I check on the Edge to get
443 working?
Thanks for the help and sorry for any vague information. Any help is appreciated!
BrandonOkay, I can now telnet to lyncdiscover.mydomain.dom on port 443 successfully, and I can telnet to sip.mydomain.com on 5061 successfully.
Now when I do the remote connectivity test:
Using Autodiscover to detect server settings, I get "Operation failed because the network connection was not available". It opens port 443 fine it looks like.
Manually choosing lync.mydomain.com as the FQDN and port 5061, I get "The endpoint was unable to register. See the ErrorCode for specific reason". Response code is 504 and response message is Server Time-out
Doing the Lync Autodiscover Web Service Remote Connectivity Test I get "HTTP 403 error was received because ISA server denied the specified URL".
Looks to me like a rule might not be set right on the firewall if ISA is denying the connection, right?(they are using TMG on a server running Server 2008 as the firewall). I can't ping the reverse proxy from the firewall (but I can ping the Edge).
What else can I check?
Thanks for all the help so far, I really appreciate it.
Brandon -
IPhoto deleting images in iPhone but failing to import as not enough space
I've lost the images and films on my iPhone as unfortunately I have the import set up to auto-delete (aargh!). Not enough disk space in iPhoto but it still deleted everything on my iPhone.
Any idea if I can recover the lost images from my iPhone?
Thanks, Stephenfirst you must have a minimum of 10GB of free disk for the Mac to operate correctly plus any extra space for special programs - do not continue operating until you have adequate space - many bad things can happen if you do not have adequate free disk
as to these photos you may be able to recover them using a program like media recover - http://download.cnet.com/MediaRECOVER/3000-2242_4-42741.html
in the future never allow any computer to automatically delete photos from your camera - import them and properly disconnect your camera and be sure everything is good (I wait for at least one backup cycle) and then use the camera reformat command to erase the media card and renew its format
LN -
I have followed the "usual" way to build a pooled VDI desktop using Win7 or Win8 with success, but it fails when I use an image of Win Server 2012 as VM instead.
Am I overlooking something? Should I need to prepare the image in a different way? (Sysprep differently?)
ThanksHi,
Thank you for your posting in Windows Server Forum.
Can you specify the error which you are facing during VDI setup for server 2012?
I might think that you need to check the memory setting for server 2012, as might happens that due to less memory you can’t setup the VDI setup properly.
Memory: If the Master VM is configured with static memory, it must have at least 1024 MB as startup RAM. If the Master VM is configured with dynamic memory, the maximum RAM must be at least 1024 MB.
Please check beneath article for information.
Windows
Server 2012 2,500-user pooled VDI deployment guide (Doc)
Single Image Management for Virtual Desktop Collections in Windows Server 2012
Hope it helps!
Thanks.
Dharmesh Solanki -
I have an iPhone 4s and I attempted to update my device's iOS to 7.0.2. The download was successful but when I tried to install the software, it asked me to connect my device to iTunes. I did but my phone failed to load: ERROR 4013. What to do?
Hi there KrisonCastillo,
I would recommend taking a look at the troubleshooting steps found in the article below.
iOS: Unable to update or restore
http://support.apple.com/kb/HT1808
-Griff W. -
Error '"Shockwave Flash", but the plug-in failed to load successfully
Hi, some help please. I'm not very technical on macs so I need somebody to help with as much detail as possible. I use the browser Safari 1.3.2 but it will no longer display flash content, instead I get the lego box with a question mark in it and the error message '...“Shockwave Flash”, but the plug-in failed to load successfully'. I've checked some discussion threads but they are beyond my realm of comprehension - I am but a simple man in need of help. Please help. Please. Somebody...
Hi neonhook,
First of all, Welcome to the Discussion forums!
"I am but a simple man in need of help."
Trust me, there are a lot of us around here like that
If possible, I would suggest using a different browser such as Camino 1.6.4 or even Firefox 2.0.0.x (but keep in mind that Firefox 2.0.0.x will only be supported fully using 10.3.9 until mid-December 2008 and Firefox 3.0 is for OS 10.4 and above only.
Both Camino and Firefox can be customized to look and feel a lot like Safari and have many features that Safari 1.3.2 does not. I use Camino and find it faster and with no crashes due to flash web content etc. You'll be able to use sites such as Google Maps again, etc.
Safari for 10.3.9 is no longer being supported and to use a newer version of Safari you would need to upgrade your OS to at least 10.4 and above.
hope that helps some and post back with comments and questions,
littleshoulders
PS. Please post back if any of the above information is too confusing as I do understand it can be. -
Plug-in failed to load successfully
QT 7.5, Leopard 10.5.4, MacBook, installed via software update, reinstalled with direct download. Any QT web content gets error message "...attempted to load an internet plug-in named "Quicktime Plug-In 7.5", but the plug-in failed to load successfully."
No QT movies on web load. ITunes store QT trailers don't play in iTunes. Downloaded trailers play in iTunes. Downloaded trailers play in QT player.
I've repaired permissions, reinstalled, etc, etc. This issue apparently has happened to others. Any solutions?Yes, I've run the gamut.
I'm not new to the dance. I wouldn't normally even download the app directly, but it seemed a logical approach to sidestep anything software update might introduce. I have several (>10) Macs of all flavors -- this is the only one exhibiting this issue. Leopard was cleanly installed. User data imported from G4 iBook via FireWire using the OS installation dialogue. Again, something that's worked fine in the past, even from G4 to Intel flavor.
Scratching my head here. -
Plug-in failed to load successfully - QuickTime Plug-In 7.2
When I try to open Steve Jobs' Quicktime presentation, I get the following error message:
*The page “Apple - QuickTime - September 2007 Keynote Address” attempted*
*to load an Internet plug-in named “QuickTime Plug-In 7.2”, but the plug-in*
*failed to load successfully.*I have exactly the same problem, just bought a new iMax 24" 2.8Ghz and bingo cant view any trailers off the Apple site.
Anyone got any ideas?
Thanks -
ive tried loading this new software, and step 1 and 2 were successful, but after trying to restart the loading grey screen wont stop loading?
I had a similar problem, does the phone show anything on the screen, for example "update failed, connect to computer" if it does, try opening "Sony PC Companion 2.1" click start on "support zone" then click "phone/ tablet software update" a message will pop up, press repair my phone / tablet, select your phone in the list, then follow what it says, try doing this even if the phone shows nothing, you will lose everything, all data will be gone if you follow my steps
-
System.drawing. image to system.drawing.bitmap
How can I convert a system.drawing. image to system.drawing.bitmap?
Yes I tried, but doesn't work.
I'm trying to do it in different way but I'm getting an error,
se VI annexed...
Attachments:
image to bitmap.vi 9 KB -
My video i have successfully worked on for seven days now won't open at all. It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load. But the only option from the error screen is exit out of Premiere Pro CC. I am on a PC withe Windows 8.1 and apps are up to date. Thanks much for any help!!
Hi Bryan,
My video i have successfully worked on for seven days now won't open at all. It says there is no sequence of this type found... But in the very bottom bar I can see the whole project load. But the only option from the error screen is exit out of Premiere Pro CC. I am on a PC withe Windows 8.1 and apps are up to date. Thanks much for any help!!
Sounds like an activation issue. Quite Premiere Pro. Sign out of Creative Cloud. Restart Premiere Pro. Sign back in: http://bit.ly/CC-sign-out
Hope that works for you.
Kevin -
Problems both seemed to appear about the same time and may be related.
Had backups on an external drive prior to the problem and appeared to be working. I have since cleaned the external drive in an attempt to start a new backup series but it continues to stop and report backup has failed.
The System restore was working fine and one day it had changed all the existing Restore Points to "System Image restore point"
but still showed all the different dates. In the System Properties window it indicates that there are 0 bytes in "current usages",
which I assume they are all empty but I can't create any new ones. I get Error code 0x80042308.
I have tried the Clean Boot with no results. I use MS Security Essentials for virus protection.
I have no other symptoms or problems on the PC.
About ready for a Recovery and start all over.
George M1Hi,
Your first step should be to run chkdsk /r /f on all the drives in that computer. Shadow copy errors are often caused by disk problems (usually minor) which chkdsk will find and correct.
Also, this issue can be caused that VSS dlls are corrupted.
Re-install the VSS dlls by following these steps:
a. Using command prompt, CD to the WINDOWS\system32 directory
b. Stop the Volume Shadow Copy service by executing the command "net stop vss"
c. Register the following DLLs and services by executing these commands:
regsvr32 ole32.dll
regsvr32 vss_ps.dll
Vssvc /Register
regsvr32 /i swprv.dll
regsvr32 /i eventcls.dll
regsvr32 es.dll
regsvr32 stdprov.dll
regsvr32 vssui.dll
regsvr32 msxml.dll
regsvr32 msxml3.dll
regsvr32 msxml4.dll
Hope these could be helpful.
Kate Li
TechNet Community Support
Maybe you are looking for
-
QFX file won't open in Moneydance automatically
I download details from my bank in qfx or Quicken format but I use Moneydance as my finance application. Firefox used to pop up with Moneydance already selected. Now it doesn't. This worked with Firefox 3. It did not in Firefox 7 and 8. I'm using a M
-
CIN configuration for capital goods
Dear All, I have to configure CIN for capital goods purchase. Please let me know the important configuration required for the same. where we can set 50% on hold conditions ? Regards, Umesh
-
Hi all, What does anyone know or have an opinion regarding 10g's ability with Virtual Private Databases/Row level security and Unix based servers providing client-server forms and reports services to browser based windows and unix clients? My organis
-
Versions of Windows for running running CS3 Web Premium?
Which recent versions of Windows will CS3 Web Premium still run successfully on?
-
Is there a way to set a bottom t-bar to trigger when you want final motion scroll effects to take place? Or delay an object on screen before final motion? - Thanks!