Problem using my own cursor
Hello.
I would like to program a Drag-and-Drop like, and I need to use my own cursor during the drag.
I use the createCustomCursor function, but the program never run correctly and exit with a Divide by zero Exception !
Here is my code (in a Canvas) :
Toolkit tlk;
Image img;
Cursor cur;
tlk = getToolkit(); // I've also tried : tlk = Toolkit.getDefaultToolkit();
img = "dndred.gif"; // the file exists, it is displayed on the Canvas
cur = tlk.createCustomCursor( img, new Point( 1, 1 ), "DragAndDrop" ); // Exception when running
setCursor( cur );
Here the printStackStrace :
Exception in thread "main" java.lang.ArithmeticException: / by zero
at sun.awt.motif.X11CustomCursor.createNativeCursor(X11CustomCursor.java:114)
at sun.awt.CustomCursor.<init>(CustomCursor.java:80)
at sun.awt.motif.X11CustomCursor.<init>(X11CustomCursor.java:26)
at sun.awt.motif.MToolkit.createCustomCursor(MToolkit.java:503)
at DragNDrop.<init>(DragNDrop.java:27)
at princ.main(princ.java:6)
Is my code wrong ?
I'm under Linux Debian. dndred.gif is a GIF image, exists, and is 20x20 (I've also tried a 50x50 image).
The function getBestCursorSize( 50, 50 ) returns 32x32.
I just seen an error in the code above, I've forget 1 line.
But the problem remain the same.
Toolkit tlk;
Image img;
Cursor cur;
tlk = getToolkit(); // I've also tried : tlk = Toolkit.getDefaultToolkit();
img = tlk.getImage( "dndred.gif" ); // the file exists, it is displayed on the Canvas
cur = tlk.createCustomCursor( img, new Point( 1, 1 ), "DragAndDrop" ); // Exception when running
setCursor( cur );
Please help me.
Similar Messages
-
Problem using my own webservice in webflow definition
Hi,
I am trying to register an external webservice using WFWS transaction, but in some cases WSDL definition is not well-recognized by SAP.
For example, I can import google service (http://api.google.com/GoogleSearch.wsdl) but I can't use Amazon service (http://soap.amazon.com/schemas3/AmazonWebServices.wsdl).
I can't use any webservice that I have made using developer studio due to a similar reason.
Can anyone help me?
Thanks,I just seen an error in the code above, I've forget 1 line.
But the problem remain the same.
Toolkit tlk;
Image img;
Cursor cur;
tlk = getToolkit(); // I've also tried : tlk = Toolkit.getDefaultToolkit();
img = tlk.getImage( "dndred.gif" ); // the file exists, it is displayed on the Canvas
cur = tlk.createCustomCursor( img, new Point( 1, 1 ), "DragAndDrop" ); // Exception when running
setCursor( cur );
Please help me. -
Problem declaring and using a REF CURSOR
I'm having a real problem using a REF CURSOR type
Here's the DECLARE and the start of the BEGIN I've so far developed.
DECLARE
TYPE r1 IS RECORD (
szvcapc_pidm szvcapc.szvcapc_pidm%TYPE,
szvcapc_term_code szvcapc.szvcapc_term_code%TYPE,
szvcapc_request_no szvcapc.szvcapc_request_no%TYPE);
szvcapc_rec r1;
TYPE cursor_1 IS REF CURSOR RETURN r1;
szvcapc_cv cursor_1;
TYPE r2 IS RECORD (
stvests_code stvests.stvests_code%TYPE
stvests_rec r2;
TYPE cursor_2 IS REF CURSOR RETURN stvests_rec;
stvests_cv cursor_2;
BEGIN
OPEN szvcapc_cv FOR
SELECT szvcapc_pidm, szvcapc_term_code, szvcapc_request_no
FROM szvcapc
WHERE szvcapc_passed_ind = 'Y'
AND szvcapc_award_credits = 'N';
LOOP
FETCH szvcapc_cv INTO szvcapc_rec;
EXIT WHEN szvcapc_cv%NOTFOUND;
END LOOP;
OPEN stvests_cv FOR
SELECT stvests_code
FROM stvests
WHERE stvests_eff_headcount = 'Y';
LOOP
FETCH stvests_cv INTO stvests_rec;
EXIT WHEN stvests_cv%NOTFOUND;
END LOOP;
SELECT *
FROM (
<snip>
INNER JOIN stvests_rec
ON SFBETRM.SFBETRM_ESTS_CODE = stvests_rec.STVESTS_CODE
<snip>
I later try to use the stvests_rec and szvcapc_rec in the main SELECT statement it doesn't recognise stvests_rec and szvcapc_rec as a "Table or View".
I have to use a REF CURSOR as this code is ultimately for use in Oracle Reports.
What am I doing wrong?> The reason I'm trying to use a REF CURSOR is that I was told that you
couldn't use CURSORs in Oracle Reports.
That does not change anything ito what happens on the Oracle server side. A cursor is a cursor is a cursor.
Every single SQL winds up as a cursor. Each cursor has a reference handle to access and use. HOW this handle is used in the language differs. But that is a language issue and not an Oracle RDBMS issue.
For example. An EXECUTE IMMEDIATE in PL/SQL creates a cursor handle and destroys it after use - automatically. An implicit cursor works the same. An explicit cursor you have the handle fetch from it and close from it when done.
A ref cursor is simply a handle that can be returned to an external client - allowing that application to use the handle to fetch the rows.
Do not think that a ref cursor is any different from the RDBMS side than any other cursor. The RDBMS does not know the difference. Does not care and nor should it.
> I'm trying to reduce the hits on the database from nested selects by
removing the dataset from the main SELECT statement and performing it only
once outside and then referencing this previously collected dataset inside the
main SELECT statement.
Good stuff that you are considering SQL performance. But you need to make sure that you
a) identify the performance inhibitor issue correctly
b) address this issue correctly
And you need to do that within SQL. Not PL/SQL. PL/SQL will always be slower at crunching data than SQL. For example, wanting to cache the data somehow to reduce the read overhead - that is exactly what the DB buffer cache does. It caches data. That is also exactly what the CBO will attempt - reduce the amount of data that needs to be read and processed.
Not saying that the RDBMS can do it all. It needs help from you - in the form of a SQL that instructs it to process only the minimum amount of data required to get the required results. In the form of a sound physical design that provides optimal usage of data storage and access (like indexing, partitioning, clustering, etc).
Bottom line - you cannot use a REF CURSOR to make a SQL go faster. A REF CURSOR is simply a cursor in the SQL Engine. A cursor is nothing but the "compiled-and-executable" code of a SQL "source program". -
How do I use my own sounds from computer in logic?
Hello,
Ok so I'm working with the most recent update of Logic Pro X and I'm having the issue of using my own sounds that i already have inside of a new project on logic. I have a bunch of snares and things already on my computer and I wanted to use them in the software. I know that dragging them into the software doesn't achieve much. I am trying to use them through my maschine mikro. My maschine is already set up as a controller for Logic. My description may be a bit hazy, and if so I'm sorry.Check out 'More like this' >>>>>>>>>> (Next to your original post).
There are several references to this problem ... and some ideas. Always a good place to look. Don't overlook the links within the posts. -
How do I use my own photos for screensaver in Mountain Lion
How do I use my own photos for screensaver in Mountain Lion. I cannot see how to use my photos. It seems that the screensaver is set with factory settings. There appears to be no alternative.
Check out 'More like this' >>>>>>>>>> (Next to your original post).
There are several references to this problem ... and some ideas. Always a good place to look. Don't overlook the links within the posts. -
How can i use the same cursor in a loop fro multipletimes.
I am using two cursors.One to fetch sites and the other to fetch participants under each site.I am performing some job with that participants data.Now the problem is i am using the 2nd cursor in a loop.So it fetches the data of participants falling under one state.But when it comes to the second state,as the second cursor is already open it is unable to fetch the records.Please help me .How can i use the same cursor in a loop fro multipletimes.
I am sending the code which i have written in When-Button-Pressed-Trigger...
declare
sid number;
pid number;
cursor csid is select distinct(site_id) from cyber_ppt;
cursor cpid is select pc_id,st_dt,ed_dt from cyber_ppt where site_id = sid;
stdt varchar2(10);
eddt varchar2(10);
nom number;
stmonth varchar2(10);
edmonth varchar2(10);
cjan number:=0;
cfeb number:=0;
cmar number:=0;
capr number:=0;
cmay number:=0;
cjun number:=0;
cjul number:=0;
caug number:=0;
csep number:=0;
coct number:=0;
cnov number:=0;
cdec number:=0;
i number:=1;
begin
open csid ;
loop
fetch csid into sid;
exit when csid %notfound;
message(sid);
open cpid;
loop
fetch cpid into pid,stdt,eddt ;
exit when cpid %notfound;
message(sid||'-'||pid);
stmonth:=substr(stdt,4,3);
edmonth:=substr(eddt,4,3);
nom:= months_between(eddt,stdt);
while i <= round(nom)
loop
stmonth:=substr(stdt,4,3);
if stmonth='JAN' then
cjan:=cjan+1;
elsif stmonth='FEB' then
cfeb:=cfeb+1;
elsif stmonth='MAR' then
cmar:=cmar+1;
elsif stmonth='APR' then
capr:=capr+1;
elsif stmonth='MAY' then
cmay:=cmay+1;
elsif stmonth='JUN' then
cjun:=cjun+1;
elsif stmonth ='JUL' then
cjul:=cjul+1;
elsif stmonth ='AUG' then
caug:=caug+1;
elsif stmonth ='SEP' then
csep:=csep+1;
elsif stmonth ='OCT' then
coct:=coct+1;
elsif stmonth ='NOV' then
cnov:=cnov+1;
elsif stmonth ='DEC' then
cdec:=cdec+1;
end if;
stdt:=add_months(stdt,1);
i:=i+1;
end loop;
end loop;
end loop;
end;
try this /* untested */
DECLARE
sid NUMBER;
pid NUMBER;
CURSOR csid IS SELECT DISTINCT(site_id) FROM cyber_ppt;
CURSOR cpid(nSid NUMBER) is SELECT pc_id,st_dt,ed_dt FROM cyber_ppt WHERE site_id = nSid;
stdt VARCHAR2(10);
eddt VARCHAR2(10);
nom NUMBER;
stmonth VARCHAR2(10);
edmonth VARCHAR2(10);
cjan NUMBER:=0;
cfeb NUMBER:=0;
cmar NUMBER:=0;
capr NUMBER:=0;
cmay NUMBER:=0;
cjun NUMBER:=0;
cjul NUMBER:=0;
caug NUMBER:=0;
csep NUMBER:=0;
coct NUMBER:=0;
cnov NUMBER:=0;
cdec NUMBER:=0;
i NUMBER:=1;
BEGIN
FOR rec IN csid
LOOP
sid := rec.csid;
FOR cRec IN cpid(sid)
LOOP
pid := cRec.pc_id;
stdt := cRec.st_dt;
eddt := cRec.ed_dt;
stmonth:= SUBSTR(stdt,4,3);
edmonth:= SUBSTR(eddt,4,3);
nom:= months_between(eddt,stdt);
WHILE i <= round(nom)
LOOP
stmonth := SUBSTR(stdt,4,3);
IF stmonth='JAN'
THEN
cjan:=cjan+1;
ELSIF stmonth='FEB' THEN
cfeb:=cfeb+1;
ELSIF stmonth='MAR' THEN
cmar:=cmar+1;
ELSIF stmonth='APR' THEN
capr:=capr+1;
ELSIF stmonth='MAY' THEN
cmay:=cmay+1;
ELSIF stmonth='JUN' THEN
cjun:=cjun+1;
ELSIF stmonth ='JUL' THEN
cjul:=cjul+1;
ELSIF stmonth ='AUG' THEN
caug:=caug+1;
ELSIF stmonth ='SEP' THEN
csep:=csep+1;
ELSIF stmonth ='OCT' THEN
coct:=coct+1;
ELSIF stmonth ='NOV' THEN
cnov:=cnov+1;
ELSIF stmonth ='DEC' THEN
cdec:=cdec+1;
END IF;
stdt:=add_months(stdt,1);
i:=i+1;
END LOOP;
END LOOP;
END LOOP;
END; -
My daughter and I have our own Itunes libraries on a shared computer. However we can access each others libraries by using our own Apple ID. This causes a problem because she was able to access my account and delete some music by mistake. Is their a way that I can ensure no one can access my music?
ThanksEmma,
If two people have separate libraries on the same computer, it is best to put them into two separate Windows User accounts.
Go to Start > Control Panel > User Accounts > Add User Accounts, and get her set up in a separate user account. Then move all her stuff there and from then on the two of you can operate independently on the same computer. -
Use your own iOS app on your own iOS device without buying a developer program.
This is no question; it is simply a request that you make it possible for people with the free developer program to use their own iOS apps that they built themselves without having to pay $99 a year.
This is because loads of people want to build small apps for themselves, and can do so easily now that Xcode is free on the AppStore. The main problem with this is that they have to pay to simply do this.
So this is in a way a petition for all you people who are the same; who have written your own iOS apps for your personal use only, apps that shall not be distributed and only serve to show what you can do or help a family game to get Apple to make this small thing possible for you (us).
So please post here if you want the same.
Thank you.As always, feel free to use Report a Bug for any samples, doc additions, feature requests or enhancements you'd like to see as well. Add your BR# to this thread for reference, thanks.
But I wouldn't hold my breath on this one....it would only result in immediate scams. -
For example on Find-A-Grave when filling in the form to add a memorial there are several blocks that you fill in including location. For some blocks you type in the information and others are pick one of the preset selections. I generally hit the tab key on my keyboard and goes to the next block except when it comes to the preset selection blocks. If I use the tab key to go to the next selection it skips right past the next selection to the selection below that. For example, after I fill in the year I hit the tab key and type u for the United States under the country selection. But in order to get the next block to appear I have to hit tab again (but only when using your browser). Your browser then skips past the state selection to the county selection. Then when I pick the state using the cursor it does it again and drops down to the Bio past the county selection.
When I use Internet Explorer I don't have this problem. I merely hit the tab button on my keyboard and it goes to the next selection rather than as your browser does that is skips to the block below.
Is there some reason you have it set up this way because it is quite annoying to have to go back up each time using the mouse cursor rather than continuing to use the keyboard to fill in everything (typing, tab key or using the arrow keys). To say the least it slows the whole process down a lot. No, it is not my computer. I've had the exact same problem using another computer. No, it is not the find-a-grave website. I just used it as an example. Using your browser forces me to stop using the keyboard to fill in a form and use the mouse and then the keyboard and then the mouse and then the keyboard and then the mouse, etc when it shouldn't be necessary when filling out a form on a website.Are you having the problem with just the one site? Others?
Please post some public linkss.
Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac Options)'' ''' key, and then starting Firefox. Is the problem still there? -
I have been using the HP Laserjet Pro cm1415fnw for over a year without a problem. At the time when I first purchased the unit, I was using a Dell desktop with Windows XP and connected the printer via USB port. I was able to print and scan from my computer, including from within applications that use TWAIN scanning driver such as Word, Acrobat, etc.
I have since upgraded to an HP slimline s5-1160 computer using Windows 7. I installed the Laserjet software from my installation CD's without a problem. The printer is connected to the computer by USB port. I can continue to print without a problem. However, I no longer am able to scan using the HP software (HPscan.exe) nor from within applications that use TWAIN scanning driver such as Word, Acrobat, etc. When I attempt to do so, it takes a long time before it asks me what TWAIN scan driver to select. When I select the HP cm1410 MFP series, the program either crashes or reverts to the state it was before I attempted to scan an image into a document from within the program.
I can however scan successfully using the Windows Scan and Fax wizard or if I choose "Devices and Printers" from the Start Menu and select "Start scan" from the menu after right-clicking the HP printer icon. However this option limits my use of the scanner -- I cannot scan to a PDF nor can I scan multiple pages into an OCR application. I'm forced to scan to either a JPG or TIF or PNG.
As for attempting to resolve this problem I have done the following with no success:
Uninstall and reinstall the full software and drivers (and using the most recent version on the HP website)
Change USB ports and/or cables
Run the HP scan diagnostic utility, which seems to show an error at the WIA scanning step and then recommends that I uuninstall and reinstall the full software. When I skip that and allow it to check for TWAIN scanning, it gives me a similar error, suggesting that I use the most recent version of the drivers (the driver that I am using is v 3.0 dated 11/12/2009) Therefore in this case the HP scan diagnostic utility does NOT provide a fix for this problem other than uninstall and reinstall, which I have done several times to no avail
Contact HP support both for the computer and the multifunction printer (which as I understand are different support staff). The printer staff claims it's a software problem and that the computer staff should be able to resolve it (something about not having "launchpad" installed properly. When I contact the computer staff, they claim it's a printer driver issue. So I am at a standstill
I researched the HP support forums only to find from this link - http://h10025.www1.hp.com/ewfrf/wc/document?docname=c02661093&cc=us&dlc=en&lc=en&product=4089468&tmp... - that if you cannot scan from HP software that you can use the programs that rely on WIA drivers (Windows Fax and Scan) which I already know I can do but implies that HP does NOT have a solution for how to scan using their own software!
My gut tells me that this is one of those problems that many others may have but for which there is no workable solution. It's possible that during the course of uninstalling and reinstalling the software, remnants may remain behind that prevent proper functioning of the drivers, but without knowing how to specifically "clean" those remnants before reinstalling the software, I am at a loss. Oh and by the way, I've also tried using CCleaner and Norton Registry Cleaner in an attempt to clean those remnants, but that effort didn't help.
My question is basically this... does anyone know of a fix around this problem or must I resign myself to using the Windows Fax and Scan wizard to scan in documents and images and forget about using TWAIN programs as HP seems to be suggesting? I would think that given that I am using an HP printer/scanner along with an HP computer with Windows 7 that this problem should NOT be a problem!
This question was solved.
View Solution.Before attempting to install the printer on my computer (HP slimline s5-1160), I had been able to successfully install the printer previously on two other computers: a Lenovo T-410 laptop (work computer using Windows XP) and an HP Pavilion Elite HPE (wife's computer using Windows 7).
On those computers, I can use the TWAIN driver from within applications without a problem, and the HPSCAN.exe file works as well. Both computers connect to the printer wirelessly.
It is while trying to install the printer on my home computer via USB that I am having all sorts of difficulty. I have also tried to connect my s5-1160 to the printer wirelessly from my computer. I also checked the Windows Services, and all seems fine there. I also tried switching USB ports and cables. Again, no luck with the scanning using TWAIN driver.
One other point: when I use the original installation CD that came with the printer to install on the s5-1160, the installation seems to stop when it says "Checking requirements for installation" That didn't happen with the two other computers. However, that problem doesn't happen the s5-1160 when I used the more recent version of the full software from the HP website.
Let me reiterate. I have never had any problems with printing from any computer. The scanner works fine from my s5-1160 if I resort to using the scanner and fax wizard using the WIA drivers. What I am unable to do is to get the scanner to work from within an application using the TWAIN driver or if I use the native HP application (hpscan.exe). Nothing seems to happen. Because of that I cannot scan directly into a PDF.
And the only fix that the HP scan diagnostic utility continues to recommend is that I uninstall and reinstall the software. It shows errors in the WIA scanning step and TWAIN step.
Is it possible that because of behind-the-scenes Windows updates that my s5-1160 is receiving that a software conflict is created that prevents the TWAIN driver from functioning properly? Other than that I am at a loss to figure out why this is happening. -
Problems using TimeMachine from two Macs to IOMega Home Media Drive
Hi,
This has been driving me crazy for a couple of weeks now, so I'm hoping that someone here can point me in the right direction.
I have a PPC G5 and my wife uses an iMac. I recently bought an IOMega Home Media Drive and wanted to use it with TimeMachine. I set up the G5 and got that working, but when I tried to add my wife's iMac I've had nothing but problems.
I tried resetting the IOMega back to factory defaults, deleting and then re-creating the backups folder, using usernames and passwords or a guest account, and nothing seems to work. I occasionally do something that breaks it on the G5 (running 10.5.8) but I have been able, for the most part, to get it working again, but it's never worked from my wife's iMac (running 10.6.2).
I even tried creating the sparsebundles by hand and copying them in which seemed to work on the G5 but not on the iMac. I thought that the problem might be trying to back up two systems to the same share, but I'm not sure how to split them. Is there a way to create separate backup shares on the IOMega (which seems to connect using AFP even though I've seen references to SMB in some of the forums) so that each system would use its own? Is there a general problem when trying to back up two Macs to the same network share?
The error that I tend to get is that the "backup volume is read only". On the iMac the current error I'm getting, after creating the hostname.sparsebundle image (oddly enough when TimeMachine tried creating it yesterday it dropped the MAC address...not sure why), is: "/Volumes/backups-1/hostname.sparsebundle could not be created (error 45)."
Any help would be greatly appreciated, this has been very frustrating.
Thanks,
RobHi,
You don't want to hear this, but Time Machine does not back up to network drives, except Time Capsules or a shared drive on another Mac running Leopard or Snow Leopard on the same local network. It will often back-up to a USB drive connected to an Airport Extreme, but even that is, technically, unsupported, and may require running a special Terminal command to make it work.
Here's the official word: http://support.apple.com/kb/HT1733
You may find some hardware or "hacks" that might make it work, in some cases, to a degree. But use them at your own risk.
First, since this is *unsupported by Apple,* there's nowhere to go when there's trouble.
Second, you're risking a future update preventing it from working, and perhaps rendering your backups useless.
No guarantees, of course, but this might help: https://iomega-na-en.custhelp.com/cgi-bin/iomegana_en.cfg/php/enduser/std_adp.php?p_faqid=22012&p_created=1246919828&p_sid=KBbtj nNj&p_accessibility=&p_redirect=&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PWRmbHQmcF9 ncmlkc29ydD0mcF9yb3dfY250PTEwLDEwJnBfcHJvZHM9MTAzMSwxMDQzJnBfY2F0cz0mcF9wdj0yLjE wNDMmcF9jdj0mcF9zZWFyY2hfdHlwZT1hbnN3ZXJzLnNlYXJjaF9ubCZwX3BhZ2U9MSZwX3NlYXJjaF9 0ZXh0PXRpbWUgbWFjaGluZQ**&p_li=&ptopview=1 -
Safari crashes or will not quit also the same problem using Yahoo Mail
Iv been having a problem using Safari & Yahoo Mail. When opening specific e-mails or opening attachments withing the e-mail, Safari will crash. Not once or twice, but 2, 3, 4 or more times. Each time I send in a report to Apple telling them what is happening. I do not have the same problem if I use "Camino" with Yahoo Mail.
I'm also having problems in that there are times when Safari seems to just be sitting there and not opening a page or will not quit when I hit the "Quit Safari" button. It will just sit there and if I bring up the "Force Quit Application" it shows that Safari is (not responding). Then I have to Force Quit Safari to get it to do something.
Know this is really 2 situations, but does it mean that Safari is corrupted? Is it possible to have to much in Safari? To many bookmarks, to many RSS, things like that? Does Safari have it's own max like your HD?Morning Maria,
Thanks for the help. I'll try to post the thing I found in the crash log, but it seems to be rather large. Checked and re-checked, but what I'm posting is the only thing that started or stopped like you said at the end. The entire thing runs for pages and pages. Remember I said that it's been an on going problem where Safari will crash 2,3,4 or more times in a 5 minute period. I send a report when ever that report window pops up. That adds up to a lot, LOL.
If I understand you right as well. You're saying that the Safari cache folder should show a big flat ZERO if the cache is emptied and then I go back to check the folder. Does that mean then that when I empty the cache from Safari>Empty Cache ... that it isn't doing exactly everything? So that I will have to start going to Preferences to do it or to remove that folder more?
BTW, does it hurt if I would remove and trash all those crash report logs that are in the files? Right now it shows 10.8MB in there.
Okay, not that this will help, but here is what I found on the Safari crash log:
Host Name: Macintosh
Date/Time: 2007-04-22 09:56:44.165 -0500
OS Version: 10.4.9 (Build 8P135)
Report Version: 4
Command: Safari
Path: /Applications/Safari.app/Contents/MacOS/Safari
Parent: WindowServer [58]
Version: 2.0.4 (419.3)
Build Version: 1
Project Name: WebBrowser
Source Version: 4190300
PID: 206
Thread: 0
Exception: EXCBADACCESS (0x0001)
Codes: KERNINVALIDADDRESS (0x0001) at 0x14218191
Thread 0 Crashed:
0 com.apple.WebCore 0x95d5e458 RenderArena::allocate(unsigned long) + 48
1 com.apple.WebCore 0x95d5f498 khtml::RenderStyle::operator new(unsigned long, RenderArena*) + 28
2 com.apple.WebCore 0x95d6ff80 khtml::CSSStyleSelector::styleForElement(DOM::ElementImpl*, khtml::RenderStyle*, bool) + 264
3 com.apple.WebCore 0x95d6fd70 DOM::NodeImpl::createRendererIfNeeded() + 104
4 com.apple.WebCore 0x95d6fcf0 DOM::ElementImpl::attach() + 24
5 com.apple.WebCore 0x95d6ed88 KHTMLParser::insertNode(DOM::NodeImpl*, bool) + 2440
6 com.apple.WebCore 0x95d6cfa0 KHTMLParser::parseToken(khtml::Token*) + 612
7 com.apple.WebCore 0x95d6a084 khtml::HTMLTokenizer::processToken() + 460
8 com.apple.WebCore 0x95d6b9c0 khtml::HTMLTokenizer::parseTag(khtml::TokenizerString&) + 6256
9 com.apple.WebCore 0x95d6990c khtml::HTMLTokenizer::write(khtml::TokenizerString const&, bool) + 928
10 com.apple.WebCore 0x95da34c4 khtml::HTMLTokenizer::timerEvent(QTimerEvent*) + 244
11 com.apple.WebCore 0x95da3384 -[KWQObjectTimerTarget sendTimerEvent] + 80
12 com.apple.Foundation 0x92be5f68 __NSFireTimer + 116
13 com.apple.CoreFoundation 0x907f2578 __CFRunLoopDoTimer + 184
14 com.apple.CoreFoundation 0x907deef8 __CFRunLoopRun + 1680
15 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
16 com.apple.HIToolbox 0x9329bb20 RunCurrentEventLoopInMode + 264
17 com.apple.HIToolbox 0x9329b1b4 ReceiveNextEventCommon + 380
18 com.apple.HIToolbox 0x9329b020 BlockUntilNextEventMatchingListInMode + 96
19 com.apple.AppKit 0x937a0ae4 _DPSNextEvent + 384
20 com.apple.AppKit 0x937a07a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
21 com.apple.Safari 0x00006740 0x1000 + 22336
22 com.apple.AppKit 0x9379ccec -[NSApplication run] + 472
23 com.apple.AppKit 0x9388d87c NSApplicationMain + 452
24 com.apple.Safari 0x0005c77c 0x1000 + 374652
25 com.apple.Safari 0x0005c624 0x1000 + 374308
Thread 1:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92bf2170 -[NSRunLoop runMode:beforeDate:] + 172
5 com.apple.Foundation 0x92bf20a8 -[NSRunLoop run] + 76
6 com.apple.WebKit 0x95b86e30 +[WebFileDatabase _syncLoop:] + 176
7 com.apple.Foundation 0x92be31a0 forkThreadForFunction + 108
8 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 2:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92c0a6a8 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
5 com.apple.Foundation 0x92be31a0 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 3:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
4 com.apple.Foundation 0x92c0b7e8 +[NSURLCache _diskCacheSyncLoop:] + 152
5 com.apple.Foundation 0x92be31a0 forkThreadForFunction + 108
6 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 4:
0 libSystem.B.dylib 0x9001fc2c select + 12
1 com.apple.CoreFoundation 0x907f1434 __CFSocketManager + 472
2 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 5:
0 libSystem.B.dylib 0x9002c768 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003124c pthreadcondwait + 480
2 com.apple.Foundation 0x92bea30c -[NSConditionLock lockWhenCondition:] + 68
3 com.apple.Syndication 0x9b13142c -[AsyncDB _run:] + 192
4 com.apple.Foundation 0x92be31a0 forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 6:
0 libSystem.B.dylib 0x9002c768 semaphorewait_signaltrap + 8
1 libSystem.B.dylib 0x9003124c pthreadcondwait + 480
2 com.apple.Foundation 0x92bea30c -[NSConditionLock lockWhenCondition:] + 68
3 com.apple.AppKit 0x9383d708 -[NSUIHeartBeat _heartBeatThread:] + 324
4 com.apple.Foundation 0x92be31a0 forkThreadForFunction + 108
5 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 7:
0 libSystem.B.dylib 0x90055648 semaphoretimedwait_signaltrap + 8
1 libSystem.B.dylib 0x90071e88 pthreadcond_timedwait_relativenp + 556
2 ...ple.CoreServices.CarbonCore 0x90bf74b8 TSWaitOnSemaphoreCommon + 176
3 ...ple.CoreServices.CarbonCore 0x90bf730c AsyncFileThread(void*) + 56
4 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 8:
0 libSystem.B.dylib 0x9000b6e8 machmsgtrap + 8
1 libSystem.B.dylib 0x9000b63c mach_msg + 60
2 ...romedia.Flash Player.plugin 0x061bb688 nativeShockwaveFlashTCallFrame + 1368296
3 libSystem.B.dylib 0x9002c0a8 pthreadbody + 96
Thread 0 crashed with PPC Thread State 64:
srr0: 0x0000000095d5e458 srr1: 0x000000000200f030 vrsave: 0x00000000fff00000
cr: 0x28024224 xer: 0x0000000000000004 lr: 0x0000000095d5f498 ctr: 0x0000000095fdf664
r0: 0x0000000095d5f498 r1: 0x00000000bfffe070 r2: 0x0000000005e9d4ac r3: 0x0000000014218191
r4: 0x000000000000003c r5: 0x0000000000000000 r6: 0x0000000000000001 r7: 0x0000000000000001
r8: 0x0000000005f02e81 r9: 0x0000000008119a40 r10: 0x0000000005f00e7d r11: 0x0000000005e9d470
r12: 0x0000000095fdf664 r13: 0x0000000000000000 r14: 0x0000000000000001 r15: 0x0000000000000001
r16: 0x0000000000000000 r17: 0x0000000000000000 r18: 0x00000000000064d7 r19: 0x0000000000000000
r20: 0x000000001017d27b r21: 0x00000000873141c0 r22: 0x0000000000000054 r23: 0x0000000000412a00
r24: 0x0000000000000000 r25: 0x0000000000000001 r26: 0x0000000008119a40 r27: 0x0000000008119a40
r28: 0x0000000000000000 r29: 0x0000000000000001 r30: 0x0000000007b91090 r31: 0x0000000095d6fe84
Binary Images Description:
0x1000 - 0xdcfff com.apple.Safari 2.0.4 (419.3) /Applications/Safari.app/Contents/MacOS/Safari
0x3734000 - 0x3736fff com.apple.textencoding.unicode 2.0 /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x3fbb000 - 0x4023fff com.DivXInc.DivXDecoder 6.4.0 /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder
0x5f05000 - 0x6219fff com.macromedia.Flash Player.plugin 9.0.28 (1.0.4f22) /Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player
0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld
0x90000000 - 0x901bdfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x90215000 - 0x9021afff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x9021c000 - 0x90269fff com.apple.CoreText 1.0.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
0x90294000 - 0x90345fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x90374000 - 0x9072ffff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x907bc000 - 0x90895fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x908defff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x908e0000 - 0x909e2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x90a3c000 - 0x90ac0fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x90aea000 - 0x90b5afff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b70000 - 0x90b82fff libauto.dylib /usr/lib/libauto.dylib
0x90b89000 - 0x90e60fff com.apple.CoreServices.CarbonCore 681.10 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90ec6000 - 0x90f46fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90f90000 - 0x90fd1fff com.apple.CFNetwork 4.0 (129.20) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x90fe6000 - 0x90ffefff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x9100e000 - 0x9108ffff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x910d5000 - 0x910fffff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
0x91110000 - 0x9111efff libz.1.dylib /usr/lib/libz.1.dylib
0x91121000 - 0x912dcfff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x913db000 - 0x913e4fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x913eb000 - 0x913f3fff libbsm.dylib /usr/lib/libbsm.dylib
0x913f7000 - 0x9141ffff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x91432000 - 0x9143dfff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x91442000 - 0x914bdfff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x914fa000 - 0x914fafff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x914fc000 - 0x91534fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x9154f000 - 0x91621fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x91674000 - 0x91705fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x9174c000 - 0x91803fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x91840000 - 0x9189efff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x918cd000 - 0x918f1fff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x91905000 - 0x9192afff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x9193d000 - 0x9197ffff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x9199b000 - 0x919affff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x919bd000 - 0x91a03fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
0x91a1a000 - 0x91ae1fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x91b2f000 - 0x91b44fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x91b49000 - 0x91b67fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91b6d000 - 0x91c24fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c73000 - 0x91c77fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91c79000 - 0x91ce1fff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
0x91ce6000 - 0x91d23fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x91d2a000 - 0x91d43fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
0x91d48000 - 0x91d4bfff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91d4d000 - 0x91e2bfff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x91e4b000 - 0x91e4bfff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x91e4d000 - 0x91f32fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x91f3a000 - 0x91f59fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x91fc5000 - 0x92033fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x9203e000 - 0x920d3fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x920ed000 - 0x92675fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x926a8000 - 0x929d3fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x92a03000 - 0x92af1fff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x92af4000 - 0x92b7cfff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x92bbd000 - 0x92de8fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92f15000 - 0x92f33fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x92f3e000 - 0x92f98fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x92fb6000 - 0x92fb6fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x92fb8000 - 0x92fccfff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x92fe4000 - 0x92ff4fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x93000000 - 0x93015fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x93027000 - 0x930aefff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x930c2000 - 0x930cdfff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x930d7000 - 0x93104fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x9311e000 - 0x9312efff com.apple.print.framework.Print 5.0 (190.1) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x9313a000 - 0x931a0fff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x931d1000 - 0x93220fff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x9324e000 - 0x9326bfff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x9327d000 - 0x9328afff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x93293000 - 0x935a1fff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x936f1000 - 0x936fdfff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x93702000 - 0x93722fff com.apple.DirectoryService.Framework 3.1 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
0x93796000 - 0x93796fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x93798000 - 0x93dcbfff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94158000 - 0x941cafff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x94203000 - 0x942c7fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x94319000 - 0x94319fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9431b000 - 0x944dbfff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x94525000 - 0x94562fff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
0x9456a000 - 0x945bafff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
0x945c3000 - 0x945d7fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9466d000 - 0x946a5fff com.apple.vmutils 4.0.0 (85) /System/Library/PrivateFrameworks/vmutils.framework/Versions/A/vmutils
0x946e8000 - 0x94704fff com.apple.securityfoundation 2.2 (27710) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
0x94718000 - 0x9475cfff com.apple.securityinterface 2.2 (27692) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
0x94780000 - 0x9478ffff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x94797000 - 0x947a3fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x947e9000 - 0x94801fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x94808000 - 0x94addfff com.apple.QuickTime 7.1.5 /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x94ba1000 - 0x94c12fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x94c85000 - 0x94ca5fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x94dad000 - 0x94eddfff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
0x94f6f000 - 0x94f7efff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
0x94f86000 - 0x94fb3fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
0x94fba000 - 0x94fcafff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
0x94fce000 - 0x94ffdfff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x9500d000 - 0x9502afff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x95b84000 - 0x95c12fff com.apple.WebKit 419 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
0x95c6e000 - 0x95d04fff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
0x95d41000 - 0x9604dfff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
0x961d6000 - 0x961fffff libxslt.1.dylib /usr/lib/libxslt.1.dylib
0x974b9000 - 0x974d8fff com.apple.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x97cde000 - 0x97cebfff com.apple.agl 2.5.6 (AGL-2.5.6) /System/Library/Frameworks/AGL.framework/Versions/A/AGL
0x99537000 - 0x9a0e4fff com.apple.QuickTimeComponents.component 7.1.5 /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
0x9b12e000 - 0x9b164fff com.apple.Syndication 1.0.6 (54) /System/Library/PrivateFrameworks/Syndication.framework/Versions/A/Syndication
0x9b181000 - 0x9b193fff com.apple.SyndicationUI 1.0.6 (54) /System/Library/PrivateFrameworks/SyndicationUI.framework/Versions/A/Syndicatio nUI -
Problems using java.xml.xpath - How to get values from DTMNodeList?
Sorry for the waffle in the subject title, but I was unsure what to call it. I hope this thread is in the correct forum.
I'm having problems using xpath to parse some data from an XML file. I am able to create an expression which obtains the elements I wish to retreive, but I'm unsure on how to go about getting their values. So far I have..
public int getTerms(int PMID)
String uri = "http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id="
+ PMID + "&retmode=xml";
// Create an XPath object with the XPathFactory class
XPathFactory factory = XPathFactory.newInstance();
XPath xPath = factory.newXPath();
// Define an InputSource for the XML article
InputSource inputSource = new InputSource(uri);
// Create the expression
String expression = "/PubmedArticleSet/PubmedArticle/MedlineCitation/MeshHeadingList/MeshHeading/DescriptorName";
// Use this expression to obtain a NodeSet of all the MeSH Headings for the article
try
DTMNodeList nodes = (DTMNodeList) xPath.evaluate(expression,
inputSource, XPathConstants.NODESET);
int length = nodes.getLength();
String[] terms = new String[length];
// Test mesh terms are being stored.
*for (int i=0; i<length; i++)*
* System.out.println(i + ": " + nodes.item(i).getNodeValue());*
return nodes.getLength();
catch (XPathExpressionException e2)
{ System.out.println("Article with PMID " + PMID + " has no associated MeSH terms");}
// return a default
return 0;
} The part in bold is the problematic code. I wish to retreive the values of each of the nodes I have taken into my DTMNodeList using a for loop to iterate through each node, and use the getNodeValue() method from the Node class which should return a string. However, the values I retreive are NULL. In the test document I use, the elements do have values.
Here is a snippet of the XML file I am reading in:
<MeshHeadingList>
<MeshHeading>
<DescriptorName MajorTopicYN="N">Binding Sites</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Chromatium</DescriptorName>
<QualifierName MajorTopicYN="Y">enzymology</QualifierName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="Y">Cytochrome c Group</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Electron Spin Resonance Spectroscopy</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Flavins</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Heme</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Hydrogen-Ion Concentration</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Iron</DescriptorName>
<QualifierName MajorTopicYN="N">analysis</QualifierName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Magnetics</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Oxidation-Reduction</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Protein Binding</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Protein Conformation</DescriptorName>
</MeshHeading>
- <MeshHeading>
<DescriptorName MajorTopicYN="N">Temperature</DescriptorName>
</MeshHeading>
</MeshHeadingList>Any help would be appreciated.. thanks :-)Answered my own question....
The element value is actually the child of the node I am current at, so instead of doing:
i + ": " + nodes.item(i).getNodeValue()); I should have really done:
i + ": " + nodes.item(i).getChildNode().getNodeValue()); -
Problems using version set in Elements 9
Hi!
I have problems using the version set. When saving files in the Element 9 editor I can not mark the "version set" option, its not highlighted and not possible to mark or use. Is there a basic setting that I´m missing or??? I have the MAC version of Elements.
Also I have noticed that when I have edited a file in the Elements 9 editor and I come back to the Organizer the editor have changed the time of the photo? This means that its rather difficult to find the photo in the Organiser. It often change the time 1 or 2 hours.
As I cant use the version set I can not keep my tags on the edited pictures. Is there a setting for keeping the tags and catalogue belongings to a edited file?
As of today this software makes no sense to me and I can basically not keep working with it as it does not support basic functionality that I´m dependent on.
Best Re
AI’m not seeing this in my own version sets in PSE9; when I expand the set every image has the same date and time under each thumbnail.
I’m wondering if you have used the “save for web” command at some point, which
wipes all EXIF metadata, including the date & time of the original - in order to optimize the image for display on the internet. So if you have imported such an image Elements has to make an estimate. Apart from this known scenario I can’t really explain what’s going on. -
Problem using jsp:include from inside a custom tag
Hi, All !
I have a problem using <jsp:include> from inside a custom tag. Exception is:
"java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
could not do this. Is it a bug, since in the 1.1 spec is said: "The
BodyContent is a subclass of JspWriter that can be used to process body
evaluations so they can retrieved later on."
My code is:
<wfmklist:items>
<jsp:include page="item.jsp" flush="true"/>
</wfmklist:items>
This is an area of contention with WL. It is not so tolerant with regards to
the spec. I spent several days recently trying to convince it to accept the
specification in regards to bodies and includes and it appears to have
successfully rebuffed my efforts.
Frankly, this is very disappointing. It appears that some shortcuts were
taken on the way to JSP 1.1 support, and the result is a very hard-coded,
inflexible implementation. As I have not seen the implementation myself, I
hate to assume this, however one could posit that the term "interface" was a
foreign concept during the implementation, other than as some annoying
intermediary reference requiring an immediate cast to a specific Weblogic
class, which in turn is apparently required to be final or have many final
methods, as if being optimized for a JDK 1.02 JIT.
I am sorry that I don't have any positive suggestions other than to use a
URL object to come back in an execute the necessary "include" directly. You
lose all context (other than session) and that can cause its own problems.
However, you can generally get the URL approach to work, and you will
hopefully avoid further frustration.
Peace,
Cameron Purdy
Tangosol, Inc.
http://www.tangosol.com
Tangosol: How Weblogic applications are customized
"Denis" <[email protected]> wrote in message
news:[email protected]...
> Hi, All !
> I have a problem using <jsp:include> from inside a custom tag. Exception
is:
> "java.lang.ClassCastException: weblogic.servlet.jsp.BodyContentImpl"
>
> Apparently, weblogic tries to cast BodyContentImpl to JspWriterImpl and
> could not do this. Is it a bug, since in the 1.1 spec is said: "The
> BodyContent is a subclass of JspWriter that can be used to process body
> evaluations so they can retrieved later on."
>
> My code is:
> ...
> <wfmklist:items>
> <jsp:include page="item.jsp" flush="true"/>
> </wfmklist:items>
> ...
Maybe you are looking for
-
The quicktime plugin doesn't play mp3 in Firefox
I've got a webpage with <a href="audiofile.mp3" target="a_frame">link text</a>. This page is part of a website that I'm webmaster on. Clicking on the link always plays the audio in Safari but is inconsistent in Firefox in my iMac (OSX 10.6.8). Some
-
I can't use my auxiliary jack which can be really inconvenient. Do you think it will have to be sent in to be sorted?
-
Layout problem in Swing.
Hi, I have made an application in Swing containing Grouplayout on the panel. On that panel I keep on dragging and dropping Swing Components like push button, textboxes etc and then save it using XMLEncoder i.e. I save the complete panel. After saving
-
Why Can't I order stuff from IPhoto?
I am trying to order a book from iPhoto but when I go to 'New Book' in the File menu and try to click on any of the options my iMac just freezes. I get the word 'LOADING' but the gearwheel is stationary and the beachball of death is spinning merri
-
TCD - Peripheral Call Type 9 & 10 Strange Behaviour
Hi all, I'm trying to get to the bottom of what causes ICM/UCCE to label a TCD record with Peripheral Call Type 9 or 10. 9 = Out 10 = Agent Inside These values are used to populate the interval tables with ExternalOut and InternalOut I'm seeing stran