Questions tagged [invocation]
187 questions
0
votes
1 answer
Chaining of services - Java
At the moment I'm using multiple REST services to process my data.
A workflow would be like this:
User requests the speed of a car:
Ask the SpeedService the most recent speed => SpeedService requests the latests positions of the car from the…

Actaeonis
- 149
- 1
- 13
0
votes
0 answers
Unable to update JTextArea from another thread
I'm not sure what I was wrong in the code below. It doesn't let me update JTextArea from the extraThread. I can see the status value updated in console windows but it doesn't work for the JTextArea.
Errors
java.lang.NullPointerException
at…

Louis Tran
- 1,154
- 1
- 26
- 46
0
votes
1 answer
Spring HTTP Invocation: test crashes on build server
I build an API via Spring HTTP Invocation. My config.xml looks like this:

Shareil
- 69
- 1
- 6
0
votes
1 answer
Avoid attaching debugger in Qt5 QTest
I have a small QTest case that crashes. Even if I run this as a normal program (no debugger) it seems that GDB is attached by qmake/QtCreator/something when it finds that the program crashed.
However, I would like to run my QTest without this…

Mr. Developerdude
- 9,118
- 10
- 57
- 95
0
votes
0 answers
Interface method is giving me a non-invokable error when called
So here is my interface, simplified
public interface ISecurityServiceInvoker
{
string WebAppSession(string sManCo);
Dictionary WebAppSession();
}
And here is my class, simplified
public class SecurityServiceInvoker :…

Jay Croghan
- 445
- 3
- 16
0
votes
1 answer
Castle Core Invocation create a cache key from intercepted method
I'm using a interface interceptor to cache all methods that starts with "Get" but i can't figure out how to generate a unique cache key for every unknown parameter it can be anything and using GetHashCode is not an option as i can't be 100% sure…

robgha01
- 383
- 4
- 11
0
votes
2 answers
clang: error: linker command failed with exit code 1 (use -v to see invocation) Bitcode Fix NOT Working
I'm trying to move an Xcode app from a MBP to an iMac. I've copied all the folders and files needed but keep getting to following error on build:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
After Googling around…

jampez77
- 5,012
- 7
- 32
- 52
0
votes
1 answer
Calling and assigning functions in JS without parenthesis
function makeFunc() {
var name = "Mozilla";
function displayName() {
alert(name);
}
return displayName;
}
var myFunc = makeFunc();
myFunc();
The above code works even though displayName is without parentheses i.e. passing a reference…

Marina Dunst
- 859
- 1
- 6
- 19
0
votes
2 answers
J2ME - Midlet invocation type awareness
How can a MIDlet ascertain whether it has been manually invoked or automatically?
Thanks!

user425518
- 81
- 1
- 9
0
votes
2 answers
Is there an array-to-callable function?
Setting
Within SomeClass there is f2member taking two integer arguments and producing its sum. The test passes showing that the call actualy works and retrieves the expected result. Which is calling $gwith two parameters 1 and 1 returning 2.…

isaias-b
- 2,255
- 2
- 25
- 38
0
votes
1 answer
Constructor Invocation using Dynamic Linq Select Expression
I'm using Dynamic Linq.
I can do the following:
IQueryable().Select("new(Id as Id, FirstName + Surname as Name");
This creates an IQueryable (not an IQueryable

kaitlinsm
- 135
- 2
- 5
0
votes
0 answers
Java - Detect Method Invocation Without Modifying Method Code
So the title might be a bit confusing so let me clarify using the following example.
There are two classes, class A and class B.
Class A is a class that I wrote and it can be found in my project. Class B is in an external library that I have as a…

ReadySetPawn
- 21
- 4
0
votes
1 answer
Canceled event is not reverting RadTextBox to initial value
Recently, I have refactored my javascript to better utilize closures and invocation.
The Problem
Setting the cancel property (to true) of the telerik eventArgument (e) accompanying the RadButton Client OnValueChanging event is no longer setting the…

Brett Caswell
- 732
- 1
- 4
- 16
0
votes
0 answers
How to invoke another Android app in another task and get back a result?
I'm developing an app that should be able to get invoked by other apps and send back a result. I tried using intents with startActivityForResult(), but I faced two problems: First, with launchMode singleTop, the app is initialized again on every…

Sven
- 1
- 1
0
votes
2 answers
Weird problem with dynamic method invocation
this time, I'm facing a really weird problem. I've the following code:
$xml = simplexml_load_file($this->interception_file);
foreach($xml->children() as $class) {
$path = str_replace('__CLASS_DIR__',CLASS_DIR,$class['path']);
…

fbiville
- 8,407
- 7
- 51
- 79