Posts

Showing posts from April, 2014

Adding Images to JLabels in a panel in Java -

Image
I am trying to set the pictures as new jlables and then those JAlbels have been created in the design scene. Add to panels. The program runs fine but no point of view of the pictures or the zylabs can be seen. Here's an example of my code for creating labels JLabel J0 = new JLab (); J0.setIcon (new imitin ("4.jpeg")); Jellabell j1 = new jlab (); J1.setIcon (new Imagine ("5.jpeg")); Jellabell j2 = new jlab (); J2.setIcon (new Imagine ("6.jpeg")); Jellabell j3 = new jlab (); J3.setIcon (new imeon ("7.jpeg")); Jellabell J4 = New JLab (); J4.setIcon (new imitin ("8.jpeg")); Jellabell j5 = new jlab (); J5.setIcon (new image ("9.jpeg")); And here is an example of code for adding JLLL to me in the panel. p1.add (j1); P1.add (j2); P1.add (j3); P1.add (j4); P1.add (j5); P1.add (j6); P1.add (j7); P2.add (j8); P2.add (J9); P2.add (J10); You must provide a path to all images in your image icon constructor. Sam...

java - AspectJ And Spring eclipse configuration -

OK when I create eptex project When I am creating a new project (not with aspect) and I link to Spring Libs, it is okay, but when I prepare an Aptex project and then link to Spring LBS, wait for the user operation The workpiece is creating "- and it's never ending or causes an error and I have to start the eclipse I do not know what to do. I used eclipse 4.3 kepler for eclipse from eclipse. - Install it with help -> Install new software Spring Lbs = Spring-Framework-4.0.0.6. RELEASE-dist + Apache logging 1.2. - I have added a user Lib and just in the project. I use Eclipse 4.3. I have tried to do it in many ways and I do not know what to do Earlier, I was using eclipse 4.4 and the spring was great there. Worked, but I had to change on Kepler because I could not set aspect on Luna 4.4. I really do not want to understand the details of your problem, but if you were to get AJDT under Eclipse 4.4 Luna If you want to use and are fine with a development build for...

sql - TSQL - Query for multiple types in multiple rows -

I have a table where each address has every type of line, how to find the address, where I type the exact type the wanted? Example. ID TypID Street 1 1 Street 1 1 2 Street 1 2 Street 2 3 1 Street 3 3 Street Street 3 In the above, find me such addresses Who have type 1 and 2 This query should be with results 1 and 3 id. Group by ID and then separate typeid Selecting code from typed in (1,2) group section in the > select the ID from your_ table

nest api - Port 9553 (from Firebase) blocked by webhost, can't find a way to successfully cURL over alternate port -

I am using PHP and using Curl with the REST API, and even then I started the initial nest developer Can CRL API Endpoint redirect it to Firebase's URL which is at port 9553, which has blocked my webhost (neither is the chance to open any). The connection time 'can not connect to the host' error and throws. My code is working fine, I can not run any problems on my local server. What's new in my use of curls? I think the problem is that the port is pushing on using Firebase. I can curl at many places, over 80: and 443 without problem, not just the firebase URL, do I need to run a proxy to access the data? Or, is there anything that can be solved by using the Firebase's PHP Library? If I do not want to, then I am not interested in using it, curl will work well, and I do not know how it works. There is no way to get redirects with REST, they have specific ports in the cloud of Nest and Point to the hosts. What is wrong with Webbase Web Socket Client? Th...

opencl - What is the advantage of using a 1d image over a 1d buffer? -

I understand that in 2D, the images are cached in the X and Y instructions. But in 1d, why do you want to use an image? What is the memory used for images compared to the memory used for buffers? 1D image image stays, so the image against buffer has all the advantages of this: Image IO operations are usually well-cached. Sampling can be used, which gives hardware such as computational cheap interpolation, access, etc. However, you should remember that there are some constraints in comparison to the regular buffer in the image: Single image to either read or use Can be written in a kernel. You can not use the vloadN / vstoreN functions, which is able to handle up to 16 values ​​per call. Your best choice is read_imageX & amp; write_imageX function, which can load / store 4 values ​​per call. Can be serious issue on GPU with vector architecture. If you are not using a 4-component format, usually, you are losing part of the display, because many tasks...

android - Need to use a variable which used in for loop -

I have an asyncTask class and I have to use the variable to show an image in an image view. I use the jsoup library to parse the HTML page and the problem is that I can not take my variable "bitmap" from doInBackground to onPostExecute method. How can I solve my problem? Here's the code: Private class paras HTML spreads asyncTask; Zero, zero, zero, and gt; {String resultTextFmt; Bitmap bm; @ OverEride Protected Zero at PreExecute () {super.onPreExecute (); MProgressDialog = New Progress Diablog (main activity.); MProgressDialog.setTitle ("WebMD"); MProgressDialog.setMessage ("Loading ..."); MProgressDialog.setIndeterminate (wrong); MProgressDialog.show (); } @ Override Safe Volume Doine Background (Zero ... Parameter) {try {document document = jsoup.connect (murl) .get (); Element description 2 = document. Select ("h2 [class = et_pt_title]"); Logs. V ("Data 3", Description 2. Tosting ()); ResultTextFmt = description2.toString...

c++ - mysql resultset is always null -

Unsolved question followup: This result sheet is always null and the connection is alive. VS2013 Debugger says that mysqlcppconn.dll does not have any debugging symbols. Tested the query on a MySQL console and it worked fine, return it to 1 . CDBase :: CDBase (Cstits * Settings) {settings = settings; {Connection * con = get_driver_instance () - & gt; Try Connect ("", "", ""); Elections & gt; SetSchema ("hyperbot"); Cout & lt; & Lt; "Linked." & Lt; & Lt; Andal & lt; & Lt; Endl; Cout & lt; & Lt; "Checking with the database extremely important ..." & lt; & Lt; Endl; If (! Verification (election,> get_channel (), settings- & gt; get_hyper_key ())) {cout & lt; & Lt; "Verification failed." & Lt; & Lt; Endl; CFunctions :: ExitWithTimeout (5000); } Uninstall; } Grip (SKL :: Eclipse and A) {COT & LT; & Lt; "#Error: SQLException...

How do I set the Liquibase ObjectQuotingStrategy using the YAML format? -

According to , Liquibase is using "Root object" to set up ObjectQuotingStrategy while creating database objects The correct method, which is understandable using the XML format, is less clear when using the YAML format. Is there a way to set up this property for the whole change log using YAML format? "itemprop =" text "> You should be able to set just as a property of the root databaseChangeLog node: databaseChangeLog: - objectQuotingStrategy: QUOTE_ALL_OBJECTS - changeSet: ID: 1 Author: nvoxland change: However, it seems that there is a bug in 3.2.x that This prevents the database from parsing on ChangeLog's level. I made a bug in 3.2.x branch and fixed it. For now, you have to set at the ChangeSet level: databaseChangeLog: - ChangeSet: ID: 1 Author: nvoxland objectQuotingStrategy: change QUOTE_ALL_OBJECTS: - createTable: .. ...

apache - .htaccess and subdomain folder -

मेरे .htaccess फ़ाइल: पुनर्लेखन पर पुनर्लेखन कोड% {HTTP_HOST} ^ (www। )? My-site.com $ [एनसी] पुनर्लेखनकोण% {REQUEST_URI} ^ / my-subdomain /(.*)$ पुनर्लेखन नियम ^ (। *) $ - [एल, आर = 404] जब मैं निम्न तक पहुंचता हूं: http://my-site.com/my-subdomain/ यह काम करता है, फ़ोल्डर लॉक होता है। लेकिन जब मैं निम्न तक पहुंचता हूं: http://my-site.com/my-subdomain/img/101.jpg यह काम नहीं कर रहा है, मैं छवि का उपयोग कर सकता हूँ। मैं कैसे प्रवेश से इनकार कर सकता हूं किसी भी छवि या छवि फ़ोल्डर में? उन नियमों को आपके पास काम करना चाहिए, सुनिश्चित करें कि आपकी छवि ' कैश्ड कैश आप कैशे को साफ़ करें और फिर से प्रयास करें। आप अपने नियमों को भी समेकित कर सकते हैं: RewriteEngine On RewriteCond% {HTTP_HOST} ^ (www)? My-site.com $ [एनसी] आरईआरईआरआरआरयूआरयूआर ^ माइ-सबडोमेन / - [एल, आर = 404]

python - How to limit QThread number -

What is queue via QtCore.QThread . The code below starts out as running threads as it was submitted. Import QtCore from QtCore, QtGui as line queue Que = QtGui.QApplication ([]) theQueue = queue.Queue () class TheThread (QtCore.QThread ): Def __init __ (self, theQueue, parent = none): QtCore.QThread .__ init __ (self, parent) self.theQueue = theQuef def (self): while correct: function = self.theQueue.get ( ) Self.sleep (1) self.theQueue.task_done () Thread = [] In the range I (1, 3): thread = TheThread (theQueue) threads.append (thread) thread.start () for the category (for i Lane (thread)): theQueue.put (i) If you want now Instead of creating a list of threads, a habit To use the dirty thread pool object, you can use: import QtCore, QtGui queue import time range signal (QtCore.QObject) from PyQt4 import: Sig = QtCore.pyqSignal (int) class worker (QtCore.QRunnable): def __init __ (self, theQueue, sig): QtCore.QRunnable .__ init __ (self) self.theQueue = theQueue se...

bluetooth lowenergy - SensorTag, iBeacon, Compiled firmware doesn't work -

Followed the instruction on this. IBeacon-enabled firmware was built with IAR and updated with OAD from OAD but stopped working after sensorag updating. No Ads by Side Button, No LED Blink I tried identical / similar things several times and tried to upload the firmware directly from the IAR IDE via CC Debugger, but no luck. I can keep it back by uploading the downloaded firmware with flash programmer for the previous working state. I also tried to compile myself with the IAR with standard firmware (with no iBeacon from the SensorTag BLE stack), but it does not work, neither. So I think compiling in IAR is my problem but the make can end successfully. A code was changed by me (only _NR_OF_VIRTUAL_REGISTERS to avoid a linker error). I wonder if there are any who are successfully working on it while following the education at the above URL. Firmware for iBeacon: SensorTag_Beacon_Patch_1v0 Cc Debugger FW: 0041 SensorTag: CC2451, 1.4.1, 1407 8051 version 8.30.3 for I...

java - why is my getY() returning 0? -

I'm trying to click an ImageView move on the same status of another ImageView, on which onClickListener () I Can return X but not Y. The copy I would like to see is in a different layout in XML, relative is in layout and in linear within the other relative. That's because it checks the condition of y on the basis of the layout rather than the edge of the screen? Extension of Public Class Level Two Activity (ImageView iv1, iv2, iv3; @ Override Protected Zero to Creatives (InstanceStat saved from bundle) {// Todo Auto-Generated Method Stub Super Connet (saved instenstate); setContentView (R.layout.main); Iv1 = (ImageView) findViewById (R.id.imageView1); Iv2 = (ImageView) findViewById (R.id.imageView2); Iv1.setOnClickListener (new See onClickListener () {@Override Public Zero (see V) {// TODO auto generated method pause iv1.setY (iv2.getY ()); iv1.setX (iv2.getX ());}} );}} XML layout is something like this: Android: RelationLayout Android: layout_width = "match...

FreeMarker Error : left-hand operand: Expected a hash, but this evaluated to a sequence -

When I loop through a list in the freemarker like below, it works fine. & lt #list as product cModel.products & gt; But when I am transiting the size of the list as a variable, I'm getting an exception from the free marker like the empty mark Left hand operand: Expecting a hash, but it's a sequence Assessed for Any suggestions? I hope that you are accessing it incorrectly. / P> According to your example, list name is product, then Products should return to the size. Hope it helps.

html - php space error when - but when i hit f12 and look at page there are no spaces, but if i look at the console it has spaces when it sends the URL -

I have an image that I bring with a php file ... here It shows that when I hit f12 and see the page ... ; Although this is failing and on the console page the resource is interpreted as Image, but with the mime type text / html Has been moved: "http: /webpage.com/php_scripts/getimage.php?id=%27389955c8-4fc6-4596-a308-0345283c4812%27&type=2". P> & Lt; Div id = "companylogo" & gt; & Lt; Img src = "php_scripts / getimage.php? Id = '& gt; php echo $ cardUUID? & Gt;' & Amp; Type = 2 "alt =" card image "height =" 100 "width =" 200 "/> & Lt; / Div & gt; If I do var_dump ($ cardUUID) then there is no space in it > Are you sure that this is done with vacancy and not a single quote? Try this: & lt; Div id = "companylogo" & gt; & Lt; Img src = "php_scripts / getimage.php? Id = & lt ;? php $ cardUUID? & Gt; type...

c++ - Centering the pivot of a GL object that has already been transformed around another pivot? -

Find the best way to turn rotation fumes at the center and offset an object using OpenGL Shader There's a difference between the 3D apps in how they handle it. I have an object that I translate (0,2,2), rotation to (90, 0,0) and smoke (5,2, 0) and then rotate arbitrarily (or not). So I want the "center of smoke" on the object in the translated BB Center I have tried the variations of this model without any matrix, where there is a difference between the PVRT bbCeter: ModelM = Translation M * pivRT * glm :: inverse (pivotM) * rotationM * scaleM * pivotM; In Maya I do not have any "value of smoke" item and any values ​​visible for user change in other applications like Blender When you focus on the pivot then the translation changes - actually your objects translate into PV translations. This is how it works in a command or class, there is a reading matrix in Maya. [sp] x [s] x [x] x [sp] x [st] x [Rp] x [ro] x [r] x [rp] x [rt] x [t] is ...

c - Blocked Compressed Row Storage format of Sparse Matrix -

I am writing a program that will change the spurs matrix for compressed cry storage. I know how to get Ropert, Collind (not in code) and A_F. Code: p = 0; {Row_ptr [++ p] = (row_ptr [p-1] + count_blocks (A, I, N)) for (i = 0; i & lt; m; i ++); (J = 0; j & lt; n; j ++) (if (a [i] [j]) {a_f] [a] = a [i] [j]; k ++}}}} The function I use gives the number of blocks in the row: int count_blocks (int matrix [100] [100] (I = 0; i & lt; n - 1; i ++) {if (matrix [row_idx] [i]) {if (!), For int row_idx, int n) {int i; int block_count = 0; Block_count ++; else if (row_idx] [i + 1] and am == n - 2) I] and am == n - 2) {if (matrix [row_idx] [i + 1]) block_count ++; breakdown;}} return block_count; But I got trapped in getting NPTRR. Thanks :) Here's a function that gives nzptr 5x5 size metrics. It gives the number of items in nzptr , it also calculates the index with cylindrical indexing. int computeNzptr (double matrix [5] [5], int njptr []) {int isN...

c# - What does Expression.Compile do on Monotouch? -

तो निम्न करता है अभिव्यक्ति के पेड़ में वर्णित लैम्ब्डा अभिव्यक्ति को निष्पादन योग्य कोड में संकलित करता है और लैम्ब्डा अभिव्यक्ति का प्रतिनिधित्व करने वाले एक प्रतिनिधि का उत्पादन करता है। और यह पोर्टेबल क्लास पुस्तकालयों में उपलब्ध है। हालांकि, मोनोचौच के माध्यम से .net चल रहा है चूंकि आईफोन के कर्नेल एक कोड को गतिशील रूप से उत्पन्न करने से रोकता है, मोनो को डायनामिक कोड पीढ़ी के किसी भी रूप का समर्थन नहीं करता है। इसलिए आईओएस पर Xamarin पर आधारित अभिव्यक्ति का समर्थन नहीं कर सकता .Compile। तो क्या होता है जब आप एक्सप्रेशन कॉल करते हैं IOM पर कॉम्पाइल एक्सैमरिन? क्या यह फेंक और अपवाद है, और यदि ऐसा है तो क्या अपवाद? और यह कहीं भी दस्तावेज है? कोड को एओटी विकल्प से संकलित किया जाता है, इसलिए इसे वास्तव में संकलित नहीं किया जाएगा रनटाइम (मुझे संकलन पर पृष्ठभूमि में होने वाले विवरण नहीं पता) () माइक्रोसॉफ्ट प्रलेखन का उदाहरण आईओएस डिवाइस पर ठीक है, कोई अपवाद नहीं। सार्वजनिक ओवरराइड शून्य पूर्ण हुआ लांचिंग (UIApplication एप्लिकेशन) {System.Linq.Expressions.Exp...

c# - How to get views based on resolution whilst using composition root in WPF application -

I have a scenario where the resolution of the target PC has a different screen resolution. XAM can handle it somewhat but when If the resolution varies from 800 * 600 to 1900 * 1400 then it is best to have two different views / layout (XAM files). My application is an MVVM application and I'm willing to use Unity as an IOC container code will look something like Public partial class app: Application {secure} Start Override Zero (StartupAventErgSE) {base.OnStartup (e); ComposeObjects (); Application.Current.MainWindow.Show (); } Private Zero Compose Objects () {...... ...... Applications Present. Manwindo = Container Resolve & lt; Manual View & gt; (); }} Is there any way that I can solve main window and other ideas on the basis of resolution? With the different layouts for the men-wingu UI, I have some ideas. In addition to this, menuView XAMML will contain references to several other views, which may also require a solution depending on the screen resolution....

callback - JavaScript - Best practice to check is function -

Before looking at the callback function I saw several ways to check the callback function. 1) function (callback) {... if (callback! = Null) callback (); } 2) function (callback) {... if (typeof callback == 'function') callBack (); } 3) function (callback) {... if (callback! == empty) callback (); } 4) function (callback) {... if (callback! = Undefined) callback (); } 5) function (callback) {... try {callBack (); } Hold (mistake) {}} 6) function (callback) {... if (callback & type (callback) == "function") callback (); } 7) function (callback) {... if (callback) callback (); } 8) function (callback) {... if (typeof window [callback] === 'undefined') callback (); } 9) function (callback) {... if (callback instance of function) callback (); } I believe there is more ... What is the best way to check whether a given 'callback' parameter is a function or not? ? Why not use P> and other ...

javascript - WebAudioAPI: Troubles appending JS audio object to <audio> html5 player in Firefox -

I recently created a 3D visualizer and I have a problem getting my audio code to work in Firefox I I am setting up my audiocontext: AudiContextet Setup: Function () {try.soud.audioContext = new (window.AudioContext || window) WebkitAudioContext) (); } Catch (e) {Warning ('Web Audio API is not supported in this browser'); }}, Let me create an audio object: createAudioObject: function () {sound.audio0 = new audio (); Sound.audio0. src = '/audio/MakeYouWanna.mp3'; Sound. Audio0. controls = true; Sound.audio0.autoplay = false; Sound.audio.0.lop = true; }, I set my audio nodes: setupAudioNodes: function () {Sound.sourceNode = Sound.audioContext.createMediaElementSource (sound.audio0 ); Soundtrack AnalyzerNode = Sound.Audocontext.CreateAliser (); Soundtrack AnalyzerNode.fficism = 1024, sound. French Array = New UIT 8 array (sound.analisnernode.fixianbinkount); SoundTimeDamainAre = new UIT 8 array (sound.analisnnn.d.fiksigninacount); }, I connect my aud...

javascript - In mongoose how to iterate over array of ObjectId? -

I try to rephire from Javascript object for the Mongoose object. I have two simple models: Candidate model: var candidateSchema = new schema ({name: string, score: {type: Number, default: 0, minimum: -2, max: 2}}); CandidateSmama.method.updateCor = function updateScore (NewScore) {this.score = newScore; }; Vote Model with a list of candidates: var voteSchema = new schema ({candidate: [type: schema type object, referee: 'candidate'}] }); Function candidates are already (candidates, new Candidates) before {var alreadyExists = false; For candidates. Each (job (candidate) {if (newCandidate.name === candidate name} {first Axis = true;}}); Will return in advance; } VoteSchema.methods.addCandidate = function addCandidate (newCandidate, callback) {var candidates = this.candidates; If (Candidates already candidates (candidates, new Candidates)) {candidates.push (newCandidate); } This.save (callback); }; I try to add a new candidate in my opinion, only if it does not e...

getting CLOCK_TICK_RATE value in linux -

I am trying to print the value of CLOCK_TICK_RATE with the following program: #include & lt; Fcntl.h & gt; # Include & lt; Getopt.h & gt; # Include & lt; Signal.h & gt; # Include & lt; Stdio.h & gt; # Include & lt; Stdlib.h & gt; #include & lt; String.h & gt; # Include & lt; Unistd.h & gt; # Include & lt; Sys / ioctl.h & gt; # Include & lt; Sys / types.h & gt; #include & lt; Linux / kd.h & gt; #include & lt; Linux / timex.h & gt; Int main () {printf ("% d \ n", CLOCK_TICK_RATE); } I get a compilation error: Error: 'CLOCK_TICK_RATE' undeclared. I looked for the definition of CLOCK_TICK_RATE, I found in Timex.h, but when I included the time x.h, CLOCK_TICK_RATE still got undeclared. Thanks in advance. Maybe you're looking for it? #include & lt; Stdio.h & gt; # Include & lt; Unistd.h & gt; Int main (zero) {printf ("% ld \ n", sysco...

html - Omit the border between two divs -

I have two divs, and I want them to be surrounded by the same limit as "look like" Can help solve it? I like to see it _____ top | | | __ | Down | | | ───────── The way PS I tried to add that border-bottom: white to `` # top` div is. However, it becomes more complicated because #bottom Here is html. & lt; Div id = 'top' & gt; Top & lt; / Div & gt; & Lt; Div id = 'bottom' & gt; Down & lt; / Div & gt; Here's the CSS #top {width: 100px; Height: 100 pixels; Border: Solid 1px black; Border bottom: solid 3px white; Status: Relative; Z-index: 1000; } #botum {width: 200px; Height: 200 pixels; Border: Solid 1px black; Status: Completed; } If you need this, JSField is here Thank you for your help! Another solution, try the selector first: # Top {width: 100px; Height: 100 pixels; Border: Solid 1px black; Border bottom: None; Background: #fff; } #botum {width: 200px; Height: 200 pixe...

php - FOSRestBundle: show my custom exception message -

I am trying to add a custom control of exceptions in FOSRestBundle, but it is ignoring my custom messages ( This situation's code response is fine). I have: New HTTP Exception (404, "User {$ ID} not found"); But get this Jason response: {"error": {"code": 404, "message": "did not get"}} So I do not get a way to show my custom message You can also add exceptions to the following configurations: fos_rest: exception: code: 'my \ custom \ notfound \ exceptioncase404': 404 Message: 'My custom' \ NotFound \ exception 404 ': Correct Provide a custom message in your exception class And it should work as expected.

sql - How to select most recent values? -

I have a logging table to store with several checks: create table [Log] Int IDENTITY (1, 1) No Taps, [minutes] datetime not null, [ProbeID] int 0 minus, [value] float (24) zero zero default 0.0, contract log_PK primary key [LogID]) [Normally, each probe generates a value every minute] [Log in] ([minute], [ProbeID], [value]) Some examples output: log ID minutes probed mother N ====== =============================== 873875 2014-07-27 09:36 1972 24.4 873876 2014-07 -27 09:36 2001 29.7 873877 2014-07-27 09:36 3781 19.8 873878 2014-07-27 09:36 1963 25.6 873879 2014-07-27 09:36 2002 22.9 873880 2014-07-27 09:36 1959 -30.1 873881 2014-07-27 09:36 2005 20.7 873882 2014-07-27 09:36 1234 23.8 873883 2014-07-27 09:36 1970 19.9 873884 2014-07-27 09:36 1991 22.4 873885 2014-07 -27 09:37 1958 1.7 873886 2014-07-27 09:37 1962 21.3 873887 2014-07-27 09:37 1020 23.1 873888 2014-07 -27 09:38 1972 24.1 873889 2014-07-27 09:38 3781 20.1 873890 2014-07-27 09:38 2001 30 873891 2014-07-27 09:38 ...

c - Error when writing to memory from DLL -

I am trying to change my MessageBox display to a program. I will apply a DLL injection And trying to jump on my DLL with the MessageBox function which causes my MessageBox to be displayed instead of regular one. / P> I have written the following code which also writes the address of MessageBox and my message box in memory, I'm trying to calculate the Opododes I have to prepare already but unfortunately every time I inject DLL, I get the " Access violation " error, here is the code: DWORD OldProtect; PVOID MessageboxArc = GetModuleHandle ("User32.dll"), "Messagebox A"); PVID Message BoxHooksAuthor = & amp; Hookedmessage box; DWORD relJmp = (DWORD) messagebox assistant- ((DWORD) message box hooked + 5); Virtual Protote (Message Box Assistant, Size (BYTE) * 5, PAGE_EXECUTE_READWRITE, and Older Preserve); // This line precedes the small Debian method and is caused by error (PBETE Messagebox Assistant) [0] = 0xe9; (PBETE messaging)...

javascript - ajax encapsulated request needs to wait for accumulated result -

इस सवाल का पहले से ही एक उत्तर है: 3 उत्तर मेरे वेब ऐप निम्न के रूप में एजेक्स अनुरोधों में संरचना: $ .ajax ({प्रकार: "GET", url: '...', डेटा प्रकार: "xml", सफलता: फ़ंक्शन (xml) {$ .ajax ({Type: "GET", url: "....", डेटाटाइप: "xml", सफलता: फ़ंक्शन (xml) {}, त्रुटि: फ़ंक्शन (xhr) {चेतावनी (xhr.responsetext);}}); $ .एजेक्स ({प्रकार: "GET", url: "....", डेटाटाइप: "xml ", सफलता: कार्य (xml) {}, त्रुटि: कार्य (xhr) {अलर्ट (xhr.responseText); }}); $। एजेक्स ({प्रकार: "GET", url: "...", डेटाटाइप: "xml", सफलता: फ़ंक्शन (xml) {}, त्रुटि: फ़ंक्शन (xhr) {अलर्ट (xhr.responseText);}} ); }}); मुझे इससे पहले कि मैं कुछ और करने से पहले समाप्त करने के लिए बनाई गई सभी resquests की आवश्यकता है। क्योंकि मुझे उन्हें डिवीज़ में सामग्री लोड करने की आवश्यकता है और उसके बाद अपने कोड में html तत्व को जोड़ना और मुझे इसका इस्तेमाल नहीं करना है (दस्तावेज़) .जैक्सस्टॉप क्योंकि यह ...

java - How to get the IP addresses of clients around me -

I am developing a Java software and I want to ask other customers for a database. This is a little shared DB in which I want to merge into one. Now my quiz is: How can I identify the IP on other machines (on local network) using the same client software? I have each client before hearing a thread on a specific UDP port and Client Can send a broadcast on the same port.

c# - Limiting input to just a, b, or d -

I am creating multiple choice quiz applications and I am trying to crack the verification. These options need to be limited in these options by selecting and holding the option between user, A, B, C or D. The problem is that the variables of these are string and must be string. The problem is that the program is accepting any string (as it should be). But is it just a way to limit these 4 options? I tried to force the program to catch up whether the letter no == A, B, C, or D but is not happy. string [] Quest Names; String [] QuestLevel; String [] quest; String [] questans; Quetsonms = new string [50]; Quest Level = New String [50]; Quest = new string [50]; QuestAns = new string [50]; While (level == "1") {Console.Clear (); Random rnd = new random (); Int level1_rand = rnd.Next (0, 9); AmountAsked ++; Get started: {Console.WriteLine ("\ n \ n Level: 1 \ t Score: {0} \ t Try the maximum balance: {1}", score, 20 - get the amount); Console.light line ("\ n ...

mysql - PHPMyAdmin Query error in php #1064 -

& lt;? Php // Facebook की तरह Facebook को प्राप्त करें FACEBOOK SERVERS functionFacebookLikes ($ url) {$ query = "Link_stat WHERE url = 'से like_count चुनें' ' $ Url। "'"; $ S = file_get_contents ("https://api.facebook.com/method/fql.query?query="। Urlencode ($ क्वेरी)। "& Amp; format = json"); preg_match ( "# (\" like_count \ "): ([0-9] *) #", $ s $ ar); अगर (isset ($ AR [2])) $ AR [2]; और नल वापसी; } Mysql_connect ('localhost', 'root', '') या मर (mysql_error ()); Mysql_select_db ('odrinhasedm') या मर (mysql_error ()); $ Query = mysql_query ("नॉम, पार्टैकाओ से यूआरएल चुनें") या मरने (माइस्किल_अर ()); जबकि ($ res = mysql_fetch_array ($ query)) {$ पसंद = "http: // [ip] / evento-odrinhas-edm-open-air /"। $ Res ['url']; $ Links = $ res ['url']; $ Contador = readFacebookLikes ($ पसंद); //echo'<tr><td>'.$res['nome...

java - Bukkit - Get Variables From Other @EventHandlers? -

I was wondering how I would get a variable from a different @EventHandler. At this time, my variable is an array list. My code is below: @EventHandlerClockblock on Public Zero (BlockBreak event event) {ArrayList & lt; String & gt; Build = new arrelist (); Player Player = event.getPlayer (); If (! Player.isOp ()) {event.setCancelled (true); } And if (! BuildConnant (player)) {event.setCancelled (true); } And if (BuildConnant (player)) {event.setCancelled (wrong); }} @EventHandlerPlayerJoin on Public Zero (PlayerJoinEvent Event) {Player Player = event.getPlayer (); Event.setJoinMessage ("§4§l & gt; §a§l" + player + "§b§ljoined! §4§l Now, on the second @EventHandler, this variable can not solve "build" which I have defined in the last @EventHandler, how can I make it so that it works? build is a local variable and only onBlockBreak (BlockBreakEvent event ) Is available within . What you want to do is declaring a variable out and i...

Include javascript on specific pages using Rails 3 -

I created service using Ajax and Rails for Jizz Chat, where I request the AXX server and I get feedback. Anyway, I want Ajax script to work on every page except Home / Chat, I have a chat.js file and I like this application.html like follow: Online Mental Health = Stylesheet_Link_tags include 'app' ,: media = & gt; "All" = csrf_meta_tags = javascript_include_tag 'application' - as long as the consultation [: controller] == 'home' = javascript_include_tag 'chat.js' In addition, I staging.rb and production Added .rb to: config.assets.precompile +% w (chat.js) and I included my chat.js file In Application.js But when I deploy my application on the server, and RAILS_ENV = staging bundle xx rake property: precompile An error is occurring as Bellow: Spochet :: Help :: Rail: Helper :: Assetpath :: Error in the AssetPreCampined Dashboard # User_View chat.js precompiled Extracted Source (Approx. # 10): 7: / = Render 's...

javascript - How can I check if a Date datatype variable is in the past with Typescript? -

I have this function: isAuthenticationExpired = (expiration date: date) = & Gt; {Var now = new date (); If (end date - now> 0) {return false; } And {return true; }} There are two types of expiration dates and types now Typography calls me an error The left hand type of error should be 'any', 'number' or an enum type: / P> error 3 arithmetic operation. Error 4 An arithmetic operation should have a 'no', 'number' or an enum type on the right side. How can I check that the date has expired, as if my way does not work? date now and of Em> After the UNIX Era of MS using the expiration date .valueOf () var now = new date (). ValueOf (); End date = expiration date value (); Alternatively, use date.now ()

sql - How to return table name with columns in select query -

My database has a stored procedure. In that archived process, I am retrieving data from ten different tables. The result I am getting 10 tables. My question is, is there any way, so I can return the name of the table. Because this SP is executing with my vb.net project and storing this result in a dataset. And I have this stored procedure, which tables up to tables in my data set from this stored function. So I'm merging this table as Dataset 1 WTL ("Table 1"). (Merge (dataset2.tables (0)) Now I want to do this, I have to give the name of the table to get results from the stored process, so that I have a table name with table table (0) Then I should retrieve the results like this stored procedure. I'm storing the process like > proc sp_QM_INVOICE_MATBATCHWISE_DETAILS @PLANT_CODE NUMERIC (5,0), @COMPANY_CODE NUMERIC (5,0), @ FEER NUMERIC (5,0), @STRAN SIA Start as QC VARCHAR (15), @SMOE VARCHAR (5), @DOC_OVARCHAR (20), @INVOICE_NOVARCHAR (20), @CUSTOM...

php - How to linking to a div in html? -

I have a list of links and that page has the contents of the link, how can I link to a place on the page Am I For example: & lt; Div id = "div1" & gt; Content content content content & lt; / Div & gt; & Lt; Div id = "div2" & gt; Content content content content & lt; / Div & gt; & Lt; Div id = "div3" & gt; Content content content content & lt; / Div & gt; How to link div3 Use this type for id for div3 : & lt; A href = "# div3" & gt; Link DIV3 & lt; / A & gt; & Lt; Div id = "div1" & gt; Content content content content & lt; / Div & gt; & Lt; Div id = "div2" & gt; Content content content content & lt; / Div & gt; & Lt; Div id = "div3" & gt; Content content content content & lt; / Div & gt; You can read more about it.

forms - The foreach tag in JSP and how to write the code in the Java controller -

I have a controller (registered controller. Java) and I want the controller to output JSP (its name is commment_form.jsp is). So I use every tag in jsp to display a list of comments (comments about a given resource that the user has been given). I usually mean an image for "processing". So there is a list of comments about "image" and I want all the comments to be displayed in all the pages below, when a comment commentary will be put in the form. My question is how should the code be written in the controller so that output can be set for JSP? Should I use a @model attribute, a put-attribute or something? Here is the code of the controller and jsp: comment_arm.asp: & Lt; C: Out value = "$ {comments.content}" & gt; & Lt; / C: Out & gt; & Lt; / Td> & Lt; Td> & Lt; C: out value = "$ {comments.content} & lt; & lt; ; / Form: form> Registered Controller is Java: @RequestMapping ("/ comme...

java - "built in dependency injection" in scala -

Hi, the following post says that "built in dependency injection" in Scala "As a Scala and Java developer, I'm not even trying to change Scala as my main language for my next project with Java. If I have to write Java mandatory, then it's Java 8 It may be better, but if I have a choice, there are so many things (OP In the right way), which are forcing Scala beyond Lambdaas to me, which means that adding this feature to Java does not really mean anything to me. Ruby's Lambdass, so Python and Javascript, Dart and I I believe that any other modern language. I like Scala because of many things other than Lamdas that a comment is not enough. But some people have names (some say OP Everything is an expression, for understanding (especially with many futures, solving the callback triangle of death in a beautiful syntax) in the IMHO, the underlying C inversion, the case Class, pattern matching, tuples, the fact is that everything is equal and hashcode has a...

php - How to use the URL ignoring controller's default behavior in codeignitor? -

मेरे स्थानीय होस्ट में एक सीआई कोडबेस है जिसका URL http: // localhost / mydomain / site / यहां "साइट" एक फ़ोल्डर नहीं नियंत्रक है मेरे पास डीबी टेबल डेटा फ़ील्ड है, जहां कुछ क्षेत्रों की जगहें संग्रहीत हैं। आदर्श रूप से जब उपरोक्त यूआरएल को मारा जाता है, तो डिफ़ॉल्ट "होम" नियंत्रक को बुलाया जाता है। लेकिन मैं चाहता हूं कि उपयोगकर्ता यूआरएल को http: // localhost / mydomain / site / southtown के रूप में दबाएं ध्यान दें: डेटा के आधार पर आता है: localhost / mydomain / site / southtown / aboutus localhost / mydomain / site / के रूप में URLS > मार्गों का उपयोग करने की कोशिश करें, जैसे $ route ["home"] = "home"; $ मार्ग ["घर / (: कोई भी)"] = "घर / अनुक्रमणिका / $ 1"; और अपने घर नियंत्रक में करें: सार्वजनिक फ़ंक्शन इंडेक्स ($ location = "") {// get $ Location और check against db} तो, जब यूट्यूब यूआरएल http: // localhost / mydomain / site / southtown / का उपय...

git - Contribute to django via github -

I am new to the contribution. I improved the DNS document and I want to take it to Zithub. I follow the guide, but I got the following issue on the push command git push origin ticket_xxxxx : remote: django / django.git permission & lt; User & gt; . Fatal: Unable to access 'https://github.com/django/django.git/': The requested URL returned an error: 403 My remote repositories are: Basic https://github.com/django/django.git (fetch) Basic https://github.com/django/django.git (push) If you read the documentation carefully, you will see that, it leads you to the original DJ ango Clone the Forked repository instead of the repository. git clone git@github.com: github_nick / django.git ^^^^^^^^^^^ DJ ango repository directly, Instead of trying to push the repository into the repository. Comment, push on your phone repository then.

go - Reference type in an array -

See the following code snippet // Create some data to put in the template . ("Uncle Mildred", "Bone China Tea Set", true}, {"uncle John", "molluscin pants", false}, {"Cousin Rodney", "", false}}} I create a straight line with some properties. After creating a piece with the recipient type, do the slice recipients keep the value or reference type inside? It looks like a price type. / P> One piece is actually a (sort of) array for a part of the array (see) Chuck, so for arrays, items are values ​​of specified type.

asp.net mvc - DbContext SaveChangesAsync Exception -

I want to ride a new one, I have this code for: Using (Var db = New CarManagerDbEntities ()) {Guide? Car ID = GetCarId (Carlenense); If (car id == zero) {return tap; } Guid rideId = Guid.NewGuid (); Ride newRide = new ride () {DriverID = driverId, Carid = carId.Value, StartDrive = startTime, id = ride id}; Db.Ride.Add (newRide); Wait db.SaveChangesAsync (); Return car ID; } but in line: await db.SaveChangesAsync (); I get this exception: System.ServiceModel.FaultException `1 was unchecked HResult = -2146233087 Message = An error occurred while updating the entries View Internal Exceptions for Details Source = mscorlib StackTrace: Server Stack Trace: System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood (Message replies , MessageFault Error, String Action, MessageVersion Edition, FaultConverter faultConverter) System.ServiceModel.Channels.ServiceChannel.HandleReply (less than ProxyOperationRuntime operation, ProxyRpc & RPC) System.ServiceModel.C...

html - CSS div positioning: ridiculous number for margin-left -

In this Bella I am tired to make a small space between green divs and my right div I had to leave a small number of px margin-left to make that small difference. Can you tell me why? The difference is like 50px or something, I had to pay the margin-left 620 to make that difference. Something wrong with my nesting? I want. The correct DIV should be correct in the green divide here is my code: My CSS is: A {display: table-cell; Height: 100%; Vertical-align: medium; Text-align: center; } A: Hover {background-color: # 000;} div.className {display: table; Width: 200px; Float: left;} div.nobr {width: 600px; } Div.right {margin-left: 620px;} Below your CSS update Please. one {display: table-cell; Height: 100%; Vertical-align: medium; Text-align: center; } A: Hover {background-color: # 000;} div.className {display: table; Width: 200px; Float: left;} div.nobr {width: 600px; Float: left;} div.right {float: left; Padding-left: 30px;}

vbscript - Unable to set DeviceElements for a Windows BCD with WMI -

I am trying to create a Windows 7 BCD Store programmatically using a VBScript. Self storage, bootarm, and OS loader are seen floating because popularizing most elements for each object, where I go into trouble, there is a need to popularize devices and OSDIVE elements. Here is the code that works: Constant BootMgrId = "{9dea862c-5cdd-4e70-acc1-f32b344d4795}" BootLdrId = Left (. CreateObject ("Scriptlet.TypeLib") Guid, 38 ) Set objStoreClass = GetObject ("winmgmts: {{backup, restore}} \\ \ root \ wMI: bcdstore.") ObjStoreClass.CreateStore "meter: \ boot \ bcd", objStore objStore.CreateObject BootMgrId, & amp; H10200002, objBootMgr objStore .CreateObject BootLdrId, & amp; H10200003, OzbutLDR OzbutLDRStr String Element and H12000002, "\ Windows SystemOver \ Boot \ Windle. OSAJ" OzbutLDRStr String Element and H12000004, "Diskwipe" OzbootLDRSrT String Element and H22000002, "\ Windows" OzbootelDru SToBean E...

anchor - HTML linking to a level inside current route -

I am trying to do a relative anchor at some level inside the current path, but it does not understand . For example, if I am in the following route: http://domain.com/first/second How do I link a relative link from here: http://domain.com / First / second / third & lt; A href = "third" & gt; takes me to http: // domain I Com / first / third & lt; A href = "./ third" & gt; also takes me to http://domain.com/ first / third & lt; A href = "/ thirds" & gt; The only way I have found that second / third or ./ second / third I am hesitant to use because I may need the same view from the other way and the other might be something else Is that what I am trying to do too?

javascript - Please write this simple regexp for me -

I tried to do some things but I can not get a job regex. Javascript Lookup does not seem to work. I have the following output of the version information: version: 1.0 Java SDK -------- Java version "1.7.0_45" OpenJDK Runtime Environment (RHL-2.4.3.4. 6_5 -x86_64 u45-b15) OpenJDK 64-bit server VM (Build 24.45-B80, mixed mode) ` me 1.0 Does anyone have the idea of ​​how to get it through regex? Thank you in advance! You can use the capturing group. In the first capture group, the string 1.0 , version: \ s * ([\ d.] +)

android - Should I use AppCompat v7 if minsdk is 14 -

Am I still using Application Compact v7 if my app has minSdk = 14? Is there any advantage in Android L with actionbars? Do I Have Android Should support from support.v4.app.Fragment support v4 or should I use the android.app.Activity class (which is support for pieces from honeycomb)? Am I Android .app.fragment or android.support.v4.app.Fragment? should be used? I think I should support V4 fragment activity and fragmentation, but there is no need for Ep compact V7, right? What do you think? AppCompat is used for API level below. Since 11 you have the action bar natively, there is no need to use AppCompat on API level 11 and above. Expand Activtiy and use piece (android.support.v4.app .Fragment)

javascript - Get json contents with JQuery -

एक jQuery वैरिएबल में मेरे पास है, उदाहरण के लिए: var states = ["अलबामा एक states.json फ़ाइल में मेरे पास एक ही सामग्री है: "अलास्का", "एरिज़ोना", "अर्कांसस", "कैलिफ़ोर्निया"]; ["अलाबामा", "अलास्का", "एरिज़ोना", "अर्कांसस", "कैलिफ़ोर्निया"] मैं इसकी सामग्री कैसे प्राप्त कर सकता हूं $ (दस्तावेज़) .ready (फ़ंक्शन () {$ .getJSON} मैं इसे करने की कोशिश कर रहा हूं: ('./states.json'function (डेटा) {// चेतावनी (डेटा); // यह काम करता है! //opa=$.parseJSON (डेटा); // संदर्भ त्रुटि: ओपा परिभाषित नहीं है - सिंटेक्स त्रुटि: JSON पार्स: जेएसएएन डेटा ओपा = डेटा के लाइन 1 कॉलम 1 में अप्रत्याशित चरित्र; संदर्भ संदर्भ: ओपा परिभाषित नहीं है}); अलर्ट (ओपा); // यह काम नहीं करता है};); M0msY.png "alt =" यहां छवि विवरण दर्ज करें "> सबसे पहले अपने JSON डेटा की पुष्टि या सर्वर से नहीं console.log (डेटा) का उपयोग करें; और जांचें .. यदि यह JSON आ रहा ह...

javascript - How to get the current categories list in High Charts -

I need to get a list of current categories of high charts For example: var drilldown = this.drilldown; Setchart ([drilldown.name, drilldown.name1], drilldown.categories, [drilldown.data, drilldown.data1]); drilldown.categories will receive categories of next drill down series as well as this.category if I'm doing [John, Fab, March] then this.category will receive a point when there is a point but I want to list the whole categories like the current series, I would like something like this.series.caetgories such as.series.name, this.series.data / Strong> But I'm in high chart Can not find anything like this, to bring it anyway

r - How to complete a graph ggplot2 -

Image
I am doing a graph to show a number of hits on some websites. I have the following data frame: Time 1 time 2 citio hit time 1 2014-4-11 8: 0 Gmail 1 2014-04-11 08:00:00 2 2014-4- 11 8: 0 Google 18 2014-04-11 08:00:00 3 2014-4-11 8: 0 Twitter 4 2014-04-11 08:00:00 4 2014-4-11 8: 0 Facebook 13 2014- 04 -11 08:00:00 5 2014-4-11 8: 0 Youtube 110 2014-04-11 08:00:00 6 2014-4-11 8: 0 MediaWidcom.com 3 2014-04-11 08: 00 : 00 7 2014-4-11 8: 0 Grooveshark.com 4 2014-04-11 08:00:00 8 2014-4-11 8: 0 teleconlanparty.org 20 2014-04-11 08:00:00 9 2014 -4-11 7:56 Twitter 2 2014-04-11 07:56:00 10 2014-4-11 7:56 Facebook 6 2014-04-11 07:56:00 11 2014-4-11 7:56 Youtube .com 8 2014-04-11 07:56:00 12 2014-4-11 7:56 Teleconprotterjorg 11 2014-04-11 07:56:00 13 2014-4-11 7:57 GMail 36 2014- 04-11 07:57:00 14 2014-4-11 7:57 Google 1 2014-04-11 07:57:00 15 2014-4-11 7:57 Twitter 79 2014-04-11 07:57:00 16 2014-4-11 7:57 Facebook 194 2014-04-11 07:57:00 17 2014-4-11 7:57 series.li 2 2014-04-11 07:57:00 1...

facebook deep linking (app links) to ios app doesn't work -

Image
To show "Open" in my app, I do not know how to create Facebook when I share a URL with my website & lt; meta property = "al: ios: url" content = "myapp : // "/> MTA property =" al: ios: app_store_id "content =" id ... "/> The deep linking button is running in the dev.facebook settings. Schema My app has myapp: // and has been opened with such a URL. Do I want anything more? Bundle ID: The same bundle ID in your app (Info.plist) The URL scheme is the name only, no: / / (Your information under url schemes. In the list) The iPhone / iPad Store has an id in your iTunes link, such as the following: https: // itunes .apple .com / app / app name / id55 #### 003? Ls = 1 & amp; MT = 8

numbers - i want to convert my numeric value to text in excel. ex:In A1 cell have "2" then convert to that value "Two" -

I want to convert text in Excel to their numeric value. For example: A change in the "2", then the value "two" in the first cell Please help me ... B 1 A1, to 0 9 > points, so"> This formula is good for single numbers only.

c# - Web API method with parameters not working in MVC4 -

मेरे पास निम्न API विधि है: [HttpGet] सार्वजनिक सूची & lt; ListOfUsersModel & gt; GetRegisteredUsers (int courseId) {सूची & lt; अकाउंट कॉरस & gt; GetUsers = नया AdminBL ()। GetAccountIdByCourseId (पाठ्यक्रम आईडी); Var ListOfUsers = नई सूची & lt; ListOfUsersModel & gt; (); विदेशी मुद्रा (गेटयूसर्स में खाताकॉर्स्) {ListOfUsersModel lum = नया ListOfUsersModel (); Lum.user = a.AccountId.ToString (); ListOfUsers.Add (Lum); } लौटें सूचीऑफयूजर; } यदि मैं इसके बजाय "GetRegisteredUsers ()" विधि को संशोधित करता हूं, तो यह बिल्कुल ठीक काम करता है। हालांकि, अगर मैं एक पैरामीटर निर्दिष्ट करना चाहता हूं मुझे निम्न संदेश मिलता है: नियंत्रक 'तीसरे पक्ष' पर कोई कार्रवाई नहीं मिली जो अनुरोध से मेल खाती है। "} वैश्विक रूप में, मेरे पास यह है: मार्गों। MapHttpRoute (नाम: "DefaultApi", मार्गटैम्प्लेट: "एपीआई / {नियंत्रक} / {action} / {courseId}", डिफ़ॉल्ट: नया {courseId = RouteParameter.Optional}); मुझे नहीं पता कि मैं यहा...

javascript - MegaPixImage Error From FineUploader When Loading Page with RequireJS -

I am restoring my application to use RequireJS (in the Play Framework using SBT-Web Abstracts, But it is not compatible). First of all, I just wanted to use a shim to load the fine user, because it is not AMD-compatible, but I have not defined " megapixel image "error. It seemed strange to me because the FineUploader has no dependencies (as the content of third party is created). But after watching, I have downloaded separately and set up my RequireJS configuration in this manner (coffee script): needjs.config (path) : Megapiximme: './megapiximage' fineUploader: './custom.fineuploader' Shim: OKExploreer: Export: 'OKUploader' DIPA: ['jquery', 'megapiximage']) is required (['./' main '], (main ) - & gt; Required (['fineUploader', './myfile'] Returns) However, I still get the same error, although the library is AMD-compatible. Any information about how I should set up my RequireJS configura...

Android App Error: java.lang.NoClassDefFoundError -

After OK, then I'm working on an Android application, but get the following error : com.networkstudios.app.LoginActivity in java.lang.NoClassDefFoundError java.lang.NoClassDefFoundError: com.networkstudios.app.LoginActivity $ 1 com.networkstudios.app.LoginActivity (LoginActivity. .java: 37) on android.app.Instrumentation.newActivity (Instrumentation.java:1068) on java.lang.Class.newInstance (class.java.1319) on Android java.lang.Class.newInstanceImpl (the basic method) and on Android . App.ActivityThread.performLaunchActivity (ActivityThread.java200007) android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:2117) android.app.ActivityThread.access $ 700 (ActivityThread.java:134) at least android.app .ActivityThread $ Android.Handler (Handler. Java: 99) Android Loop H.On on Loop (Looper.java:137) android.app.ActivityThread.main (Activity Threatened) Ondlemes (Activity Thread: JavaPro 218) D.java:4867) at java.lang.reflect.Method.invokeNative (Native Method) at...