JNI problem loading jpegs
In my application I used several JPEGs as ImageIcons. My application worked great from the commandline, but stopped working when I ported it to Web Start.
I load the JPEG from the jar file using the following:
ClassLoader cl = this.getClass().getClassLoader();
imageIcon = new ImageIcon(cl.getResource("images/infinite.jpg"));
And I get an exception that looks like:
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D2835EB
Function=JNI_OnLoad+0x249
Library=C:\Program Files\Java\j2re1.4.1_01\bin\jpeg.dll
Current Java thread:
at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:144)
at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:257)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:168)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
Dynamic libraries:
0x00400000 - 0x00406000 C:\Program Files\Java\j2re1.4.1_01\bin\javaw.exe
... <lists all the dlls>
Local Time = Wed Jan 01 21:51:53 2003
Elapsed Time = 4
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode)
And the image was created using standard methods in Photoshop 7. When I converted the image to a gif, everything worked. Has anyone run into anything like this before?
Dave
Seems like a lot of people have faced the same (or similar) kind of problem. So my post comes to add to the list of cases this occurs.
I use .gif files for my imageIcon objects, which I load using something like:ImageIcon myIcon = new ImageIcon(MyClass.class.getResource(".gif'sFilenameHere")); When I try to launch my app using web start something funny happens. All ImageIcon instances are created and rendered appropriately, but for some .gifs I use to display as JTabbedPane icons. No exceptions are thrown or anything and it's just these icons that I'm using in the JTabbedPane object that I'm having a problem with.
When the app runs w/o web start everything works as expected. And even when I run the very same .jar that my .jnlp points to everything is fine, yet not when ran with web start. Is there some known bug about JTabbedPane icons?
Any help will be very appreciated.
Thanx
Similar Messages
-
Problem loading JPEGs from network drive?
Hi,
I'm having a rather frustrating problem with Bridge\Lightroom 2 which I think is due to ACR 4.5, and I'm hoping someone here may be able to offer some advice:
When opening (in bridge) or importing (in Lightroom) a network share containing JPEG images the majority of the previews\thumbnails are corrupted.
This screenshot illustrates the problem in bridge (http://www.amirkamal.com/acrbug.jpg). As you can see the thumbnails are corrupt as is the preview, however the magnifier tool on the preview window shows the /true/ image. The irfanview window, in the lower right corner, shows what the image should look like, demonstrating that the JPEG itself is not corrupt.
If I were to import this directory into Lightroom the same problem is present, although the form of the actual image corruption (or even the number of images corrupted) may be different. It also persists through to the develop module as well, making lightroom completely unusable.
If I disable the 'Prefer Adobe Camera Raw for JPEG and TIFF files' option in Bridge then previews are rendered correctly, which is what leads me to believe that ACR is the problem and not Bridge or Lightroom. This would be an acceptable work around for Bridge, but obviously isn't possible for Lightroom.
Also, if I copy the JPEGS locally and then import\view them the problem does not occur. The seems only to affect JPEGs: TIFF and Raw (Canon 350d .CR2) files do not show this problem.
It almost seems as if ACR is trying to process the JPEGs before they have been completely loaded, and thus ends up rendering garbage.
Has anyone else seen this problem before, or have any idea how to fix it?
My system specs are below incase they offer any clues,
thanks
ak
Local machine:
Adobe Bridge CS3 2.1.1.9
Adobe PhotoShop Camera Raw 4.5.0.175
Windows XP 32bit SP2
Intel Pentium 4 D @ 3.3GHz
2Gb RAM
nVidia 7950GT with latest (175.19) drivers
Images stored on:
Windows Server 2k3 R2
Intel Celeron D @ 3Ghz
1Gb RAM
RAID 5 Array
Connected over a 100mbps networkI have never worked on image files which are located remotely in a network ... but I noticed a higher probability of problems occurring when working with Bridge on external hard disk drives connected via USB 2.0. So I acquired the habit of copying the folder of images I plan to work on to an internal hard disk drive and do the work there. When I'm done then I'll copy the whole folder (or at least the modified files therein) back to where it came from.
-- Olaf -
Load JPEG as an ASPx page (from SQL database)
We are trying to load JPEG images into the Flash player from
an SQL database. But figuring out how to do it has us stumped.
We are already displaying the images on a web page by
setting the source of the image as a page. We use a separate file
for retrieving an image, for example to display an image on a web
page that is stored in the SQL database with an ID 1297 in the DB,
use:
<img src="/image.aspx?id=1297">
Does anyone have any ideas how we might use a similar
technique to load the jpeg images into the flash player? Or any
other suggestions that will allow us to accomplish our object of
viewing many thumbnail jpeg images in the Flash player?
Thanks for any suggestions,
SteveHmm, maybe I'm naive, but what's the problem with
loadMovie("/image.aspx?id=1297","container_mc");
or even using the MovieClipLoader class with that url
string? -
Is any body having problems opening Jpegs sent via email as attachments. iPhone 4
I can't open and get a spinning wheel or it bombs out!..Help!! It affects iMap, exchange and mac accounts!Solution for me was changing the "Load Remote Images" setting, shutting down and restarting the phone. The old messages with problems reloaded with all attachments accessible.
Background: I began having this problem recently with PDF, jpeg,vcf files and apparently now, all attachments as well as email with html links are coming through with no attachment or as empty email. This was a new problem for me. I have been backing up to the cloud, but not using a cloud email account. I have multiple accounts on the phone, six of them actually and have been set up this way for over a year without problem. Some are imap, some pop, none are through exchange. -
When I try to open contacts from the icloud control panel on my windows 7 PC, I get an error message: can't load contacts. There was a problem loading the application.
-
no link to open access to the internet. I used Yahoo Messenger, clicked on the 'mail icon' and since Firefox is my default it opened and I was able to continue from there. If I try to click File, open New Page, I get the "problem loading webpage" and "connection timed out" messages
changed my homepage to Yahoo. Now Firrefox works but still cannot access ANYTHING 'Google"!
-
i cant access my mobsters account through myspace. every time i try to access it i get "problem loading page" "this page cannot be found" "404 error" and it wont let me access it. myspace works fine but as soon as i click on the mobsters app i get the 404 error, this page cannot be found, problem loading page! can you please help?
== This happened ==
Every time Firefox opened
== i try to access mobsters game through myspaceI dont understand the answer
'''''""The problem can be solved by opening FF and choosing Tools...Add On's...select the SEARCH addon and choose UNINSTALL...restart FF browser when asked, then reload Mobsters. This worked for me. The suggestion on the 404 that says to remove Search via Add/Remove Programs is completely BS, as Search doesnt show there. ""''''' -
When I open Firefox, a lot of tabs try to open at the same time. They all say Problem loading the page. It happened after I tried to download a owners manual for Harley Davidson motor cycles. How can I stop all but one tab from opening.
This can be a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
See:
* http://kb.mozillazine.org/Session_Restore -
Problem loading Query Designer Add-in
Hi All,
Can anyone please help me on my below issue.
Whenever user is trying to start a new query in Essbase , he is getting below error message. It will not allow user to build a fresh Essbase pull
Problem loading Query Designer Add-in. Workbook Activate,open & close operations may not be fully propogated
Thanks in advance.
Regards
VishalHi Vishal,
1) Try to remove the addin and then add again.(Before doing this close all the excel process from the task Manager)
2) Check weather essexcln.xll and essxleqd.xla are corrupted. -
Problem loading data into write optimized dso.....
Hi ,
I am having problem loading the data from PSA to write optimised DSO
I have changed the normal DSO into a Write Optimised DSO. I have 2 data sources to be loaded into the write optimized DSO. One for Demand and one for Inventory.
The loading of Demand data from PSA to DSO happens fine with out any error.
Now while loading the Inventory data from PSA to DSO , i get the below errors
"Data Structures were changed. Start Transaction before hand"
Execption CX_RS_FAILED Logged
I have tried reactivating the DSO, Transformation, DTP and tried to load the data again to the write optimised DSO, but no luck, I get the above error message always.
Can some one please suggest me what could be done to avoid the above error messages and load the data successfully.
Thanks in advance.Hi,
Check the transformations is there any routines written.
Check your Data struture of cube and DS as well.
Is there any changes in structure.
Data will load upto PSA normally, if is there any changes in struture of DSO, then the error may occur.just check it.
Check the below blog:
/people/martin.mouilpadeti/blog/2007/08/24/sap-netweaver-70-bi-new-datastore-write-optimized-dso
Let us know status.........
Reg
Pra -
Is anyone having problems loading the newest version of iTunes (10.6.3) using Windows Vista? My current iTunes program version 10.6.1 keeps telling me there is an update but when I try to load it the information box goes away and nothing happens. I have tried downloading the new version from Apple web site but it brings up a warning screen of " iTunes setup.exe is not commonly downloaded and could harm your computer." I select the action of run anyway and get the next error "iTunes Setup.exe is not a valid Win32 application." What Gives?
I select the action of run anyway and get the next error "iTunes Setup.exe is not a valid Win32 application."
In the course of your troubleshooting to date have you worked through the following document?
iTunes: Windows reports that "iTunesSetup.exe is not a valid Win32 application" -
Hello:
I am new to IPods. I have a Classic 160GB and I can't figure out how to load Music Videos to iTunes or the IPod. I have had no problem loading my CD's to iTunes and to the IPod, but no go on the Music Videos.
Please Help
maxsdadB-Rock:
Ok. Here's the results. I tried all the music videos I wanted to put onto the IPod and the results were:
I was able to get good results with 2 full length music videos and 2 video singles(only 2 videos on each disk). For a total of 4 videos.
I was able to encode 5 full length music videos, but the results were distorted (video and audio).
I was unable to copy 2 full length videos due to error failures. 1 was a "No Title Found" error, the other was a "NAVDAT" error.
I guess my next question is: Do you know of any other program(s) that I might try, to see if I can get good results with the videos that didn't work with Handbrake?
Thanks again for all your help.
maxsdad -
"Problem with Trial - problem loading trial period for Adobe Photoshop CS3"
Hello,
I installed Photoshop CS3 Trial and whenever I run it and choose to begin my trial period I get the following error message:
"Problem with Trial - problem loading trial period for Adobe Photoshop CS3".
I tried uninstalling and reinstalling, and even ran the Adobe CS3Clean Script but nothing seems to help.
I should note I never installed any earlier version of Photoshop on my system (I use a fresh copy of Windows XP with only a few programs installed).
Any suggestions will be appreciated.
Thanks,
Davidi had the trial of photoshop on and the trial has run out my friend has given me a disk with adobe photoshop on and i cant do it beacause of the regestry code the photoshop puts in after the trial has ended to tell my pc that i cant have photoshop on my computer again :(:( now i have herd that you can remove the codes but it is quite hard well iam willing for this challenge and if anyone could help me i would reall welcome your help or if anybody has got the link to a tutorial to tell me hoe to do it i would aprecitae that to thank you all very much and post bak soon please
-
Latest version of Firefox is having problems loading some sites, it tries to load and then gets taken over trying to load Google Analytics. No error messages, just a page that won't load. How do I get rid of this, it is a "pain in the neck"
== URL of affected sites ==
http://I just spent 3 days with this issue as well. I finally fixed it by reluctantly adding yet another add-on called ADBLOCK
I was able to selectively block google-analytics. Now pages that weren't loading before are now loading.
eg vimeo.com starbucks.com & other random sites.
This was a tough one to fix because there is NO ERROR MESSAGE..page just shows it's loading...forever..& the bottom of my browser says 'waiting for google analytics'. I finally figured out google analytics is the culprit. Ironically, some help pages in trying to find a fix wouldn't load for me due to google analytics arghhh!
Im on a macbookpro & Safari worked fine for these same sites. It was just Firefox. I nearly switched back to Safari because of this stupid issue.
I'm wondering if this was caused by recent firefox 'updates'... -
Everything with firefox works ok except Grooveshark. An error message appears saying: We had problems loading flash, you might have any blocker etc etc.
I don´t have any blocker and as a matter of fact i have the latest versions for both mozilla and flash. Neither version of flash test nor reinstallation process nor checking add ons or firewall settings solved my problem.
Thanks for the attention. RegardsTo double-check your Flash permissions for the site, you can click the globe or padlock icon to the left of the address, click More Information, then click the Permissions tab. The "Activate Plugins" section would be the one to check.
I understand you have checked your add-ons, but in case there is an unexpected interaction, could you test the page in Firefox's Safe Mode just to confirm that extensions are not the problem? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
You can restart Firefox in Safe Mode using either:
* "3-bar" menu button > "?" button > Restart with Add-ons Disabled
* Help menu > Restart with Add-ons Disabled
''Not all add-ons are disabled: Flash and other plugins still run''
After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
Any difference?
Maybe you are looking for
-
Adding more than one birthday to on person
I keep searching but it seems all the tips are old form previous versions or I am missing something. I am currently using Mac OS X 10.7.3 I am trying to add multiple birthdays in my Address Book under one person, thier family members and I want it t
-
Problem while loading Crystal report
Hi all I'm Harinathan. I'm developing vb.net application with crystal report.
-
Cd won,t play on car CD player
I have burn my purchased CD's and now when I go and try to play I get an "err". If I play it on my computor it plays fine.
-
I recently purchased several tv series on my iPad. They have all appeared in iTunes on my pc but not on my iPad. I have tries going to iTunes and purchased items and clicking Download but they still do not appear? Any ideas?
-
Is there anyway to know via Java Script which Facts in a Chart are computed items?