Error Messages.. in the console? should I be alarmed
I have been having problems using Safari & Apple suggested Firefox instead .
Looking in my error Console within Firefox, I get the following messages..
Should I be alarmed>?
THESE ARE ONLY A FEW I PASTED:---
Warning: Unknown property 'behavior'. Declaration dropped.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 68Warning: Unknown property 'behavior'. Declaration dropped.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 77Warning: Unknown property '_background'. Declaration dropped.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 82Warning: Expected declaration but found '*'. Skipped to next declaration.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 83Warning: Unknown property '_float'. Declaration dropped.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 94Warning: Unknown property 'behavior'. Declaration dropped.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 101Warning: Unknown property '_cursor'. Declaration dropped.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 102Warning: Unknown property 'behavior'. Declaration dropped.
Source File: http://discussions.apple.com/global/nav/styles/nav.css
Line: 105Warning: Expected color but found '#0'. Error in parsing value for property 'color'. Declaration dropped.
Source File: http://discussions.apple.com/css/discussions.css
Line: 1Warning: Expected ',' or '{' but found '*'. Ruleset ignored due to bad selector.
Source File: http://discussions.apple.com/css/discussions.css
Line: 830Warning: Unknown property 'behavior'. Declaration dropped.
Source File: http://discussions.apple.com/global/styles/base.css
Line: 15
Hi heidimex,
Thanks for visiting Apple Support Communities.
If you are an iTunes Match subscriber, you can download your music again using iTunes.
The download button will be displayed next to items that are available for download from iCloud. If the download button is not visible, this means that the item already exists locally in your iTunes library.
You can find this information here:
iTunes Store: Subscribing to iTunes Match
http://support.apple.com/kb/ht4914
Regards,
Jeremy
Similar Messages
-
When I use the export function of quicklime (export to iPad,iPhone, Apple TV ... format), nothing append and I have the following error message on the monitor windows, (I'm using quicktime Version 10.4 (833) with OS X Yosemite ):
06/11/2014 22:22:03,507
QuickTime Player[1723]
postExceptionEvent caught non-fatal NSInvalidArgumentException '*** -[NSDictionary initWithObjects:forKeys:]: count of objects (0) differs from count of keys (4)' with backtrace (
0 CoreFoundation 0x00007fff8ac6564c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff8924f6de objc_exception_throw + 43
2 CoreFoundation 0x00007fff8ab98dcd -[NSDictionary initWithObjects:forKeys:] + 941
3 Foundation 0x00007fff8a6a8bcc -[NSDictionary(NSDictionary) initWithCoder:] + 245
4 Foundation 0x00007fff8a686150 _decodeObjectBinary + 2872
5 Foundation 0x00007fff8a6854a6 _decodeObject + 278
6 Foundation 0x00007fff8a6a9921 -[NSKeyedUnarchiver decodeObjectOfClasses:forKey:] + 173
7 Foundation 0x00007fff8a75f2b4 -[NSError initWithCoder:] + 253
8 Foundation 0x00007fff8a686150 _decodeObjectBinary + 2872
9 Foundation 0x00007fff8a6854a6 _decodeObject + 278
10 Foundation 0x00007fff8a6ab0c9 +[NSKeyedUnarchiver unarchiveObjectWithData:] + 89
11 QuickTime Player 0x000000010dcd8253 QuickTime Player + 758355
12 QuickTime Player 0x000000010dc8981f QuickTime Player + 436255
13 QuickTime Player 0x000000010dc894fb QuickTime Player + 435451
14 QuickTime Player 0x000000010dc6ce48 QuickTime Player + 319048
15 AppKit 0x00007fff93c5d75a __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke1714 + 113
16 AppKit 0x00007fff93c4efca -[NSDocument continueActivityUsingBlock:] + 323
17 AppKit 0x00007fff93c5d5cb __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke_21706 + 458
18 AppKit 0x00007fff93c5d0ec __85-[NSDocument runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_ invoke1690 + 1365
19 AppKit 0x00007fff940903b6 -[NSVBSavePanel didEndPanelWithReturnCode:] + 68
20 AppKit 0x00007fff9409323d -[NSVBSavePanel didEndSheet:returnCode:contextInfo:] + 154
21 AppKit 0x00007fff93f718d9 -[NSWindow _endWindowBlockingModalSession:returnCode:] + 315
22 AppKit 0x00007fff9409307c -[NSVBSavePanel observeValueForKeyPath:ofObject:change:context:] + 560
23 Foundation 0x00007fff8a677c73 NSKeyValueNotifyObserver + 382
24 Foundation 0x00007fff8a676e48 NSKeyValueDidChange + 463
25 Foundation 0x00007fff8a67b9ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
26 ViewBridge 0x00007fff959cbbd7 -[NSViewBridge nonLocalChangeInProgress:block:] + 382
27 ViewBridge 0x00007fff95a15766 -[NSRemoteViewMarshal exceptionSafeSetRemoteObject:forKey:withReply:] + 275
28 ViewBridge 0x00007fff95a158f1 -[NSRemoteViewMarshal setRemoteObject:forKey:withReply:] + 56
29 CoreFoundation 0x00007fff8ab3e33c __invoking___ + 140
30 CoreFoundation 0x00007fff8ab3e192 -[NSInvocation invoke] + 290
31 ViewBridge 0x00007fff95a1bce3 __deferNSXPCInvocationOntoMainThread_block_invoke + 85
32 ViewBridge 0x00007fff95a1b91e __deferBlockOntoMainThread_block_invoke_2 + 390
33 CoreFoundation 0x00007fff8ab8354c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
34 CoreFoundation 0x00007fff8ab75655 __CFRunLoopDoBlocks + 341
35 CoreFoundation 0x00007fff8ab75196 __CFRunLoopRun + 1814
36 CoreFoundation 0x00007fff8ab74838 CFRunLoopRunSpecific + 296
37 HIToolbox 0x00007fff8cb6f43f RunCurrentEventLoopInMode + 235
38 HIToolbox 0x00007fff8cb6f1ba ReceiveNextEventCommon + 431
39 HIToolbox 0x00007fff8cb6effb _BlockUntilNextEventMatchingListInModeWithFilter + 71
40 AppKit 0x00007fff9383b821 _DPSNextEvent + 964
41 AppKit 0x00007fff9383afd0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
42 AppKit 0x00007fff9382ef73 -[NSApplication run] + 594
43 AppKit 0x00007fff9381a424 NSApplicationMain + 1832
44 libdyld.dylib 0x00007fff8ec845c9 start + 1
timestamp: 22:22:03.507 Thursday 06 November 2014
process/thread/queue: QuickTime Player (1723) / 0x7fff78cd0300 / com.apple.main-thread
code: line 844 of /SourceCache/ViewBridge/ViewBridge-99/ViewBridgeUtilities.m in logCaughtException
#exceptions
06/11/2014 22:22:03,525
com.apple.appkit.xpc.openAndSavePanelService[1748]
remote view failed to set bridge object {
URL = "file:///Users/pascalgros/Documents/Videos%20Maurice%202013/Exports/M2U01020.m4 v";
URLs = (
"file:///Users/pascalgros/Documents/Videos%20Maurice%202013/Exports/M2U01020.m4 v"
index = 1;
result = 1;
} for key most-recent-completion due to Error Domain=com.apple.ViewBridge Code=8 "L’opération n’a pas pu s’achever. (com.apple.ViewBridge erreur 8)." UserInfo=0x61000006ebc0 {com.apple.ViewBridge.error.hint=most-recent-completion, com.apple.ViewBridge.error.description=NSViewBridgeExceptionError}; service call stack was (
0 ViewBridge 0x00007fff959e8b30 -[NSViewServiceMarshal setRemoteObject:forKey:] + 341
1 Foundation 0x00007fff8a677c73 NSKeyValueNotifyObserver + 382
2 Foundation 0x00007fff8a676e48 NSKeyValueDidChange + 463
3 Foundation 0x00007fff8a67b9ad -[NSObject(NSKeyValueObserverNotification) didChangeValueForKey:] + 118
4 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a661407 com.apple.appkit.xpc.openAndSavePanelService + 9223
5 AppKit 0x00007fff93dead5a -[NSSavePanel _dismissModeless:] + 109
6 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a66191c com.apple.appkit.xpc.openAndSavePanelService + 10524
7 AppKit 0x00007fff93ded580 -[NSSavePanel ok:] + 449
8 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a661952 com.apple.appkit.xpc.openAndSavePanelService + 10578
9 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
10 AppKit 0x00007fff93a0a5e7 -[NSApplication sendAction:to:from:] + 410
11 AppKit 0x00007fff93a0a410 -[NSControl sendAction:to:] + 86
12 AppKit 0x00007fff93bdedaf __26-[NSCell _sendActionFrom:]_block_invoke + 131
13 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
14 AppKit 0x00007fff93a52f2c -[NSCell _sendActionFrom:] + 144
15 AppKit 0x00007fff93bc5ab2 -[NSButtonCell _sendActionFrom:] + 39
16 libsystem_trace.dylib 0x00007fff8d3ebcd7 _os_activity_initiate + 75
17 AppKit 0x00007fff93a6da66 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2731
18 AppKit 0x00007fff93a6ccc1 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 491
19 AppKit 0x00007fff93a6c289 -[NSControl mouseDown:] + 714
20 AppKit 0x00007fff93f65fef -[NSWindow _reallySendEvent:] + 12827
21 AppKit 0x00007fff939f065c -[NSWindow sendEvent:] + 368
22 AppKit 0x00007fff939a21e6 -[NSApplication sendEvent:] + 2238
23 ViewBridge 0x00007fff959d18ab -[NSViewServiceApplication sendEventWithoutCatch:withForwarding:] + 652
24 ViewBridge 0x00007fff959d1fbd -[NSViewServiceApplication sendEvent:withForwarding:] + 29
25 AppKit 0x00007fff9382efe8 -[NSApplication run] + 711
26 AppKit 0x00007fff9381a424 NSApplicationMain + 1832
27 libxpc.dylib 0x00007fff88837ef2 _xpc_objc_main + 793
28 libxpc.dylib 0x00007fff88839a9d _parse_sysctl_once + 0
29 ViewBridge 0x00007fff95a20165 xpc_connection_handler + 0
30 ViewBridge 0x00007fff959d4ff7 NSViewServiceApplicationMain + 1892
31 com.apple.appkit.xpc.openAndSavePanelService 0x000000010a665035 main + 208
32 libdyld.dylib 0x00007fff8ec845c9 start + 1
33 ??? 0x0000000000000001 0x0 + 1
timestamp: 22:22:03.525 Thursday 06 November 2014
process/thread/queue: com.apple.appkit.xpc.openAndSavePanelService (1748) / 0x7fff78cd0300 / com.apple.main-thread
code: line 3847 of /SourceCache/ViewBridge/ViewBridge-99/NSViewServiceMarshal.m in __47-[NSViewServiceMarshal setRemoteObject:forKey:]_block_invoke_2
#communications_failureHi,
have you tried to connect on the command line (instead of using R3trans) ?
db2 connect to AE1 user sapae1 using .....
If this works and you have verified that the DB2DB6EKEY is set properly, use dscdb6up to update the password in the password file dscbd6.conf.
Then try again to use R3trans to connect.
Best regards,
Jens -
When trying to uninstall iTune (because the current install has problems; iTune error message states it cannot sync and that I should reinstall the application; also, it fails when I tried to upgrade to the latest release), I get the error message 2324. What should I do to reinstall the application?
That installer error is a "Can't open file" error
It suggest that you may have a corrupt file.
Try running a disk check
http://windows.microsoft.com/en-US/windows7/Check-a-drive-for-errors
If it fixes errors try uninstalling iTunes again.
If that doesn't work, is it possible for find out the name of the problem file, is further information available? Try looking in your Action center - that's on the control panel. Another place is in the Windows Error logs. From the start menu , right click on "Computer" and select manage, then Event viewer.
If nothing emerges, try a manual uninstall of iTunes and related programs according to this method:
http://support.apple.com/kb/HT1923
Don't worry if an uninstall fails, that is expected. Go on to the part where you have to delete files (2. Verify iTunes etc completely deleted) . Hopefully you manage to find a file that can't be deleted, that is the one we will need to deal with. -
I have recently purchased Toshiba 1TB hard drive and I set it up and I was able to transfer all my files onto it such as my music, photos, documents. I had correctly ejected and used it again and all these files were safely stored and accessible afterwards. However after I rebooted my computer as it had been going slow and I had too much clogging it up once I reconnected the external hard drive I have error message saying 'The disk you inserted was not readable by this computer' Three options are Initialize, Ignore or Eject. How do I access all my files? I set it up to work on both mac and windows. I have tried both another mac and windows computer and same issue occurs?? I am worried that all my personal files are gone but am confused as the drive has had absolutely no damage to it as it was in a very short time frame and its never left the same spot. Any help would be greatly appreciated. Thanks
Thanks for your quick response. I had a look at your discussion... I tried it on a Windows machine and I thought that was compatible with ExFAT?
Therefore I need to attempt to use my external hard drive with a machine that boasts OS X 10.6.5 or above and then it should work?
Thanks -
How to give error message for the screen element text field when wrong i/p
How to give error message for the screen element text field when wrong i/p
when wrong input given
eg.
I have a text box with SBOOK-CARRID
so when user give wrong entry in text box i.e LG
then I should give some error stating that the the input is invalid or not available ,
now it showing the error of standard messages,
i want manual message to be displayed when error comes.
Thank you,
Regards,
Jagrut Bharatkumar ShuklaHi all,
Thank you for your valuable reply,
but the thing is that its a screen field,
i.e text box not a selection screen
i created in screen layout
with name sbook-carrid
now i want to get error message display if wrong i/p is given
thank you.
Regards,
Jagrut bharatkumar Shukla, -
How to set error message inside the loop...module pool
Dear all,
Am creating Table Control without wizard. In that i am looping the values, that is, Once if i entered 5 digit values means, 12345-08... the values should be stored in z-table like this 12345,12346,12347,12348 . That is 5-8 it as to update in z table. for this i createdloop at itab and inside that i written a code to count the value and all. and also its clearly updating the value in ztable too. now i want to know, if once again i entered the same value means, like 12345-08.. it as to show error messge.I dont know how to set the condition with error message inside the single loop .... Its all comes under module pool program.
Thanks,
Santhosh.RIf i understood your doubt, here goes the answer.
LOOP AT itab INTO wa_itab. " This is your loop
l_tabix = sy-tabix. "l_tabix receives the line of the loop
READ TABLE itab WITH KEY itab = wa_itab. "itab is the same tab of your loop
IF sy-subrc EQ 0 AND l_tabix NE sy-tabix. "Here the sy tabix have the value of the read table.
* Here you do your error treatment.
ENDIF.
ENDLOOP.
Explanation: When you are looping your internal table, you use a READ TABLE to see the already recorded registers. If the read table finds one register (sy-subrc EQ 0) and the this register is not the one of the current line (l_tabix NE sy-tabix). It means you have a duplicated register.
Maybe there is someway easier to do this, but this is what i thought now.
I hope this was your doubt hehe.
Thales Schmidt -
Error message for the select options
hi.
i want to throw thw error message if the user enters the value not valid(not in the range) for the zregion1 of zbwcntry of the select options.
and user should be able to correct it before moving ahead.
Also,iis not a mandatory field,So if it is initial,it can b blank.
but if the input doesnot lie in the range,it should give error message on the selction screen.
please guid with the line of codes.Check out this code:
TABLES: PERNR.
SELECT-OPTIONS VO_PERNR FOR PERNR-PERNR.
AT SELECTION-SCREEN ON VO_PERNR.
IF VO_PERNR IS INITIAL.
MESSAGE 'Enter some employee IDs' TYPE 'E' DISPLAY LIKE 'S'.
ELSE.
IF '000001' NOT IN VO_PERNR.
MESSAGE 'Employee id: 1, not selected' TYPE 'E' DISPLAY LIKE 'S'.
ENDIF.
ENDIF. -
After Showing ERROR message make the field editable in subscreen.
Hello Experts,
I have a requirment where i have added a subscreen to the standard screen of ME31K for creating the contract. In my Subcreen i have my custom screen fields that i'm updating in EKKO table through include structure.
Now if user forget to fill the details in my custom fields in the subscreen then i'm giving the error message prompting the user to fill the value in fields.
But the problem is the screen is locked there itself i want to make the field editable so that user can enter some value in the fields. I can not use the stuatus or information message here because doing this i will get the item overview screen which should not come as i want to restrict the user to header details only and fill all the custom fields.
Please provide me with your helpful responses.
Thnaks,
NaveenHi Naveen,
Sorry for the delay.
The code which I gave for popup, i hope its being shown in an IF . . . ENDIF.
So in that condition u can add the following :
IF < ur condition >
< Call message FMs >
SET SCREEN SY-DYNNR. "this would set screen to current screen which is 0201
EXIT.
ENDIF.
Other than this if you like you can set some parameters in the PAI of this screen which redirect to current screen based on some conditions.
So u can manually set OK-CODE and CALFCODE as SPACE, but i dont know how much this can impact the process.
So please follow the above code.
This is available in
Main Program SAPMM06E
Source code of MM06EF0F_FCODE_CALL
IF OK-CODE EQ SPACE AND
CALFCODE EQ SPACE.
SET SCREEN SY-DYNNR.
EXIT.
ENDIF.
Hope this helps.
Regards,
Ateet -
Error message while starting Console
Dear All,
I am getting given below error message while starting Console.
Start Failed :2
Invalid Credentials.
tell me the solutionHi Pavan,
Check if you're connected with <SID>adm on OS as said Pinkle and if that user belongs to administrators group.
If yes you can check if the SAP<SID><Instance_number> and SAPOSCOL are started (and in automaticaly start mode).
Regards, -
Error message is 'The Request Error : 400' with SAP Download Manager
Hello,
The authorization object SWDOWNLOAD (download software) is assigned to the My user ID.
But I could not download below that file.
SAP_ABA 710 (4~8)
SAP_BASIS 710 (4~8)
PI_BASIS 2006_1_710 (4~8)
SAP_BW 710 (4~8)
Error message is 'The Request Error : 400' with SAP Download Manager
I logged on to SAP Service Marketplace, software download area /swdc.
I have created objects in the download basket and have received approvals (->Maintenance-Optimizer) where required.
I start the SAP Download Manager and the objects from the download basket are visible in the object list of the program window.
After I choose "Objects for Download", the system starts the download.
In the info-line (in the lower part of the window), the system displays the message 'Processing object...' and then 'The request failed: 400'.Hello,
In these cases the following things should be checked:
1.- Please be sure that you are using the latest Donwload Manager version
2.- S-User and password should be active
3.- Specify the proxy. Please refer to SAP Note 155954
4.- It might be that you are not licensed for the product you want to download.
If the checkings above are correct and the problem is still alive, I would recommend you to open an SAP customer message under component XX-SER-SAPSMP-SDM providing the following information:
1.- The exactly software product name and package or stack number you try to download.
2.- Attach to the message the results of the trace file generated as per note 574885:
574885 - Download Manager: Generate trace file for analysis
I hope this helps you.
Regards,
Blanca -
All of a sudden my iTunes stopped working, and I get the following error messages:
1. the program can't start because MSVCR80.dll is missing from your computer. Try reinstalling the program to fix this problem
and
2. iTunes was not installed correctly. Please reinstall iTunes. Error 7 (Windows error 126).
Now I've checked the forums and followed the advice of uninstalling all Apple applications, rebooting, and reinstalling iTunes.
This is not working. I've tried installing as Administrator but doesn't make any difference at all.
There must be a way to fix this? I'm not a tech geek but I want to avoid having to take my laptop back to factory settings to sort this out.
ThanksClick here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
(99192) -
Wanted to sync up my new IPhone4, and thought that I should make sure I had the most up to date version of ITunes on my desktop first. Tried to get on site, and got an error message saying; "The folder ITunes is on a locked disk or you do not have write permissions for this folder." Cannot get on ITunes at all now. Help! Thx.
In my case its a new computer the old one was stolen and the time machine disk did not work for a restore but did for copying the info to the new mac
-
I have an iPod Nano v4 or 5 and when I connect it to my Hyundai Santa Fe I get an iPod Loading error message. The cable works with the dealer's iPod which is a newer model. The cable came with the car when I purchased it. Please advise. Thanks.
Hi Bander Bunny!
I have a couple of articles that should be able to help you troubleshoot this issue a little further. You may want to try uninstalling and reinstalling iTunes first. This has to be done in a specific manner, and this article can help you do that:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
http://support.apple.com/kb/ht1923
Another option is that you may want to try syncing your iPod nano manually. Here's is an article that pertains to manually managing the content of your iPod nano:
Managing content manually on iPhone, iPad, and iPod
http://support.apple.com/kb/ht1535
It's also possible that this issue resides with your iPod nano. Here is a website that will help you troubleshoot the iPod nano:
Apple - Support - iPod Troubleshooting Assistants
http://www.apple.com/support/ipod/five_rs/
Thanks for using the Apple Support Communities. Have a good one!
-Braden -
Error message -48: The itunes library file cannot be saved.
Hello,
When I open up my itunes i get an error message 48 - the itunes library file cannot be saved. All my data is there - music, podcasts etc. Just wondering if this error message means anything, if so what, and what I can do to fix it?
Thanks!I just called Apple Support and I think they helped me, but I'm still waiting to see if the error message returns. I was experiencing the same problem. Whenever I started iTunes, I would get the -48 error message. Everything else was working fine. Apple Support instructed me to delete some files from a folder and restart my pc. I did this and it seems to have worked. The folder is on my C:/ drive. Using Windows Explorer, I went to my C:/ drive and then opened the following folders in this order: "Documents and Settings", "Administrator", "Application Data", "Apple Computer", "iTunes", "iPod Software Updates". Inside the iPod Software Updates folder, I found four files which I deleted. I then emptied my trash can and restarted my pc. After I restarted my pc and opened iTunes, the error message did not come up. So it looks like my problem has been solved. Just some minor glitch having to do with the last update. I should mention that I did just get an iPod Classic 80 gig which replaced my 30 gig iPod Photo which just died.
-
Hi,
I have HP LaserJet 200 colorMFP M276nw and trying to install the driver on my mac pro; it gives me the error message that the driver is not available.Typically this is caused by the internal list of compatible devices in the Mac being out of date. All you should need to do is disconnect the printer from the Mac, run Apple Software Update (even if there are no updates, the list will still update), restart the Mac, connect the printer to the Mac, and add the print queue. If that doesn't work, let me know.
I am a printer tech for HP. -
Java - Axis2: How to get an error code / error message from the Javascript via SOAP
Hi
In our Java applicsation we call a Javascript in a Indesign CS Server using the following code:
--- SNIP BEGIN ---
// calls the remote service on the indesign server
try {
// create service
ServiceStub oIndsgnSrvStub = new
ServiceStub(sIndesignServer);
// create service parameter
ServiceStub.RunScriptParameters
oIndsgnSrvRSParams = new ServiceStub.RunScriptParameters();
// create arguments with source- and target-file for parameter
ServiceStub.IDSPScriptArg[] oIndsgnSrvSArgs = new ServiceStub.IDSPScriptArg[2];
oIndsgnSrvSArgs[0] = new
ServiceStub.IDSPScriptArg();
oIndsgnSrvSArgs[0].setName("xml-input");
oIndsgnSrvSArgs[0].setValue(sSourceFile);
oIndsgnSrvSArgs[1] = new
ServiceStub.IDSPScriptArg();
oIndsgnSrvSArgs[1].setName("output-file");
oIndsgnSrvSArgs[1].setValue(sTargetFile);
// define service parameter
oIndsgnSrvRSParams.setScriptArgs(oIndsgnSrvSArgs);
oIndsgnSrvRSParams.setScriptFile(sScriptFile);
oIndsgnSrvRSParams.setScriptLanguage("javascript");
oIndsgnSrvRSParams.setScriptText("");
// create runscript
ServiceStub.RunScript oIndsgnSrvRS = new ServiceStub.RunScript();
// set parameter
oIndsgnSrvRS.setRunScriptParameters(oIndsgnSrvRSParams);
//$$$ there should be an answer returned by the InddSrvr
// execute SOAP call
ServiceStub.RunScriptResult oIndsgnSrvRes = oIndsgnSrvStub.RunScript(oIndsgnSrvRS);
if(oIndsgnSrvRes.getErrorNumber() == 0) {
oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_SUCCESS);
bOK = true;
} else {
oServerProdJob.setProdState(CBP_Constant.REMOTEPRODUCTIONSTATE_FAILURE);
bOK = false;
//$$$ should be set, if there is something returned by inddsrvr
//oServerProdJob.setErrorMsg(sErrorMsg);
} catch(Exception e) {
sError += e.getMessage() + "\n";
bOK = false;
--- SNIP END -----
The problem is that we don't get the error code and/or the error message from the Javascript in oIndsgnSrvRes. The error code is always 0 if I set an Integer value as return in the Javascript. If I set a String, there is an Exception in the Java application.
Here is the Java script we use:
--- SNIP BEGIN ---
main();
main()
var sError = "";
var sXMLInput = "";
var sLayoutPath = "";
// get the SDKCodeSnippetRunner object
var cbpAdapter = app.cbpCbpadapterObject
if (cbpAdapter) {
sXMLInput=app.scriptArgs.get("xml-input");
sLayoutOutputFile=app.scriptArgs.get("output-file");
sError = cbpAdapter.doProcess(sXMLInput, sLayoutOutputFile);
return sError; // This give an Exception; if I return an Integer the ScriptResult is always 0
--- SNIP END -----
If I try this with the test application from Adobe I get the error code correctly. But in the Java application, using SOAP, I can't get the error code.
What could be wrong?
Any ideas?
Thanks a lot for the support.
Kind regards
Hansuser11340104 wrote:
Hello -
i am calling sqlplus from a bash shell script. If the sql statement generates an error, how can I return that error code (unsuccessful) back to the bash shell?
Well, let google be your friend,
http://www.google.co.in/search?rlz=1C1GGLS_enIN327IN327&sourceid=chrome&ie=UTF-8&q=sqlplus+error+codes
There are many threads I guess talking about the same issue.
HTH
Aman....
Maybe you are looking for
-
Dashboard prompt filter navigating to different tabular reports
Hi, I was able to implement this halfway. My Dashboard prompt has 4 filters, the fourth filter has three drop down values. "Report with Sales Amount" "Report with Purchase Amount" "Report with both Purchase and Sales" when the user selects the first
-
File to proxy dont get the file name from UDF
Hi Pi gurus, when i try to get the name of the file from the mapping by using the code above in a UDF i simply get a null in place of the real name of the file. here the code that i used: ============================= String SourceFileName = ""; Stri
-
Hi, just bought Adobe CS6 Design standard and i can't download the software?
Hi, Just bought Adobe CS6 Design standard and i can't download the software?
-
Is Premiere Elements 11 compatible with Blackmagic Intensity Shuttle USB 3.0 ?
I have an Intensity Shuttle from Blackmagic to Capture Video and Audio through USB 3.0 Is this divice compatible with Premiere Elements 11 ? Thank you for your help
-
has anyone been able to purchase the autocad 2012 lt edition that apparently is available on mac app store. dont seem to be able to find it?