title
stringlengths
13
150
body
stringlengths
749
64.2k
label
int64
0
3
token_count
int64
1.02k
28.5k
Spring Data Redis JedisConnectionException: Unexpected end of stream
<p>Redis 3.0.5<br> Spring Data Redis 1.3.6<br> jedis 2.6.3<br> - Our is web application which receives data from redis over pub/sub.<br> - Also performs read/write of data on redis as key/value pairs.<br> - read/write happens on listener thread, independent monitoring thread and http request threads.<br> - We have used...
1
1,783
How to hide navigation bar after moving to another page (flutter)?
<p>In the homepage i am calling widget to my body main.dart base on navigation bar option, in the homepage it has a list of images, if i click one of the images, it shows me the detail. the problem is the navigation bar in the detail page still show. How to hide the navigation bar?</p> <p>Main.dart</p> <pre><code>cla...
1
1,661
Adobe PhoneGap Build (iOS) and PushWoosh
<p>According to the docs at PushWhoosh:</p> <p><a href="http://www.pushwoosh.com/programming-push-notification/phonegap-build-push-plugin-integration/" rel="nofollow">http://www.pushwoosh.com/programming-push-notification/phonegap-build-push-plugin-integration/</a></p> <p>I should be able to use Adobe's Build cloud s...
1
1,410
MappingException error on production
<p>I'm getting this error on my production environnent: (from prod.log)</p> <pre><code>[2012-01-30 17:00:51] request.CRITICAL: Doctrine\ORM\Mapping\MappingException: Class Gitek\UdaBundle\Entity\Curso is not a valid entity or mapped super class. (uncaught exception) at /home/uda/shared/vendor/doctrine/lib/Doctrine/ORM...
1
2,535
Nextjs stuck loading the home page
<p>I'm working on a website created with Nextjs. But when I run it on my local it doesn't load anything on the console just show <code>[ event ] build page: /_error</code>. I tried to log the <code>_error.js</code> but nothing had been shown. The following are my configuration:</p> <p><code>server/index.js</code> </p>...
1
1,271
newKieSession() returns null when project is exported to JAR
<p>Very confusing problem here. I see behavior which differs between running the project in Eclipse and running the project as an exported JAR. When the project runs in Eclipse, it runs fine. When it runs as a JAR, it crashes. The crash results from the <code>newKieSession</code> method. </p> <p>Here is the code block...
1
1,154
JsonMappingException: No suitable constructor found
<p>I am implementing a firebase example as given in their documentations. I am facing this error:</p> <blockquote> <p>com.fasterxml.jackson.databind.JsonMappingException: No suitable constructor found for type [simple type, class com.XYZ.$BlogPost]: can not instantiate from JSON object (need to add/enable type infor...
1
1,048
location in real time with flutter
<p>I am trying to capture the latitude and longitude in real time with my gps on my device however so far I am only getting the current longitude and latitude and it is not updating.</p> <p>What I want to do is that when the gps detects that the latitude or longitude has changed, they are updated on the screen</p> <p>a...
1
1,579
Sequence contains no Elements at System.Linq.Enumerable.Single[Tsource](IEnumerable'1 source)
<p>I am running some test and using OpenXML now I want to get the data into an Array and save to their respective content controls. I tried and I am getting this execption</p> <pre><code>Sequence contains no Elements at System.Linq.Enumerable.Single[Tsource](IEnumerable'1 source) </code></pre> <p>With this source cod...
1
1,256
LoadLibrary causes an access violation
<p>I'm trying to create a proxy dinput8.dll to allow keyboard remapping in a game, and have pieced together some instructions etc to come up with the following :</p> <pre><code>#include &lt;windows.h&gt; #include &lt;strsafe.h&gt; #pragma pack(1) HINSTANCE hLThis = 0; HINSTANCE hL = 0; FARPROC p[5] = {0}; BOOL WINAP...
1
1,297
Loop in Credit Card Validation in java
<p>I am a high school student in an introductory Computer Science course. Our assignment was the following:</p> <p>The last digit of a credit card number is the check digit, which protects against transcription errors such as an error in a single digit or switching two digits. the following method is used to verify ac...
1
1,770
User.Identity.IsAuthenticated always return false .NET CORE C#
<p>I´ve tried <code>var claimsIdentity = new ClaimsIdentity(GetUserClaims(user), token);</code> but i don´t know how to use it</p> <p>My startup.cs</p> <pre><code>public void ConfigureServices(IServiceCollection services) { services.AddDistributedMemoryCache(); services.AddSession(opti...
1
3,661
Fatal Exception: java.lang.StackOverflowError: stack size 8MB on Check Location Permission Request
<p>I am getting an Error <code>Fatal Exception: java.lang.StackOverflowError: stack size 8M</code> while checking location permission, </p> <p>Here is the full Error Log,</p> <pre><code> Fatal Exception: java.lang.StackOverflowError: stack size 8MB at java.lang.String.contains(String.java:2078) at android.os....
1
2,529
Invocation of init method failed; nested exception is java.util.NoSuchElementException
<p>I'm trying to get Granite's Gravity to work with my project which is Flex 4.6, Spring 3.1.1 and Tomcat 7 but I'm stuck on an error and I'm getting no solution on the NET. Below is an extract of my Spring applicationContext.xml file :</p> <hr> <pre><code>&lt;beans xmlns="http://www.springframework.org/schema/beans"...
1
2,321
SCP from remote host using groovy
<p>I am trying to SCP from a remote host using JSch. I have successfully copied file form remote host in java STS IDE. However, when I tried to run it in groovy script which I am executing using SOAP UI, I get following error.</p> <pre><code>Fri Jun 07 16:53:02 IST 2013:INFO:Exception : groovy.lang.MissingMethodExcept...
1
2,072
MongoDB - Index not being used when sorting and limiting on ranged query
<p>I'm trying to get a sorted list of items using a ranged query on a collection containing bulletin-board data. The data structure of a "thread" document is:</p> <pre><code>{ "_id" : ObjectId("5a779b47f4fa72412126526a"), "title" : "necessitatibus tincidunt libris assueverit", "content" : "Corrumpitvenenat...
1
13,753
Getting com.mongodb.MongoSocketReadException: Prematurely reached end of stream- MongoDB
<p>I'm trying to connect my java application to MongoDB server. I'm using </p> <p>java 8, mongodb server 4.0.9 , mongo-java-driver:3.10.0</p> <p>I am able to connect with my localhost server but getting following error when connecting to remote server which is ssl enabled by self signing. </p> <pre><code>INFO: Clust...
1
1,052
Error: Class 'Object' not found in Cakephp
<p>I have this component in my app:</p> <pre><code>&lt;?php class ImageComponent extends Object { var $name = 'Image'; private $file; private $image; private $info; public function prepare($file) { if (file_exists($file)) { $this-&gt;file = $file; $info = getimagesiz...
1
5,538
Writing csv with quotes around strings (Python)
<p>I have written the following code to take a large csv file, and split it into multiple csv files based on a particular word in a column. The original csv file has some fields that are strings, and they have quotes around them.</p> <p>For example:</p> <pre><code>Field1,Field2,Field3,Field4 1,2,&quot;red&quot;,3 1,4,&...
1
1,077
Azure Data Factory v2 If activity always fails
<p>I'm currently struggling with the Azure Data Factory v2 If activity which always fails with this error message: <a href="https://i.stack.imgur.com/EQXiF.png" rel="nofollow noreferrer">enter image description here</a></p> <p>I've designed two separate pipelines, one takes the full snapshot of the data (1333 records)...
1
2,086
Servlet's service and init method are being called, but not doGet
<p>I have a simple Servlet that looks like this:</p> <pre><code>import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.ServletRequest; import javax.servlet.ServletResponse; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest;...
1
1,030
Pass json data to servlet (doPost) with Jquery $.ajax
<p>i'm learning about calls to ajax so i'm trying to get the value of ('#abcd') (a html select). I'm using this line:</p> <blockquote> <p>abcdVal = combo.options[combo.selectedIndex].value</p> </blockquote> <p>When this value change i must store his value in a var like abcdVal for pass to servlet with:</p> <blockq...
1
1,558
VideoPlayerController.network() ran into source error
<p>Im trying to play a video from the internet using VideoPlayerController.netWork() method but every single url that i try face with an error which is specified below :</p> <p>Source error. E/flutter ( 4250): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(VideoError, Video player ...
1
3,252
How to overcome "Missing optionally imported package"issue in OSGi
<p>I wrote an OSGi bundle using "maven-bundle-plugin"(where i try to make the "jruby-complete-1.4.0.jar" as osgi bundle, note that only dependency is "jruby-complete-1.4.0.jar")..When i check the bundle via osgi console using diag command( #diag XX) it says some packages are missing;</p> <pre><code>osgi&gt; diag 51 r...
1
3,329
Conversion to Dalvik format failed with error 1 - Why?
<p>I only added to an existing fully working project, the file <code>com/android/vending/billing/IMarketBillingService.aidl</code></p> <p>(I didn't add anything else (from the market_billing sample) yet, since I am not even trying to use the service yet)</p> <p>It compiles and builds perfectly, but when I try to run ...
1
1,602
Unable to build docker image from docker file, for dotnet core web application
<p>I am trying to build a docker image for dotnet core app on windows which I am planning to host it on Kubernetes </p> <p>with following details</p> <pre><code>#docker file FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim AS base WORKDIR /app EXPOSE 8989 FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster A...
1
1,291
Wrapper for Bloomberg Data License Web Services
<p>I'm looking now in <a href="http://www.bloomberg.com/enterprise/content/uploads/sites/2/2013/09/Data_License_Brochure.pdf" rel="nofollow noreferrer">Bloomberg Data License Web Services</a>. Note, that this is different from Bloomberg API ( Session/Service/Request, b-pipe, etc ). It is SOAP-based solution to retrieve...
1
1,192
How do you configure WCF to support FaultContracts where both the host and client are in the same process using a net.pipe?
<p>I'm trying to create an in-process unit test for my service to client interactions using net.pipe binding. Like a good WCF service it uses FaultContractAttribute on service operations to expose possible faults <em>(wrapped exceptions)</em> to metadata. I would like to have the client and service endpoints configur...
1
1,312
React build error: Module build failed (from ./node_modules/babel-loader/lib/index.js):
<p>I am following along with a tutorial and when I try to build react I get an error.</p> <pre><code>Module build failed (from ./node_modules/babel-loader/lib/index.js) 5 | ReactDOM.render( &gt; 6 | &lt;App /&gt;, | ^ 7 | document.getElementById('root') 8 | ); </code></pre> <p>I found similar is...
1
1,069
Conditionals of dynamic content with PUG and FLASK
<p>This is the flask file.</p> <pre><code>from flask import render_template from app import app @app.route('/') @app.route('/index') def index(): user = {'nickname': 'Miguel'} # fake user return render_template('index.html',title='Home',user=user) </code></pre> <p>This is pug file:</p> <pre><code>doctype h...
1
1,087
python sm.ols change format of summary to avoid scientific notation
<p>I am running an ols model and I need to know all the coefficients so I can use them in my analysis. How can I display/save the coefficients in a different format than scientific notation?</p> <pre><code>model = sm.ols(formula="sales ~ product_category + quantity_bought + quantity_ordered + quantity_returned + seaso...
1
1,302
Grafana subpath kubernetes NodePort
<p>I have deployed Grafana using Helm chart with subpath /grafana. Now trying to access using service nodeport, like this <a href="http://192.168.16.15:30837/grafana/" rel="nofollow noreferrer">http://192.168.16.15:30837/grafana/</a></p> <p>But Grafana has failed to load its application files. How can I make this work...
1
4,355
Thread was being aborted
<p>I was wondering if somebody help me with next error.</p> <p>I have an app -windows service, which by a timer calls some function for manipulating with database (linq2sql).</p> <p>Approximately after 3-5 calls I always receive next error "Thread was being aborted." in next source code </p> <pre><code> var ctx= new...
1
2,314
Cannot use ng-Bootstrap datepicker
<p>I cloned quickstart project from tour of heroes <a href="https://angular.io/guide/setup" rel="nofollow noreferrer">https://angular.io/guide/setup</a> and I try to add ng-Bootstrap datepicker but it doesn't work. My project:</p> <p>app.module.ts:</p> <pre><code>import { NgModule } from '@angular/core'; import ...
1
2,872
Perl, telnet, and output
<p>I'm having trouble finding out why my perl script isn't handling output appropriately.</p> <p>So, the code (<strong>Updated based on suggested changes</strong>):</p> <pre><code>sub telnet_connection{ my $targetHost = $_[0]; #my $uname = $_[1]; #my $pword = $_[2]; my @listOfCommands = @{$_[3]}; ...
1
1,176
JDBC Select * from Where x=(?)
<p>I'm trying to make a method that retrieves a customer from a database and stores it in an object. But for some reason my sql statement is not working.</p> <p>This is my method.</p> <pre><code> public class CustomerDAO { private String url = "jdbc:h2:tcp://localhost/project;IFEXISTS=TRUE"; Set&lt;Customer&gt; ...
1
1,147
How to filter complex structured Json data in Angular 6
<p>I have a complex structured json data that needs to be apply an advanced filtering in my Angular 6 App. </p> <h3>JSON Data:</h3> <pre><code>[{ "StudentId": 1, "StudentName": "Student1", "Sex":"M", "Programs": [ { "StudentId": 1, "ProgramName": "Java", "Pr...
1
8,528
Build GUI in swing using XML file
<p>I'm looking for a way to build UI using XML and swing. I have a code in XML and looking for a way to get UI out of it using swing. I tried below Java code but im not sure if this will help me display frame and other components.</p> <p>Please help.</p> <p>Below is the XML code which has JFrame and other things I wa...
1
1,327
How to get select value in a JSP to a servlet ? JAVAEE
<p>first pic here after month reading posts to help me so, kinda excited ! :D I'm currently learning JavaEE in scholl and have a problem to get values from a select box in my JSP file.</p> <p>Here is what I want to do : get the value from the select box when I click "add to card", put that in a list (in the servlet) ...
1
1,809
Debugging Sinatra application
<p>I install pry and try to use it. </p> <pre><code>gem "pry" require 'pry' #.......... binding.pry </code></pre> <p>But there are 3 issues :</p> <ul> <li>I don't know to go to the next string (not to the next break point) or watch the value of a variable. There is <strong>no information</strong> about it!</li>...
1
4,436
How to process base64 image in webpack?
<p>I'm using webpack in my project. I'm trying to use <a href="http://codeseven.github.io/toastr/" rel="nofollow">toastr</a></p> <p>Toastr css file uses base64 in url like the following:</p> <pre><code>#toast-container &gt; .toast-success { background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgA...
1
1,139
Node JS app crashing itself even after using forever JS
<p>I am just tired of seeing my server goes down every time off and on.. Whenever I wake up it is down. Every time I have to go to SSH and then run </p> <pre><code>forever restartall </code></pre> <p>to restart my node app :( </p> <p>I looked into the log file of forever and it says this</p> <pre><code>error: Fore...
1
1,437
How do I get my progress bar to 'progress' with a button click?
<p>I am trying to create a button that when clicked it will make the progress bar increase.</p> <p>I have set the bar to a maximum of 100 and every time the button is selected, I'm hoping it will go up by 1/10.</p> <p>Anyone able to help with this? My progress bar is just called 'progressBar'.</p> <pre><code>&lt;Pro...
1
1,347
How to pause/play a thread in PyQT5?
<p>I'm making a light GUI program with PyQT5.</p> <p>But now I'm facing some problem about thread.</p> <p>I just made simple test program like bottom:</p> <p>the program simply trying to append numbers to textbox, but it crashes.</p> <p>I don't know why but somehow I can prevent it by removing a comment(time.sleep)...
1
1,241
Unable to launch Eclipse after set the TFS
<p>I'm trying to configure TFS for my project. Every was ok until i restart the eclipse. A pop up saying " An error has occurred. See the log file". Once i checked the log file its show this error. Please help.</p> <pre><code>!SESSION 2012-12-24 14:18:16.082 ----------------------------------------------- eclipse.buil...
1
2,932
How to make django celery use the redis broker url?
<pre><code>(venv) [riyad@Fury django_celery]$ celery -A django_celery worker -l info &lt;Celery django_celery at 0x7f0917d57fa0&gt; -------------- celery@Fury v4.3.0 (rhubarb) ---- **** ----- --- * *** * -- Linux-5.8.6-1-MANJARO-x86_64-with-glibc2.2.5 2020-09-30 02:54:36 -- * - **** --- - ** ---------- [config] -...
1
1,335
Jupyter Notebook error loading an .ipynb file
<pre><code>Unreadable Notebook: /home/gerbil/ws_sim/src/rosie_simulation/analysis/get_stats-multi.ipynb NotJSONError('Notebook does not appear to be JSON: u\'{\\n "cells": [\\n {\\n "cell_type": "...',) </code></pre> <p>I get this error when trying to load a .ipynb file that I open using the command jupyter notebook g...
1
1,197
TypeError: Empty 'DataFrame': no numeric data to plot
<p>I'm new to coding and am still learning. That being said, I've been following a tutorial on how to do data analysis from twitter API: <a href="http://adilmoujahid.com/posts/2014/07/twitter-analytics/" rel="nofollow noreferrer">http://adilmoujahid.com/posts/2014/07/twitter-analytics/</a></p> <p>I believe he's using ...
1
2,052
Extract email from field using Oracle Regexp
<p>I want to get e-mail formed texts in a field. I have tried sql below but no luck. See <a href="http://sqlfiddle.com/#!4/d41d8/23829" rel="nofollow">SqlFiddle</a>. Removing ^ and $ from regexp not working too.</p> <pre><code>WITH TEST_DATA AS ( SELECT 'foo@gmail.com' AS EMAIL FROM DUAL UNION ALL SELECT 'mail fo...
1
3,804
Not able to see Firebase notifications when I am on browser
<p>I want to send Firebase web notifications from FCM to PWA app. Unable to see my firebase notifications when I am on browser, but I can able to see notifications when I came out of browser(home screen of the mobile). I don't understand the issue. Please assist me. Thanks in Advance. </p> <p>my firebase-messaging-sw...
1
5,795
openlayers - wms - map not loading
<p>I've created a simple site with a map where I'm connecting to a wms-server. The problem is now, that the map isn't shown, just a view small pictures. Here is the site i've created: <a href="http://dl.dropbox.com/u/2418858/index.html" rel="nofollow">http://dl.dropbox.com/u/2418858/index.html</a></p> <p>Here is the c...
1
1,327
Failed to start bean kafkaListenerContainer: java.lang.IllegalArgumentException
<p>I am using <a href="https://github.com/iainporter/spring-file-poller" rel="nofollow noreferrer">this</a> as example for reading file using spring integration, its working fine but when I try to send file to kafka producer it doesn't work. I tried to look up this issue on internet but could not find help. Here is my ...
1
2,221
Cache is closed causing an exception while running test suite
<p>I'm experiencing a problem similar to the described in <a href="https://stackoverflow.com/q/16281802/1429387">this question</a>.</p> <p>I have a test suite that runs fine in development environment. One of the tests fails when executed in Bitbucket Pipelines with the following exception:</p> <pre><code>org.springf...
1
1,486
Typo3: How to setup image properties like width, height and alt?
<p>I have a snippet of the following typoscript code, that shows image with defined class name. What is lacking is the image's width, height, align etc properties; which have been set in the backend editor.</p> <pre><code>30 = FILES 30 { references { table = tt_content fieldName = i...
1
1,737
How to solve the com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
<p>I'm trying to insert data into mySQL and I meet the error below. I've tried the same code but changed the SQL statement to update and it worked. And I've tried to use a SQL statement like below, it didn't worked. </p> <pre><code> String sql = "insert into movie_preferences values (userID=1001, movieID=1067,p...
1
3,484
FAB is hiding under Bottom Sheet
<p>I have following XML:</p> <pre><code>&lt;android.support.design.widget.CoordinatorLayout android:id="@+id/sliding_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_below="@id/app_bar"&gt; &lt;LinearLayout android:layout_width="match_parent" ...
1
1,077
Firebase Firestore Data Query get calling two times?
<p><strong>firebase_dynamicview()</strong> This method is getting called only once but the query is executing twice. So My Activity get creating Twice help me in this case.</p> <blockquote> <p><strong>Log.d("gettingcall","2222222222 ");</strong> this log is getting printed twice</p> </blockquote> <pre><code>pr...
1
2,718
Telegram Java API- socket connection issue
<p>I'm trying to use Telegram Java API <a href="https://github.com/ardock/telegram-api" rel="nofollow">https://github.com/ardock/telegram-api</a> and I started with some simple RPC call:</p> <pre><code>SampleApiState apiState = new SampleApiState(connections); TLRequestAuthCheckPhone checkRequest = new TLRequestAuthCh...
1
1,405
No provider for String
<p>Hi can somebody tell Me what am I doing wrong? I think it's simple error, but I'm new to angular and I can't find it.</p> <blockquote> <p>EXCEPTION: No provider for String! (SwNavItemCmp -> String)</p> </blockquote> <p><div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="...
1
2,727
How to fix "RuntimeError: Function AddBackward0 returned an invalid gradient at index 1 - expected type torch.FloatTensor but got torch.LongTensor"
<p>I encountered this bug when I am running the machine translation code.</p> <blockquote> <p>RuntimeError Traceback (most recent call last) in 5 decoder = Decoder(len(out_vocab), embed_size, num_hiddens, num_layers, 6 attention_size, drop_prob) --...
1
1,777
Find weekly periods (starting on a Monday) for a month
<p>I'm trying to find the weekly periods for a given month and year. Dates should start on a Monday and end on a Sunday. If the 1st of the month is a Sunday (Ex May 2011), it should be the first element.</p> <p>May 2011</p> <ul> <li>May 1 (Sunday)</li> <li>May 2 - May 8 (Monday - Sunday)</li> <li>May 9 - May 15 (Mond...
1
1,192
Flutter: How to AUTO RESIZE height, width, fontSize in ListView based on Expanded and itemCount
<p>I have a page like this:</p> <ol> <li>1st Listview: <code>Axis.vertical</code> as default</li> <li>2nd Listview inside 1st Listview: <code>Axis.horizontal</code>, <code>itemCount = 3</code>. To avoid the error, I set the <code>height:50</code> <code>width:100</code> for <code>Container</code> in this</li> </ol> <p...
1
2,644
taking average by groups, excluding NA value
<p>I'm struggling with finding something to aggregate my data frame by taking the mean and ignoring the NA value, but the end results would still show a missing value them. the data table looks for instance like this </p> <pre><code>Guar1 Bucket2 1 2 3 4 Total Month 10 -10 NA NA NA NA 0 201110 ...
1
1,118
How to get a value from the closest <td> with a specific class name?
<p>Im using <a href="http://www.google.dk/url?sa=t&amp;rct=j&amp;q=jeditable&amp;source=web&amp;cd=1&amp;ved=0CCIQFjAA&amp;url=http://www.appelsiini.net/projects/jeditable&amp;ei=QT9GT7_kG8vT4QTa-bWvDg&amp;usg=AFQjCNE-JyYtGVoT4sooIMJxDiE5rhHsCA&amp;sig2=50h-DlaoXQWgcV666-HijA" rel="nofollow">Jeditable</a> inside a tabl...
1
1,177
gevent SSL with godaddy error: ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1051)
<p>I've got Webhosting on GoDaddy with their SSL certificate installed. </p> <p>I'm trying to send the https POST request to my Python backend on my own server (with static IP) which is running gevent WSGIServer like this:</p> <pre><code>https_server = WSGIServer(('&lt;backend ip&gt;', 3000), ...
1
6,778
how to refresh a particular div after jquery form submission
<p>// My jquery for form submission</p> <pre><code>$(document).ready(function() { var form = $('#form1'); // contact form var submit = $('#submit1'); // submit button var alert = $('.alert1'); // alert div for show alert message // form submit event form.on('submit', function(e) { e.preventDefault(); // prevent d...
1
1,024
Selecting from and inserting to complex Oracle XMLTYPE data
<p>I've written simple Oracle queries to extract XMLTYPE data before, but this XML is different - I need to pull information from attributes, child elements, and their respective attributes. I also would like to write an INSERT statement as well (preferably one that is able to find the highest option value and add 1). ...
1
1,038
ASP.NET Identity: use GeneratePasswordResetToken on Azure website
<p>I have my web application deployed on Microsoft Azure. However when I want to generate a PasswordResetToken with: </p> <pre><code>var token = await _userManager.GeneratePasswordResetTokenAsync(user.Id); </code></pre> <p>I get the following error:</p> <blockquote> <p>System.Security.Cryptography.CryptographicExc...
1
1,626
Display total order amount in woocommerce single product page
<p>I'm developing a very simple website for one of my business using woocommerce and WordPress as CMS. I really liked the idea how in product-single page gravity form create a field for displaying the total amount, with an automatic update if any optional service is selected, before going to the checkout page. But I d...
1
3,730
Angular2 issue: There is no directive with “exportAs” set to “ngForm”
<p>I 'am facing this frustrating issue </p> <blockquote> <p>There is no directive with "exportAs" set to "ngForm" ("<br> ]#f="ngForm" (ngSubmit)="onSubmit(f)" class="form-horizontal"> "): ng:///ComponentsModule/Eq...
1
2,756
response.sendRedirect is not working
<p>I have two jsps. One is <code>login_first.jsp</code>, another one is <code>main.jsp</code>. After submit in <code>login_first.jsp</code>, I call <code>main.jsp</code>. It works fine. </p> <p>I have logout button in <code>main.jsp</code> which sends control back to <code>login_first.jsp</code>. it executes <code>log...
1
2,111
Alfresco error Web Script Status 500 - Internal Error Web
<p>I am new to Drupal. I am configuring Drupal and Alfresco using CMIS. I am able to see the files and folders of Alfresco in Drupal. I am not able to retrieve those files using the cmis queries for example<code>SELECT * FROM cmis:document WHERE cmis:objectId='workspace://SpacesStore/d3c5f86e-9174-4cfb-9bc9-03aa881d081...
1
3,542
boost test and async IO : memory access violation at address : no mapping at fault address
<p>i am trying to setup a boost test for async I/O for tcpip.</p> <p>my function to send tcp msg:</p> <pre><code> int TcpClient::sendMsgToServer(string msg) { if (isConnected == true) { Logger::debug("Asynch send request for msg: " + msg, __LINE__, __FILE__); sendSequence++; ...
1
1,647
Running MALLET in Java
<p>I'm trying to run Mallet in Java and am getting the following error. </p> <pre><code>Couldn't open cc.mallet.util.MalletLogger resources/logging.properties file. Perhaps the 'resources' directories weren't copied into the 'class' directory. Continuing. </code></pre> <p>I'm trying to run the example from Mallet's w...
1
2,030
USB error 9 during control transfer
<p>I'm trying to make a little driver to communicate with an USB thermometer, using java library Libusb (org.usb4java.LibUsb). I'm testing it on a Raspeberry Pi (3b) with vanilla linux-arm. </p> <p>My problem is that I don't succeed in transferring a control transfer to the device. I get the error:</p> <blockquote> ...
1
3,171
Convert JSON data into the PDF in tabular format?
<p>How we can convert the following <code>JSON data</code> into the <code>PDF tabular format</code> using <strong>Jquery</strong> ? Cab we provide button which will render data in <strong>PDF</strong>?</p> <p>Any help for converting this into <strong>PDF</strong>? I am new to the jquery, not sure how we can do that ?<...
1
1,814
Flutter Firebase Cloud Messaging - Notification when app in background
<p>I am currently using FCM for push notifications. When my app is open, I receive the notification, however when the app is closed or in the background - I do not receive anything until I reopen the app. On XCode, I have background fetch enabled and remote notifications enabled. What should I check next? Thank you.</p...
1
1,514
Syntax error on token "extends", throws expected - when implementing AsyncTask
<p>I'm attempting to implement asynctask into my existing source code but I'm getting an error stating <code>Syntax error on token "extends", throws expected</code></p> <p>If I change </p> <pre><code>public void run() extends AsyncTask { </code></pre> <p>to </p> <pre><code>public void run() throws AsyncTask { <...
1
1,270
http://localhost/mod_cluster-manager gives page not found error. (File does not exist: mod_cluster-1.2.0/httpd-2.2/htdocs/mod_cluster-manager)
<p>Hi I'm trying to configure <code>mod_cluster</code> with <code>jboss AS 6.1</code>. My clusters are working fine. But I try to view <code>/mod_cluster-manager</code> page it gives me page not found error. Apache is up and running and I see <code>It works!</code> page. <Br></p> <p>Mod_cluster version <code>mod_clust...
1
2,807
'Bean does not have a public constructor that does not take parameters' error despite clearly having one?
<p>I have an EmailService EJB that has a very simple 'send_email' method. I'm receving the error in the title despite clearly having a public constructor that does not take parameters. Below is the exact error and the class code. This is very confusing.</p> <p>Error:</p> <blockquote> <p>[ERROR ] CNTR5007E: The we...
1
1,452
Cant force urxvt load font, no matter what (unable to load base fontset)
<p>I want to urxvt load <code>DejaVu Sans Mono for Powerline</code> font, but it dont work with <code>xft</code> no matter what.</p> <p>Excerpt from <code>~/.Xresources</code> <a href="https://github.com/BjornMelgaard/dotfiles/blob/painmode/Xresources#L70-L77" rel="nofollow noreferrer">from my dotfiles</a></p> <pre><...
1
2,985
How to get ethtool settings?
<p>Please, help me get ethtool settings (speed, duplex, autoneg). </p> <p>If I use ETHTOOL_GSET, I get ethtool settings. But in ethtool.h written to use ETHTOOL_GLINKSETTINGS instead of ETHTOOL_GSET. I don't know how to use ETHTOOL_GLINKSETTINGS.</p> <p><strong>ETHTOOL_GSET</strong></p> <pre><code>#include &lt;stdio...
1
1,411
Bootstrap3 and Select2 styling issues
<p>I'm experiencing some styling issues when using Select2 in combination with Bootstrap 3. I found out all about the <a href="https://fk.github.io/select2-bootstrap-css/index.html" rel="nofollow">Select2 Bootstrap 3 CSS</a> but I can't get it to work properly. </p> <p><a href="http://i.imgur.com/XnZD8wr.png" rel="nof...
1
1,315
Thymeleaf post form inside of for loop
<p>ok so I have an issue with for loop and forms inside of it. I am having multiple users which I get through th:for each which I am trying to update but i keep getting </p> <p>java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name 'user' available as request attribute</p> <p>It ...
1
9,006
Ion auth only show users in certain group
<p>I have installed a user management with Ion auth in codeigniter. Now i'm facing the following challenge. </p> <p>When logged in and visiting the auto/index page an overview of users is shown. I'm using 3 different admin levels. Each user is connected to a company. (the company id is added in the users_groups table)...
1
2,224
Error installing Twisted on Windows 10, Python 3.8.0
<p>Can't install Twisted with <code>pip install Twisted [windows_platform]</code> on Windows 10 with Python 3.8.0. Error: </p> <pre><code>ERROR: Command errored out with exit status 1: command: 'c:\users\darkfox\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] =...
1
1,267
error converting YAML to JSON: mapping values are not allowed in this context
<p>I'm using helm3. My kubernetes deployment get crashed on 43 line of code below.</p> <p>Error in console: error converting YAML to JSON: mapping values are not allowed in this context</p> <p>yaml lint says this: <strong>(): found unexpected ':' while scanning a plain scalar at line 43 column 19</strong></p> <p>Whats...
1
1,267
Google maps don't render properly when visibility initially set to hidden
<p>I have inserted google maps in a animated website, which must make use of the display: hidden property and sliding effects using jquery, but the map does not display properly. You will find that the map is off-center. Please help!!!</p> <p> <p><strong>EDIT: The code below has been edited so that it now displays co...
1
1,544
R: How to plot x-axis by hour
<p>I have a dataframe <code>df</code></p> <pre><code> time value 1 08:04 0 2 08:12 0 3 08:20 60 4 08:28 0 5 08:36 0 6 08:44 0 7 08:52 0 8 09:00 0 9 09:08 0 10 09:16 0 11 09:24 0 12 09:32 0 13 09:40 0 14 09:48 0 15 09:56 0 16 10:04 ...
1
1,268
Kafka Avro Deserializer is not able to deserialize the Kafka message to Specific Avro Record
<p>I am trying to deserialize Avro messgaes that are in kafka to POJO generated from Avro Schema. I am using KafkaAvroDeserializer for this conversion.</p> <p>I am able to see the <code>GenericRecord</code> in the <code>ConsumerRecord&lt;String, Data&gt;</code> record returned from kafka. But when I try to assign this ...
1
6,131
Poor JS/jQuery performance, particularly in IE9 and Firefox
<p>I'm having serious visual &amp; performance issues with the script below. The biggest problem is that the animation of the object is becoming really jerky, almost cripplingly so in IE9, but increasingly annoying in Firefox. </p> <p>It has been pretty fast until recently - but I'm concerned the complexity is slowing...
1
4,006
Android positioning views in RelativeLayout
<p>I've got following view hierarchy:</p> <p><img src="https://i.stack.imgur.com/pGIYL.png" alt="enter image description here"></p> <p>I want ScrollView with nested RelativeLayout to be between relativeHeader and relativeFooter, <strong>because now it's overlapped by footer</strong>. But when I try to add android:lay...
1
1,829
Displaying and ArrayList of LinearLayout objects in a ListView by extending ArrayAdapter
<p>I have an ArrayList of LinearLayouts. Each LinearLayout contains several other views that have been programatically added.</p> <p>What I want to do is display these LinearLayout views in a ListView so to utilise the ability of a ListView to render only what is needed.</p> <p>My original code used a ScrollView tha...
1
1,235
"Name or service not known (SocketError)" error when runs in many threads
<p>I have made a program that parses text file and download data in parallel. When runs download method in 9 or less threads, the program doesn't have error. But when runs the method in 10 or more threads, the program throws "`initialize': getaddrinfo: Name or service not known (SocketError)" error. I tried some algori...
1
1,121
Plotly Dash Cannot Create Graphs Dynamically
<p>I'm creating a web app using plotly dash for graph generation and callback handling. I use dash-core-components v0.18.1</p> <p>When trying to add graphs dynamically (each time a button is clicked, a new graph is added), an error appears in the console:</p> <blockquote> <p>bundle.js?v=0.11.2:9 Uncaught (in promis...
1
1,147
Kafka + spark streaming : Multi topic processing in single job
<p>There are 40 topic in Kafka and written spark streaming job to process 5 table each. Only objective of spark streaming job is to read 5 kafka topic and write it into corresponding 5 hdfs path. Most of the time its working fine, but some time it writing the topic 1 data to other hdfs path.</p> <p><a href="https://i...
1
1,429
java.net.ConnectException: Connection refused when trying to access a file from HDFS
<p>I am writing a simple standalone program using the scala API for Apache-spark. I need to access a file from HDFS. Simple commands from the shell like hadoop fs -ls work fine. however, when i try to access the file from within my program, I get the following error at runtime :</p> <p>I have been googling the errors ...
1
3,104
Pass data to a FORM and auto submit it
<p>The thing I'm trying to have is a JQuery/JavaScript code that will automatically pass some data from facebook to a form (basically the form doesn't need to be shown). so the first part is ready (the part that pulls the data from facebook).</p> <pre><code> window.fbAsyncInit = function() { FB.init({appId: 'xx...
1
1,211
Why getline does not work in a switch, and cin does not take the data appropriately?
<p>I need to take in the make model and years of the car the particular product fits. The program is going to write a file with text in it that will be an outline of the html. I need with the crucial information inserted into the correct spots to quickly be able to add products to our web page. When I use a switch stat...
1
2,025
Cesium live update of a point?
<p>I am currently working on a live tracking application for Cesium, but am having some issues when I display the point in the browser.</p> <p>So far my Cesium viewer receives the data from the server (in JSON format) and displays the point properly on the map, but the only way to have it update the location on the ma...
1
1,244