Error using the XPath function id()
I am using BDBXML 2.2.13. When I submit the following query the execution fails because of the following failed assertion on line 681 of DbXmlNodeImpl.cpp.
collection('test.dbxml')id(/site/people/person[@id='person1']/watches/watch/@open_auction)
DBXML_ASSERT(nt->getInterface(DbXmlNodeTest::gDbXml) != 0);
The failure does not happen if the arguments passed to id are constant, for example the following query works just fine:
collection('test.dbxml')id('person0')/name
The problem seems to be that the function arguments are represented by Pathan objects instead of DbXml objects that are cast back and forth when using the different interfaces.
Is this a know bug in the database or is my query not properly formated?
DB XML 2.2.13 is quite old now. Does that same problem occur with DB XML 2.3.10?
Using the id() function is not going to do what you want it to anyhow, since DB XML does not provide typing information for the XML tree. You'll need to use conventional navigation to get the node that you want.
John
Similar Messages
-
Error using custom xpath function with XSL transformations in BPM
Hi,
We have created a custom xpath function for use with SOA Suite and BPM. This has been built as per specified within the http://docs.oracle.com/cd/E29597_01/dev.1111/e10224/bp_appx_functs.htm#SOASE11100. We have also reviewed the Oracle Sample for mapper-107-ExtensionFunctions (sample demonstrates the use of user-defined extension functions). This has been registered with jDeveloper and SOA within the oracle.soa.ext_11.1.1 (run ant to include in oracle.soa.ext.jar)
We ideally want to use this is BPM within an xsl. However when consuming this function is either BPEL or BPM using an xsl, the xsl fails with an error such as:
XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc("xsl/Transformation_1.xsl", $inputVariable.payload). The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/gwCustomXpathUtil_rev1.0/xsl/Transformation_1.xsl<Line 9, Column 113>: XML-22043: (Error) Extension function error: Method not found 'getWeekDayDate'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
In an Assign it operates fine and returns the expected result. We have included a combination of both of the Config files (ext-mapper-xpath-functions-config.xml and ext-soa-xpath-functions-config.xml) in the META-INF folder, however neither allow the use of this function in the XSL.
I believe there may be an issue getting the custom xpath functions within XSL files. Hence I have also raised an SR. Has anyone experiences of this?
Our SOA / BPM suite environment is using 11.1.1.6.4 and has the following patches applied:
13801175
14406487 (11.1.1.6.4 SOA Bundle)
13896993
13088538
Regards Dave
Edited by: DavidGaskell on Mar 14, 2013 10:08 PMHi All,
I am also facing the same issue...Experts can you please help us.
hi DavidGaskell, did you find any resolution, if so can you share it with me.....
Thanks,
RR -
Multivalue error when using the previous() function
I am getting a multivalue error when using the previous() function on a dimension object in the report. I thought that the previous function was supposed to look at the current report and then look at the previous record's contents. How could this possibly give me a multivalue error when the value is clearly output in the previous row? Anyone have any ideas?
By the way, this is a valuable function for the types of reports that I design. The next() function would be even more valuable.
Thanks for your help.Hi Michael,
Could you please test the following solutions it might help you to resolve the issue.
Solution1:
Use slice and dice to reset all the tables that have #multivalue in it. The only problem with this workaround is they have to do the formatting manually.
Solution2:
Also, test the issue by changing the object to dimension if it is a measure or to measure if it is a dimension.
Regards,
Sarbhjeet Kaur -
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 -
Using the XPATH expression function in Transformation activity
Hi,
I have to map the variable value(other than the source variable) to one of the node in the target variable in the transformation activity. For that I am using the XPATH expression function bpws:getVariableData ('variableName') and map it to corrsponding target node. But this mapping is not at all happening. The same prolem occurs while using function ora:getInstanceID() in transformation function. Then I could find a metalink note id: 387381.1,saying it as the bug in 10.1.2.2 BPEL PM, which they are covering in the next release. But our BPEL PM version is 10.1.3.3. But still the same type of problem occurs.
Please let me know, is there are any solution for using the ora:getInstanceID() , bpws:getVariableData in Transformation activity.Hi,
I dont understand why would you need to use the "bpws:getVariableData" function.
When you are mapping a source-node to a target-node, it usually assigns the value in the source-node to the target-node, which is as good as using the "bpws:getVariableData" function.
So, technically speaking you need to use this function explicitly to achieve that ...
Also, if you want the instance-id, you can use the "ora:getInstanceId()" directly in the BPEL code than using it in the transformation.
Regards,
Madhu. -
IF i'm on a call and try to use the internet function, I get an error message. Is this normal?
Depending on your carrier, with AT&T there shouldn't be a problem.
If you with Verizon, you will need to be on Wifi, to do that. -
How to use the Table Function defined in package in OWB?
Hi,
I defined a table function in a package. I am trying to use that in owb using Table function operator. But I came to know that, owb R1 supports only standalone table functions.
Is there any other way to use the table function defined in a package. As like we create synonyms for functions, is there any other way to do this.
I tryed to create synonyms, it is created. But it is showing compilation error. Finally I found that, we can't create synonyms for functions which are defined in packages.
Any one can explain it, how to resolve this problem.
Thank you,
Regards
Gowtham Sen.Hi Marcos,
Thank you for reply.
OWB R1 supports stand alone table functions. Here what I mean is, the table fucntion which is not inculded in any package is a stand alone table function.
for example say sample_tbl_fn is a table function. It is defined as a function.It is a stand alone function. We call this fucntion as "samp_tbl_fn()";
For exampe say sample_pkg is a package. say a function is defined in a package.
then we call that function as sample_pkg.functionname(); This is not a stand alone function.
I hope you understand it.
owb supports stand alone functions.
Here I would like to know, is there any other way to use the functions which are defined in package. While I am trying to use those functions (which are defined in package -- giving the name as packagename.functionname) it is throwing an error "Invalid object name."
Here I would like know, is there any other way to use the table functions which are defined in a package.
Thank you,
Regards,
Gowtham Sen. -
How do I use the print function to output a numeric variable with a fixed amount of leading zeroes
I need to create an output from a T-SQL query that picks a numeric variable and uses the print function to output with leading zeroes if it is less than three characters long when converted to string. For example if the variable is 12 the output should
be 012 and if the variable is 3 the output should be 003.
Presently the syntax I am using is PRINT STR(@CLUSTER,3) . But if @CLUSTER which is numeric is less than three characters I get spaces in front.
Please help!>> I need to create an output from a T-SQL query .. <<
NO! NO! In RDBMS, we have a presentation layer that handles displays. We do not ever do it in the database. This is fundamental. But more than that, the purpose of PRINT is for debugging in T-SQL and never for output.
You are still writing 1960's COBOL or BASIC, but you want to to it in SQL. You probably picked the wrong data type (a numeric that should be a string) and are trying to repair your design error.
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
How to use the CMS functionality in Sun Portal Server 7.2
Hi All,
How to use the CMS functionality using the ccd.war(Portlet) which is available in the library as i could add it to my channel but not able to show the functionality as it is showing the error msg "You are currently not logged in. Please login." should I create userid and there respective roles inorder to use the CMS functionality.
Has any one used this as I could this in glass fish server.
Any Input is appreciated.
Thanks & regards
SrikanthHave a look at the "*Roles*" section of the portal server 7.2 content management system guide
http://docs.sun.com/source/820-4275/index.html . You can also look at [project mirage|https://mirage.dev.java.net] for some screencasts
Alternatively,
1. ccd.war has 3 portlets in it:
(a) custom content definition portlet
(b) custom content portlet
(c) workflow portlet
2. Inorder to work with these portlets, user needs to be in anyone of the below roles:
(a)Consumer (b) Editor (c) Approver (d) Administrator (e) Submitter (f) Contributor (g) Publisher
3. By default ccd.war gets deployed using a default roles file (/var/opt/SUNWportal/tmp/ccd.roles.properties)
Note: In windows, you may not find this file
4. Access the portlets as a user in any of the role mentioned in the ccd.roles.properties
(OR)
you can use a new roles file which has mapping to your custom roles. For this , undeploy existing ccd.war and deploy again with a new roles.properties file
Hope this helps! -
How to use the pps function from JCOP?
Hi
I'm trying to use the pps function from JCTerminal (JCOP API: [url http://www.cs.ru.nl/~woj/jcopapi/com/ibm/jc/JCTerminal.html#pps(int, int)]pps function ) to connect my client to a virtual card with a specific protocol (T=0).
But I always got the error: "Protocol and parameter selection not supported by this terminal!"
I've tried to make an ATR that support both protocol : [url http://smartcard-atr.appspot.com/parse?ATR=3b909580811fc7dc]3B 90 95 80 81 1F C7 DC.
I really don't know what value to put in the second parameter (baud rate), I've tried with 150000, which is in the range of the ATR but I'm not sure this is correct. And I could't find any example of it.
I'm also not sure where to put the pps command, the specification say directly after a reset, so I tried this implementation:
System.out.print("Start");
readers = TerminalFactory.getDefault().terminals().list(State.CARD_PRESENT);
//If no readers has a card it ends the process
if(readers.isEmpty()){
System.out.println("\nNo card in the reader...");
return;
System.out.println("\nReader Type: "+readers.get(0).toString());
term = (PCSCJCTerminal)JCTerminal.getInstance("PCSC", readers.get(0).toString().substring(15));
term.open();
System.out.println("\nTerminal opened");
//Getting the ATR
atr = new ATR(term.waitForCard(2000));
try {
term.pps(JCTerminal.PROTOCOL_T0, (int)150000);
} catch (Exception e) {
e.printStackTrace();
System.out.println("ATR: "+toHex(atr.getBytes()));
//sending a data 11223344
System.out.println("\nsending data: 11223344");
byte[] responsesend = term.send(0,cmdsend,0,cmdsend.length);
System.out.println("Response data is:" + toHex(responsesend));
//close terminal
term.close();
System.out.println("\nTerminal closed");I've got this output on the console:
<font size="2">StartReader Type: PC/SC terminal Virtual CAD Reader 0
Terminal opened
ATR: 3b 90 95 90 00 81 1f c7 cc
sending data: 11223344
<font color="red">Protocol and parameter selection not supported by this terminal!</font>
at com.ibm.jc.JCTerminal.pps(Unknown Source)
at com.test.essai.main(essai.java:46)
</font>>
And If I take a look at the data exchanged with the card:
<font size="2">Running in Virtual Card mode...
ATR: 3B909580811FC7DC
Waiting for event (power: off, protocol: unknown/undefined)...
Waiting for event (power: off, protocol: unknown/undefined)...
Raw event data: 01
Event: VCAD_EC_POWER_ON (0x01)
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_POWER_ON) ATR: 3b909580811fc7dc
Raw reply data: 003b909580811fc7dc
Sending reply...
Waiting for event (power: on, protocol: unknown/undefined)...
Waiting for event (power: on, protocol: unknown/undefined)...
Raw event data: 06ff11957b
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: ff11957b
Accepting any PPS request parameters: Protocol: t=1; FI=9, DI=5
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: ff11957b
Raw reply data: 00ff11957b
Sending reply...
</font>>
This (above) is the PPS command but not from the PPS function, it is always sent with protocol T=1
<font size="2">Waiting for event (power: on, protocol: t=1)...
Raw event data: 0501
Event: VCAD_EC_SET_PROTOCOL (0x05) Protocol: t=1
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_SET_PROTOCOL)
Raw reply data: 00
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 0600c10120e0
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: 00c10120e0
Handling protocol-specific command...
Protocol block:
NAD: 0x00
PCB: 0xc1 (T1_S_BLOCK); S-Block type: T1_SBT_IFS_REQ
LEN: 1
INF:
IFS: 20
EDC: 0xe0
Changing IFS(other) from 32 to 32
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: 00e10120c0
Raw reply data: 0000e10120c0
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 0600001300a404000d54657374436c69656e7441707000f0
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: 00001300a404000d54657374436c69656e74
41707000f0
Processing app. command...
App. block:
NAD: 0x00
PCB: 0x00 (T1_I_BLOCK); Seq. #: 0; More data: 0
LEN: 13
INF:
00a404000d54657374436c69656e7441707000
EDC: 0xf0
cmd name: N/A (class #4)
cmd: 00a40400 0d 54657374436c69656e74417070 70
Responding with the reversed command data, SW is hardcoded to 90<INS>
rsp: 707041746e65696c4374736554 90a4
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: 00000f70704
1746e65696c437473655490a475
Raw reply data: 0000000f707041746e65696c437473655490a475
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 060040041122334400
Event: VCAD_EC_EXCHANGE_TPDU (0x06) C-TPDU: 0040041122334400
Processing app. command...
App. block:
NAD: 0x00
PCB: 0x40 (T1_I_BLOCK); Seq. #: 1; More data: 0
LEN: 4
INF:
11223344
EDC: 0x00
cmd name: N/A (class #1)
cmd: 11223344
Responding with the reversed command data, SW is hardcoded to 90<INS>
rsp: 9022
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_EXCHANGE_TPDU) R-TPDU: 0040029022f
0
Raw reply data: 000040029022f0
Sending reply...
Waiting for event (power: on, protocol: t=1)...
Raw event data: 03
Event: VCAD_EC_POWER_OFF (0x03)
Reply: VCAD_SC_OK (0x00) (in reply to VCAD_EC_POWER_OFF)
Raw reply data: 00
Sending reply...
Waiting for event (power: off, protocol: unknown/undefined)...
</font>>
If someone know how to use this function or have any advice to help me to select a specific protocol with Jcop API, please let me know.
If you you need any more information don't hesitate to ask.
Best regards
Edited by: Cyril on Sep 22, 2011 9:54 AM-1
I'm using a virtual terminal (windows driver), and I don't see how I could turn off the Auto-pps. I've also tried with a real reader and a card and I have the same error.
-2
I've tried value in the range of the atr (based on this analysis: [url http://smartcard-atr.appspot.com/parse?ATR=3b909580811fc7dc]http://smartcard-atr.appspot.com/parse?ATR=3b909580811fc7dc ). But I don't know if only I value of baud-rate is possible in the range. Anyway I just would like to change the protocol, not the baud-rate.
-3
I've already tried to call pps function before, after the first reset, or with another reset later and I always got the same thing.
term = (PCSCJCTerminal)JCTerminal.getInstance("PCSC", readers.get(0).toString().substring(15));
term.open();
System.out.println("\nTerminal opened");
//Getting the ATR
atr = new ATR(term.waitForCard(2000));
System.out.println("ATR: "+toHex(atr.getBytes()));
jcard = new JCard(term,atr,0);
jcard.reset();
try {
term.pps(JCTerminal.PROTOCOL_T0, (int)312500);
} catch (Exception e) {
e.printStackTrace();
}The same pps is always send after each reset... -
Photoshop CC: Can't use the 3d function???
Hello,
I need help one this. I can't use the 3d function in photoshop cc and it gives me this error:
http://i.imgur.com/Zn7e47d.png
And here are my performance settings:
http://i.imgur.com/A8rCi8J.png
And here is the vram of my gpu:
http://i.imgur.com/sSr5Knb.png
And here is the paste from the system info thing:
0bin - encrypted pastebin
Ohh and i use windows 7 ultimate
Anyone knows a fix for this as i can't live without
Thanks!
Regards, -
Stack overflow at line: 1792 or 1788 when using the search function
Hello everyone,
My name is Thibault. I am a technical communications specialist. I've been using Robohelp html for a couple of years.
I am working on the user guide of the software application developed where I work.
This is a HUGE project, more than 6500 pages.
We're two technical writers on this project. (This is an inportant detail since my colleague doesn't get the problem).
I need your help because I have been having an annoying issue over the last couple of days.
After the project is generated, I open it in the software, clicking F1.
When I want to use the search function I have this error message displayed:
"Stack overflow at line: 1792" or "Stack overflow at line: 1788"
Do you know where this could come from?
Furthermore, I noticed that this stack overflow only occurs on some words.
I mean, it occurs for the most used words in this project.
We have customers all over the world and over the last week, we've been getting a lot of feedbacks about this error message.
I hope someone will be able to help me on this one!
Thanks in advance!First of all, thanks for your answer RoboColum(n).
Is the problem only when you search for a topic that contains Flash output?
All my topics contain Flash outputs. I generate my output files on a folder that is embedded into the software.When in the software, I click F1 and the Flash User Guide opens.The search function works (or not) depending on the software version (32/64-bit).
At what point exactly does the stack overview occur?
We have two versions of the software a 32-bit version and a 64-bit version.
The search function works fine with the 32-bit version.
The problem occurs when I use the 64-bit version. When I type in a word, for example "unit", the stack overflow message appears. See below:
As you can see, it looks like the search function freezes while the stack overflow message appears.
And I never get this error message with the 32-bit version of our software.
I also wonder whether you can search on a project that contains no Flash output. Perhaps you could try for us?
What do you mean by that?
As I told you previously, my Flash Player version is a 32-bit one.
Do you think that the issue might come from there? -
Using the ssIncludeXml function in Site Studio 10gR4
Since the managed data file format has changed dramatically in Site Studio 10gR4, how do I still use ssIncludeXml to extract a particular element?
For example, a data file in Site Studio 10gR3 looks similar to this:
<region1>
<PageBody>
</PageBody>
</region1>
To extract the "PageBody" element I would use the ssIncludeXml function like this:
ssIncludeXml(dDocName,"region1/PageBody/node()")
In Site Studio 10gR4 a typical data file format looks like this:
<wcm:root>
<wcm:element name="PageBody">
</wcm:element>
</wcm:root>
How do I use the ssIncludeXml function to match the "PageBody" here?
Thanks!I'm trying to do this in Site Studio 11g and am having zero luck. I have an HCSP in Site Studio [which I am using to write XML] that is querying the system and returning a set of XML data files. In my HSCP, I have
<link><!--$$ssIncludeXml(dDocName, "wcm:root/wcm:element\[@name='url'\]/text()")--></link>
The XML documents' format is
<wcm:root version="8.0.0.0">
<wcm:element name="metadata"/>
<wcm:element name="url">http://www.cnn.com</wcm:element>
<wcm:element name="thumbnail"><img src="/cs/groups/internal/documents/digitalmedia/mdaw/mdex/~edisp/cf_12_831_ivolunteers_3_.jpg" alt="ivolunteers" /></wcm:element>
<wcm:element name="text">This is my link text</wcm:element></wcm:root>
When I run this, however, I get nothing returned (no errors either).
Frustration! :) Any ideas? -
Using the lookup function in Numbers '09
I'm looking for the way to have the lookup function in Numbers '09 return an error for a non-exact match. Eg. I want an invalid part number to state this, but currently all I can get is the return of data for the closest match. Thank you.
when you use the VLOOKUP() function the last, optional, argument can request and exact match. When an exact match is not available VLOOKUP() will return an error.
you can use the IFERROR() function to trap errors like this:
=IFERROR(<FUNCTION_TO_TRY>, "NOT FOUND")
In your case.... if <FUNCTION_TO_TRY> is you VLOOKUP(<WHAT_TO_FIND>, <RANGE>, <COLUMN>, 0), the "0" specifies exact match and you could then place all this in the IFERROR() like this:
=IFERROR(VLOOKUP(<WHAT_TO_FIND>, <RANGE>, <COLUMN>, 0) "NOT FOUND")
<WHAT_TO_FIND> is what to look for,
<RANGE> is where to look,
<COLUMN> is the number of the column in the range you want to return -
Using the SVDEx function in LabWindows​CVI
Hello,
I am writing an application in LabWindows CVI to display and analize data that we obtain in an optical experiment. The data is a matrix where the subsequent rows represent spectra collected a different times. There are about 200 columns and 100 rows in each matrix. I want to use singular value decomposition using the SVDEx function. I get an error every time i try to execute the code in debugguing mode:
FATAL RUN-TIME ERROR: The program has caused a 'General Protection' fault at 0x0342BC16.
I believe that I am passing the incorrect arrays to SVDEx. I was wondering if there is any example code available, so I can learn how tro do do this.
Here is a fragment of the code where I call the function SVDEx:
//declare the arrays to hold S U V
double *U,*S,*V;
int isizeS=Y_DATA_POINTS;
int i;
int AnalisisError=0;
if (X_DATA_POINTS<Y_DATA_POINTS) {isizeS=X_DATA_POINTS;}
//Allocate arrays
U=malloc(Y_DATA_POINTS*X_DATA_POINTS*sizeof(double));
S=malloc(2*isizeS*sizeof(double));
V=malloc(Y_DATA_POINTS*X_DATA_POINTS*sizeof(double));
AnalisisError = SVDEx (adAbsMap, Y_DATA_POINTS, X_DATA_POINTS, FULL_SIZE, U, S+isizeS, V);
FATAL RUN-TIME ERROR: "Visualize_12.c", line 2451, col 17, thread id 0x00000E18: The program has caused a 'General Protection' fault at 0x0342BC16.
Any help will be very much appreciated.
J. HodakHi,
Thanks for trying to find an answer. I just realized now where the probem was. My mistake was when i allocated the arrays for holding the matrices. Because i was assking SVDEx to carry out FUL SIZE decomposition I must declare the arrays U and V to be , Y_DATA_POINTS*, Y_DATA_POINTS doubles and X_DATA_POINTS*, X_DATA_POINTS doubles respectively. My code was wrong, I was declaring the sizes to be smaller than necessary and "Visualize_12.c", line 2451, was the call to SVDEx, and col 17 was pointing t that mistake. It took me a while to realize this because the error message did not exlicitly specify that the size or the array passed was too small. Now it is working well. But I believe that it will help to have an example to get started with this.
Thanks again,
Fundadero.
Maybe you are looking for
-
E2000 setting priority is not working for one PC
my home has a max download speed of 300 KB/s. which can make gaming quite an issue if someone in the house starts using something that is a bit of a drain on the bandwidth. i fixed the issue for a few months by setting the gaming console to be the on
-
How to work with subquery in properway
hi all, i am using 11g, my table structure table 1: EQUIPMENT_DETAILS EQUIPMENT_ID NUMBER UNIT_TYPE VARCHAR2(100) UNITS_POINT NUMBER table 2: POINT_EQUIPMENT EQUIPMENT_ID NUMBER UNIT_TYPE VARCHAR2(100) POINT_NO VARCHAR
-
Hi, I have a Corporate licenced version of Captivate 6. I would like to know how to use the Drag and Drop interaction. Thanking you. With regards Leena
-
Connecting wirelessly when out and about
Forgive my ignorance I am very new to all this. If I am out and about with my iBook and come across a place e.g. coffee shop, which has free wireless internet access, do I have to be a paying subscriber of that service in order to get on the net? Wou
-
**** i knew this day would come. I opened my car boot (trunk) and my macbook pro fell out onto the concrete floor. it was in a protective case. however when i got in and turned it on, u can hear it start (optical disk noise as usual), but then its a