Questions tagged [invocation]

187 questions
1
vote
1 answer

How to invoke cron job from php script?

I wanted to set cron job from php script file. I can able to execute php file using shell_exec() function. But Im not able to run cron job related commands. $output = shell_exec("crontab -l"); this command is not working. My cronjob located under…
Palanikumar
  • 1,706
  • 5
  • 28
  • 51
1
vote
3 answers

Updating UI from background threads

Yet another question about updating from background threads. To get to the point: In the application, background threads need to update UI. I've considered using an in-between collection to buffer messages and have a timer to display them. At the…
Odys
  • 8,951
  • 10
  • 69
  • 111
1
vote
0 answers

c# best practice to raise event

I am trying to summarize all approaches to raise an event by introducing utility class. Would appreciate any feedback on the below implementation. The idea of the developed helpers is to provide different ways of raising events, including exception…
Vlad
  • 479
  • 4
  • 5
0
votes
1 answer

thor incorrectly called exception

class B12 < Thor desc "write", "write data into the index" method_option :methods, :desc => "The methods to call on each RawData", :type => :array def write(methods) end end When I call the file via thor b12:write --methods=foo I…
Reactormonk
  • 21,472
  • 14
  • 74
  • 123
0
votes
1 answer

Getting "raw" xml from webservice

I'm trying to to generate web service proxy class using ServiceContractGenerator. But the problem is that i want to recieve a "raw" xml from webservice (it may be a string or XmlNode, doesnt matter). Is there any way to modify web service contracts…
0
votes
0 answers

Java ClassLoader: Get static field declared in a JAR 1. JAR1 used by another JAR 2

I want to extract static field from another program. That program is launched through java reflection and URLClassLoader: private static final String ProgramClassName = "com.myproject.MyMainClass"; private static final String ProgramLocation =…
0
votes
1 answer

Pagination and filtering collision; [TypeError: Illegal invocation] ; AJAX Object properties randomly becoming inputEvent objects instead of numbers

I'm trying to add pagination to my PHP web store page. It should trigger on click, forward it's parameter to a function that is also used as a value checker for all the filters (search, category ddl, sort ddl, subcategory checkboxes) before creating…
0
votes
1 answer

How to hide invocation context while debugging quarkus app

I'm debugging a quarkus based app with VSCode. The call stack contains all the machinery that's under the hood,…
Peter L
  • 51
  • 1
  • 1
  • 8
0
votes
1 answer

How can I ignore unrecognized properties using javax.ws.rs.client.Invocation.Builder?

I have built a web client which uses SSL. The client is initialized like this: SSLContext sc = SSLContext.getInstance("ssl"); sc.init(null, noopTrustManager, null); this.client = ClientBuilder.newBuilder(). …
Gabriela
  • 11
  • 4
0
votes
2 answers

Undefined symbols for architecture x86_64 VSCode error

I am trying to fix the error in the following C program, that I get in the terminal in VSCode ? #include main() { printf("just one small step for coders.one giant leap for\n"); printf("programmers\n"); return 0; } Below is…
jojo9
  • 3
  • 4
0
votes
2 answers

How can I extract the java method invocation?

Suppose in my project written in Java I have some classes and each of these classes has some methods. I want to know which methods never invoked in my project. I implemented a simple program by using a Parser to extact the name of all methods in my…
Hadi
  • 21
  • 3
  • 7
0
votes
1 answer

Google voice actions - Trying to own my brand name which appears reserved

I am trying to do a beta release of my voice action but it will not since it shows that my brand name is reserved. I have verified my website but it continues to show me "____ is a reserved brand name. Verify ownership here". what are my next…
0
votes
1 answer

A class loaded with ClassLoader don't have access to changed variables

I have a problem: There is a class compiled from external .java file private static Class LoadedClass; private static Object LoadedClassInstance; public static Method LoadedMethod; [SKIP] private static Path compileSource(Path…
0
votes
0 answers

Getting error "illegal invocation" in AJAX POST method call in JS

my code is below. when I put this code i got error "illegal invocation".Can anyone help me to solve this issue? const blob = new Blob([content], { type: "application/json" }); const file = new File([blob], sName); const formData = new…
Tharmini
  • 103
  • 4
0
votes
1 answer

Alexa skill not opening when the word 'Alexa' is used

I am building a trivia skill using the sample provided. Under the test tab in Alexa console, when I say "Alexa, open my-skill-name" I get an audio only response (with an error sound). But when I say "Open my-skill-name", the skill is launched. Any…
apps
  • 25
  • 6