title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
How to delegate to default deserialization in custom deserializer in Jackson? | <p>Suppose I am writing custom serialization for some class, but would like to process one of its field with default methods.</p>
<p>How to do that?</p>
<p>While serializing we have <a href="http://fasterxml.github.io/jackson-core/javadoc/2.3.0/com/fasterxml/jackson/core/JsonGenerator.html#writeObjectField(java.lang.... | 1 | 1,417 |
Yeoman error with webapp generator | <p>I installed Yeoman from npm and I get this error trying <code>yo webapp</code>. It seems to be related to the <code>grunt-contrib-compass</code> package but I can't tell what's going on, error <code>EPERM</code>?. The error lines are all at the end, I included the previous lines for context, maybe they provide some ... | 1 | 1,859 |
nodemailer and zoho email issue '530 Must issue a STARTTLS command first.' | <p>I am using the latest version of nodemailer version 4.1.0. I tried using the sample code available here
<a href="https://nodemailer.com/smtp/" rel="noreferrer">https://nodemailer.com/smtp/</a></p>
<p>Here is my code</p>
<pre><code> let transporter = nodemailer.createTransport({
host: 'smtp.zoho.com',
... | 1 | 1,055 |
Display Flex not working on Firefox but Chrome | <p>I have a simple container containing an <code>a</code> tag next to a table. All I'm trying to do is to align them next to each other. On Chrome it is working, but on Firefox unfortunately not.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-co... | 1 | 1,053 |
jQuery sortable cannot click into input | <p>Hi I'm using jquery sortable with two linked lists, I have input fields within this lists which at times will need to be have a custom URL attached. However for some reason the sortable function is disabling the input fields.</p>
<h3>to be clear i am not able to click into the input field and type anything</h3>
<p... | 1 | 2,316 |
log4j2 JDBCAppender with Spring | <p>I have already defined a datasource in Spring configuration.</p>
<pre><code><bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306... | 1 | 1,897 |
Facebook connect. Works in Firefox/Internet Explorer, not in Chrome/Safari/Opera | <p>I have an app wich is an index.php file with javascript and when the user is logged in the javascript loads the content of the page which is stored in content.php</p>
<p>(k, I've figured out that it works in safari if the user has allowed popups. I get the same error with firefox. So can popup windows be the enemy?... | 1 | 2,035 |
HTTP Status 404 - Not Found - Servlet and JSP | <p>I'm working on one web app. I have problem when I want to test my <code>servlet</code>.
When I run my servlet error pops up -</p>
<blockquote>
<p>HTTP Status 404 - Not Found.</p>
</blockquote>
<p>I search another similar problems but i can't find solution. I think that there is no connection between my servlet a... | 1 | 4,216 |
Android - Check Permission | <p>This code is for testing whether application has Permission after being checked would be returned true if you have permission, and false otherwise .</p>
<p>But it is not working when I run application stops working , so I wonder why it's not working , if this missing something in the code:</p>
<p>EDIT2 - Made some... | 1 | 3,208 |
WebView doesn't load my HTML the second time? | <p>I've created a small Activity which is capable of loading two different HTML strings in a webview. When I run the Activity it starts by loading the String from the page_1 variable. So far so good. The page shows as expected.
I've added an onFling listener which should make the activity load the content of the page_2... | 1 | 1,104 |
Why is liquibase:diff returning "A reference database must be provided to perform a diff"? | <p>I ran "maven compile" successfully, but when I call "liquibase:diff" I get the following error. I am not sure this error corresponds to what the error actually is because I have clearly listed the database. I attached my pom.xml. I am new to liquibase and don't have much experience coding in a java environment. Than... | 1 | 1,377 |
How to Put date into input type date in react js | <p>i have a problem with how to put date that i get from json data into date input, like i said i want to put it into input type date but the problem is when i console.log the date, its came out but its not cameout into field and still dd/mm/yyyy</p>
<p>mydate</p>
<pre><code>{
this.state.post2.map((h, i) => {
... | 1 | 1,609 |
ADFC-50018 - getting a NullPointerException after closing a popup with a task flow inside | <p>I'm working with Oracle SOA Suite 11.1.1.7.0 and I'm using JDeveloper 11.1.1.7.0</p>
<p>I've developed an ADF project which calls a task flow within a popup (that task flow is inside a jar added as a library to this project), so I just created a command button and I assigned to this the action which calls the task ... | 1 | 7,454 |
starting container process caused \"exec: \\\"driver\\\": executable file not found in $PATH\"\n" | <h1>I have spring based based spark 2.3.0 application. I am trying to do spark submit on kubernetes(minikube).</h1>
<p>I have Virtual Box with docker and minikube running.</p>
<p><code>opt/spark/bin/spark-submit --master k8s://https://192.168.99.101:8443 --name cfe2 --deploy-mode cluster --class com.yyy.Application --c... | 1 | 1,598 |
Sticky flexible footers and headers CSS working fine in WebKit, but not in Gecko | <p>I'm attempting to build a layout that allows a flexible height header and footer, with a section in the middle consuming the remaining space. Any overflow in the middle should give a scroll bar just for this middle section.</p>
<p>The code I have that works fine for Safari and Chrome is:</p>
<pre><code><!DOCTYP... | 1 | 1,359 |
zsh: command not found python after running "brew upgrade" | <p>I am not able to install any npm packages as I get the following error on my M1 Mac mini</p>
<pre><code>npm WARN deprecated @types/anymatch@3.0.0: This is a stub types definition. anymatch provides its own type definitions, so you do not need this installed.
npm WARN deprecated @types/browserslist@4.15.0: This is a ... | 1 | 4,271 |
Eclipse content assist not working for Java objects within Groovy files | <p>I found this question <a href="https://stackoverflow.com/questions/6312596/eclipse-groovy-and-autocompletion">Eclipse Groovy and autocompletion</a> and am experiencing the same issue, however, it is almost three years hence and I am using the current version of the <em>Groovy Eclipse</em> plugin, and there do not ap... | 1 | 1,152 |
How to use AMQP instead of JMS with Apache Camel? | <p>greetings all
I am using the JMS with the following configuration to send messages between client & server, and i need to replace jms with AMQP, and I need some guide, so please advise:</p>
<p><strong>client-applicationContext.xml</strong></p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<!--
L... | 1 | 3,847 |
UIView hitTest:withEvent: and pointInside:withEvent | <p>I'm working with Mixare AR SDK for iOS and I need to solve some bugs that happends, one of them is show the information of a POI when the POI's view is tapped.</p>
<p>Prelude:</p>
<p>Mixare has an overlay UIView within MarkerView views are placed, MarkerView views are moving around the screen to geolocate the POIs... | 1 | 2,355 |
How to talk to a Javascript function from SWT | <p>My HTML file has a javascript function xxx_return(), which will return a string value. Is there any way i can take this value from Java layer?.</p>
<p>I am using SWT shell to display this html. Does SWT carry any feature to get the return values of a script function?</p>
<p>edit:</p>
<p>My code is something like ... | 1 | 1,037 |
Ubuntu / PHPStorm / Xdebug | <p>I am unable to get <strong>xdebug</strong> working on <strong>PhpStorm</strong> under <strong>Ubuntu 12.10</strong> and <strong>PHP5.4</strong> It appears to me that everything is enabled, but the IDE does not stop at breakpoints. Below are the relevant parameters.</p>
<p>Can someone look at the parameters to see... | 1 | 1,326 |
AWS Lambda & ASP.NET Core Logging | <p>I have a ASP.NET Core 3.1 running in AWS Lambda with following setup:</p>
<pre><code>
<ItemGroup>
<PackageReference Include="Amazon.Lambda.AspNetCoreServer" Version="5.1.1" />
<PackageReference Include="Amazon.Lambda.Logging.AspNetCore" Version="3.0.1"... | 1 | 1,706 |
POST returned a response status of 500 Internal Server Error in RESTful client communication | <p>Folks,</p>
<p>I am working with the RESTful webservice in java and it causing the 500 error while communicating from the Java application</p>
<p>I referred this tutorial to do the same
<a href="http://www.bhaveshthaker.com/13/introduction-developing-implementing-restful-web-services-in-java/" rel="nofollow">implem... | 1 | 2,105 |
Unknown column type "int" requested | <p>i am back with another symfony problem.</p>
<p>code:</p>
<pre><code> <?php
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Doctrine\ORM\EntityManager;
/**
* @ORM\Entity
*... | 1 | 3,928 |
python mysql Incorrect string value warning | <p>I am trying to enter values into a mysql db using python. To this end, I have something like:</p>
<pre><code>import MySQLdb
variables=[]*10 #list of variables.
n=len(variables)
#create python-mysql cursor connection
..
#load values into mysql:
for i in range(0,n):
cursor.executemany(sql, variables[i])
</code><... | 1 | 1,046 |
Error creating bean with name 'accountController' | <p>So, we have finally managed to update our Spring Framework from version <code>3.2</code> to <code>4.2.25</code>. After some painful processes I am now stuck at this exception: <code>Error creating bean with name 'accountController': Injection of resource dependencies failed; nested exception is org.springframework.b... | 1 | 3,739 |
Automatic Message sending at a particular time | <p>I am developing an application where i need to send an sms to a particular phone number. I can send the sms using following code.</p>
<pre><code>try {
SmsManager smsManager = SmsManager.getDefault();
smsManager.sendTextMessage(phoneNo, null, sms, null, null);
Toast.ma... | 1 | 1,168 |
Horizontal scrolling sticky section with Locomotive scroll | <p>Looking to create a horizontal scrolling section inside a sticky div with the following structure using Locomotive scroll framework (<a href="https://github.com/locomotivemtl/locomotive-scroll" rel="nofollow noreferrer">https://github.com/locomotivemtl/locomotive-scroll</a>). My HTML is as follows:</p>
<pre><code>&... | 1 | 1,326 |
difficulties getting a simple envers example to work: problem #34 | <p>I'm trying to get a simple <a href="http://www.jboss.org/envers/" rel="nofollow noreferrer">envers</a> example to work. I have the Java code working (apparently), and I finally <a href="https://stackoverflow.com/questions/952908">got the org.hibernate.tool.ant.EnversHibernateToolTask to work</a>, but it only outputs... | 1 | 1,090 |
Call web service with attachment | <p>I am having a rather frustrating issue trying to call a web service that requires an attachment.</p>
<p>This is the error:</p>
<blockquote>
<p>Unexpected Attachment type =class
java.lang.Object</p>
</blockquote>
<p>from here:</p>
<blockquote>
<p>class="com.sun.xml.ws.client.sei.ResponseBuilder$AttachmentBu... | 1 | 1,579 |
How to remove Exif,IPTC,XMP data of a png image in Java | <p>We are trying to remove Exif,IPTC and XMP data for png image. Please provide sample code for same</p>
<ol>
<li>We are having a png image file.</li>
<li>Need to remove Exif,IPTC and XMP data.</li>
</ol>
<blockquote>
<pre><code>package com.test;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io... | 1 | 1,364 |
Android Studio Gradle Invalid file Manifest.xml | <p>I'm trying to build my android project on AndroidStudio version 0.4.4, but something went wrong after I touched the file build.gradle, which now looks like this:</p>
<pre><code>apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.0.1"
... | 1 | 1,432 |
Display data from a table on a C# winform application | <p>I need some help displaying data from a table onto the winform. Normally this could be done using the datagridview but to my understanding datagridvide either displays the whole content of the table or I can use a filter function to display data that matches the filter.</p>
<p>The issue that I am currently facing ... | 1 | 3,873 |
webpack 2 ts loader doesn't exclude spec file | <p>I'm trying to build my own angular2/webpack2 boilerplate
this is my set up </p>
<h2>webpack.common.js</h2>
<pre><code>const webpack = require('webpack');
const CommonsChunkPlugin = require('webpack/lib/optimize/CommonsChunkPlugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const HtmlWebpac... | 1 | 1,720 |
Why is this Java UDP packet length too long? | <p>So I have a java server and client, the data is being sent to the server fine and the server is interperating it, but i found that the client takes ages to respond to what the server has sent it, after some time looking around i found that the data my server is sending the client is way longer than the data that sho... | 1 | 1,244 |
Audio Record and Playback Failing - Android AudioRecord & AudioTrack | <p>I am writing an Android Application for Recording and playing back audio in a loop.
Like an echo (Record, Play, run in a loop).</p>
<p>I have successfully written the application for Recording and playing using a temp file, (write into file, read from the same file).<br>
Doing the same using a intermediate buffer i... | 1 | 4,028 |
FFMPEG keeping quality when reducing FPS and streaming over RTSP with rtsp-simple-server | <p>I'm using the rtsp-simple-server (<a href="https://github.com/aler9/rtsp-simple-server" rel="nofollow noreferrer">https://github.com/aler9/rtsp-simple-server</a>) and feed the RTSP Server with a FFMPEG stream.</p>
<p>I use a docker compose file to start the stream:</p>
<pre><code>version: "3.8"
services:
... | 1 | 3,786 |
Filling cross over under a Cumulative Frequency plot using ggplot in R | <p>I am trying to plot two Cumulative Frequency curves in ggplot, and shade the cross over at a certain cut off. I haven't been using ggplot for long, so I was hoping someone might be able to help me with this one. </p>
<p>The plot without filled regions, looks like this... <img src="https://i.stack.imgur.com/rJIG7.pn... | 1 | 1,229 |
Tess-Two (Tesseract OCR in Android) shows very inaccurate results | <p>I use the following function to perform offline OCR using Tesseract OCR's Android fork Tess-Two :</p>
<pre><code>private String startOCR(Uri imgUri) {
try {
ExifInterface exif = new ExifInterface(imgUri.getPath());
int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, ExifInt... | 1 | 1,638 |
client will not catch generic FaultException< T >, only FaultException | <p>I've read all there is to read on this, but maybe I'm missing something (well, definitely I'm missing something otherwise it would be working already)</p>
<p>I'm throwing some exception error inside my server business layer:</p>
<pre><code>public class RfcException : Exception
{
public RfcException(string _m, ... | 1 | 2,713 |
Rest Web service 404 error - Tomcat Eclipse | <p>This is the first time I'm using Web Services, and it's driving me nuts.</p>
<p>I'm following the tutorial from : <a href="http://www.vogella.com/articles/REST/article.html" rel="nofollow noreferrer">http://www.vogella.com/articles/REST/article.html</a> - section 6</p>
<p>I created the Project Name as example.rest... | 1 | 2,420 |
How to read and understand a monster exception (for example this one) | <p>We are currently facing the problem that somewhere in our application a monstrous exception is generated. Since we are using Grails and the Spring Framework, the Exception is thrown somewhere in there.</p>
<p>There seems to be some endless loop, and the Exception Stack is getting longer and longer, everytime it is ... | 1 | 8,241 |
Nested Flexbox Grid | <p>I've built a nested flexbox grid that I'll be using for individual gateways. Currently, presumably due to the use of <code>outline</code>, the content within each container is running over into (and being hidden by) the whitespace surrounding each gateway, which acts as spacing between each div.</p>
<p>Is there a b... | 1 | 1,360 |
SignalR .NET Client connecting to Azure SignalR Service in a Blazor .NET Core 3 application | <p>I'm trying to make a connection between my ASP.NET Core 3.0 Blazor (server-side) application and the Azure SignalR Service. I'll end up injecting my SignalR client (service) in to a few Blazor components so they'll update my UI/DOM in realtime. </p>
<p>My issue is that I'm receiving the following message when I cal... | 1 | 1,233 |
shiny dashboard mainpanel height issue | <p>This is an extension of my <a href="https://stackoverflow.com/questions/46184346/tabpanel-and-wasted-white-space">previous question</a>. Now I am not able to extend the height of my main panel. </p>
<p>This is my code below</p>
<pre><code>library(shiny)
library(shinydashboard)
library(shinyBS)
library(DT)
ui <... | 1 | 2,502 |
TabLayout or horizontal scrollview Android | <p>Image for the TabLayout that I wanted to achieve.
<a href="https://i.stack.imgur.com/CSCnj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CSCnj.png" alt="enter image description here"></a></p>
<p>Can somebody shows me the way to achieve this?</p>
<p>My code:</p>
<pre><code><?xml version="1.... | 1 | 1,838 |
Caffe : train network accuracy = 1 constant ! Accuracy issue | <p>Right now, I am train network with with 2 class data... but accuracy is constant 1 after first iteration ! </p>
<p>Input data is grayscale images. both class images are randomly selected when HDF5Data creation. </p>
<p>Why is that happened ? What's wrong or where is mistake ! </p>
<p>network.prototxt :</p>
<pre>... | 1 | 1,808 |
Null pointer exception spring boot jpa | <p>I am trying to pass values to the persistence layer in a springboot application using jpa. However, each time I get a null pointer exception despite that I see that the object to be persisted is well formed. I have my code snippets below.</p>
<p><strong>AlertRepository</strong></p>
<pre><code>public interface Aler... | 1 | 1,878 |
If IsEmpty then go to column A but in same row and extract that data | <p>I am creating a spreadsheet which has many columns and I am trying to make it check if a cell in a certain column is empty then it will check to see the cells in the other columns of the same row are empty. Currently the only way I know of is if you say exactly what cell you are checking.</p>
<pre><code>'Checking I... | 1 | 1,668 |
Remove added jquery active class after clicking on different menu item in accordion | <p>I have a problem where I have used Jquery to add an active class to an accordion menu item when the page loads. Now i would like to remove that active class when users navigate to a different menu heading. Here is the Javascript and HTML below. If you need more code let me know!:</p>
<p>JAVASCRIPT------------------... | 1 | 5,446 |
java.lang.RuntimeException: Unable to start activity ComponentInfo{myActivityPathName}: java.lang.NullPointerException | <p>I know there are similar questions around, but all the answers were specific to those applications. Please help.
This is my code for the activity which is having the problem</p>
<pre><code> public class MainActivity extends Activity implements OnClickListener
{
private static final int SWIPE_MIN_DISTANCE = 120;
pri... | 1 | 3,535 |
How to get connection from EntityManager configured in Spring context? | <p>I want to get connection from EntityManager configured in spring context to use it in dbunit DatabaseOperation.CLEAN_INSERT.execute method.</p>
<p>Here is Spring configuration:</p>
<pre><code><bean id="testmEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
... | 1 | 1,075 |
why does my swagger-server generate errors? | <p>I got following errors about the swagger yaml when starting index.js in nodejs-server from "Generate Server" on Swagger Editor.</p>
<pre><code> #/paths/~1botManagement~1deleteScenario~1/delete/parameters/2: Not a valid parameter definition
#/paths/~1botManagement~1deleteScenario~1/delete/parameters/2: Not a ... | 1 | 4,520 |
NetworkX graph: ValueError: too many values to unpack | <p>I am trying to run some experiments on a NetworkX graph for research purposes. I am new to Python and graphs at all so I ran into a problem that I don't know how to solve. The code of my experiment is below.</p>
<pre><code>def run_experiment(Graph, order, output_filename):
# returns a list of the edges in decr... | 1 | 1,360 |
Parallel.ForEach and DbContext | <p>I'm using <code>Parallel.ForEach</code> and it's hugely improving the performance of my code, but I'm curious about <code>DbContext</code> with multiple threads. I know it's not thread safe so I'm using locks where I need to.</p>
<p>The loop iterates over a dictionary and calculates statistics:</p>
<pre><code>Dict... | 1 | 1,719 |
Cannot reference .NET Core library from UWP | <p>I have a <strong>.NET Core library</strong> with the following project.json:</p>
<pre><code>{
"version": "1.0.0-*",
"dependencies": {
"NETStandard.Library": "1.6.0"
},
"frameworks": {
"netstandard1.6": { }
},
"scripts": {
"postcompile": [
"dotnet pack --no-build --configuration Release... | 1 | 1,098 |
How to change react-lottie and SVG sizes using CSS media queries | <p>I have a react project where I display Lottie-react animations and SVG's, and I am trying to ensure the illustrations are responsive like my website. </p>
<p>The components are is a .js file where I add them to my project like so</p>
<pre><code>import React from 'react'
import MobileAnimation from '../../images/il... | 1 | 7,053 |
how does Florian's Grisu2 algorithm work? | <p>I come across a problem about converting double to ascii, after searching, I got Florian's paper <a href="http://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf" rel="nofollow noreferrer">"Printing Floating-Point Numbers Quickly and Accurately with Integers"</a>, Grisu2 algorithm is really awesome and ... | 1 | 1,085 |
org.apache.tiles.request.render.CannotRenderException: An exception occurred processing JSP page /WEB-INF/views/tileslayout/mainlayout.jsp | <p><strong>New to Taglib</strong> </p>
<p>I am developing a Web application using spring and tiles concept. when I try inserting a Taglib directory to my body layout part in tiles I am getting the following exception.</p>
<p>I tried inserting taglib under mainlayout.jsp alone but that didnt work. since each jsp works... | 1 | 6,999 |
How to get Windows username in ASP.NET? | <p>Fairly new to this but I have been trying to create a ASP.NET website to archive files. I want to capture the Windows username so when the user inserts a file, a record is kept of who inserted it. I have a table of users that will be using the site, giving the username a reference for records. When I am testing in a... | 1 | 2,423 |
program ended prematurely and may have crashed. exit code 0xc0000005 | <p>Here is my code I want to multiply a 2D array with a vector array:</p>
<pre><code>#include<iostream>
#include<mpi.h>
using namespace std;
int v_array[10] ;
int ch_size, start, close;
int res ;
int rows, cols;
int main(int argc, char *argv[])
{
int pro_id, tot_pros;
MPI_Init(&argc, &argv... | 1 | 1,646 |
Date Time validation in asp.net aplication | <p>So I have this asp.net application built using razor and C# and I can't get the validation for date time to work correctly.<br>
Here are the relevant sections of my app.</p>
<pre><code>public class EmployeeDto
{
...
[Required]
[DataMember]
[DisplayFormat(ApplyFormatInEditMode = true, DataFormatS... | 1 | 1,241 |
Change the widget of just one field in django-crispy-forms with the layout object AppendedText | <p>I am using <a href="http://django-crispy-forms.readthedocs.org/" rel="nofollow noreferrer">django-crispy-forms</a> to render the form of a model in <a href="https://www.djangoproject.com/" rel="nofollow noreferrer">django</a>. django-crispy-forms already integrates very well with <a href="http://twitter.github.com/b... | 1 | 1,446 |
How to do Sticky Bottom Navbar in Bootstrap 5? | <p>I want to do sticky footer like <a href="https://v5.getbootstrap.com/docs/5.0/examples/sticky-footer-navbar/" rel="nofollow noreferrer">this</a>, but even though i copied it from there, it does not look the same. When i zoom out the page, the navbar will stick to the top, not the bottom. Here is the screenshot:<a hr... | 1 | 2,544 |
Click event using Chart.js with AngularJS | <p>Hi I can draw a line chart with Chart.js adding some data set. </p>
<pre class="lang-html prettyprint-override"><code> <div class="row">
<div class="col-md-9" id="line-chart" ng-controller="LineCtrl">
<div class="panel panel-default" >
<select ng-model=... | 1 | 1,800 |
read.csv does not read complete file | <p>I am struggling to read a large (22MB) datafile in R with <code>read.csv</code>. I know there are a bunch of similar questions but none of the ones I found seem to help me solve my problem (<a href="https://stackoverflow.com/questions/16242584/r-correct-use-of-read-csv">one</a>, <a href="https://stackoverflow.com/qu... | 1 | 2,480 |
Designing a shader class | <p>Since I have started learning OpenGL, I thought I would as well write a small C++ framework (for myself) to avoid the nausea that the excessive use of C-ish code is apparently causing. <code>:)</code> Since I am intending to stick with Qt, the framework uses some Qt classes. </p>
<p>The first thing I really needed ... | 1 | 1,070 |
ts.plot() and dataFrame.plot() throwing error: " NameError: name '_converter' is not defined" | <p>When running <code>plot()</code> method of a dataframe or series, python is throwing an error. Last line of the error is <code>NameError: name '_converter' is not defined</code></p>
<p>I am using Python 3.6 and all other functionalities are working as expected so unsure what might be causing this.</p>
<p>Below is ... | 1 | 1,455 |
org.hibernate.id.IdentifierGenerationException: null id generated for:class | <p>i am getting the following Exception while inserting into table Which has two dependencies</p>
<p>look at my Entity classes these are auto generated</p>
<p><strong>AssocTransportVehicleDriver</strong> </p>
<pre><code>package com.rasvek.cg.entity;
// Generated May 14, 2018 11:39:07 PM by Hibernate Tools 5.1.7.Fina... | 1 | 2,407 |
Error after update winston to version 3.2.1. TypeError: self._addDefaultMeta is not a function | <p>After I updated winston to version 3.2.1, I get an error while trying to hot recompile the project (when my project is started and I make changes).</p>
<p>I tried to update all my dependencies to the latest versions, but this did't help.
It seems webpack-hot-middleware doesn't work correctly with the latest version... | 1 | 1,101 |
Send and receive dynamic arrays in MPI | <p>I have a big problem with send and (or) receiving dynamic arrays with MPI. Below is just a part of my code, but it should be enough to see what i am doing wrong. Please help me, i'm after all night of searching solution.
I get sth like this:
<strong>* glibc detected <em></strong> ./mv2.out: munmap_chunk(): invalid ... | 1 | 4,173 |
JSON body to List<int>, List<decimal> and long | <p>I have a C# Website and Web API combined with a Save-method in one of my API Controllers. This method only allows HttpPosts. What I want to send in the body is a <code>List<int></code>, <code>List<decimal></code> and <code>long</code>. </p>
<p>Since HttpPost methods in API Controllers only allow one par... | 1 | 1,896 |
Can't create d3d device | <p>I am trying to initialize directX, but for some reason it can't create d3d device.
It compiles properly, but shows last messagebox ("Can't create D3D device")</p>
<p>While debugging:<br>
- d3dObject 0x00000000 IDirect3D9 *<br>
- IUnknown {...} IUnknown<br>
__vfptr CXX0030: Error: express... | 1 | 1,338 |
maven-release-plugin deploy goal fails on project with folder at top level in git repository | <p>We have a Maven project structured in a GIT repository with the following folders:</p>
<pre><code>Parent project folder
------> pom.xml
------> Child 1 project folder
------> ------> pom.xml
------> Child 2 project folder
------> ------> pom.xml
</code></pre>
<p>We are now trying to use the ma... | 1 | 1,065 |
OSMDroid - Map does not display | <p>I am trying to load open street maps on my app.</p>
<p>My code is the following:</p>
<pre><code>import android.app.Activity;
import android.os.Bundle;
import org.osmdroid.config.Configuration;
import org.osmdroid.tileprovider.tilesource.TileSourceFactory;
import org.osmdroid.views.MapView;
import org.osmdroid.uti... | 1 | 1,274 |
Uncaught ReferenceError: initialize is not defined | <p>I am trying to render multiple custom markers on a page using web2py's
framework and my map will not render. Using chrome's debugger, I see
two errors, one says "Uncaught SyntaxError: Unexpected token <" and
the second one says "Uncaught ReferenceError: initialize is not
defined". I would appreciate help in deter... | 1 | 1,154 |
Iterate over JSON and add the list array into the object/array | <p>I have these two <code>JSON</code> arrays:</p>
<pre><code>{
"Person": {
"Info": [
"name": "Becky",
"age": 14
]
},
"Fruits": [
{
"name": "avocado",
"organic": true
},
{
"name": "mango",
"organic": true
}
],
"Vegetables": [
{
"name": "b... | 1 | 1,298 |
SyntaxError: Unexpected token / in JSON at position 132 | <p>could someone help me with this problem: i'm trying to perform npm run production in laravel project(also using webpack) and getting SyntaxError: Unexpected token / in JSON at position 132 (and also how to catch them using vscode).It seems like something wrong trying to convert to JSON but i couldn't find it. Thank ... | 1 | 1,999 |
How to display joined entity columns in twig template | <p>I don't know what I am missing, but I've been fighting with Twig and can't find out where i am mistaking.</p>
<p>I have three Entities: Product, ProductImage and Category</p>
<p>Every Product as One Category and One Category has Many Products.
Every Product has Many Images.</p>
<p>I am able to list the images col... | 1 | 4,146 |
Having problems enabling have_ssl mariadb | <p>I'm a bit of a unix newbie and am working with a MariaDB Enterprise server on a RHEL 7.2, and connecting to it via a RHEL 7.2 client. I used <a href="http://xmodulo.com/enable-ssl-mysql-server-client.html" rel="nofollow">this guide</a> to create all the certificates and keys I need for server and client alike, here'... | 1 | 1,099 |
nUnit 3 C# - TestCaseSource - TestCaseData - Testing that exceptions are thrown | <p>In scenarios where I am testing methods that receive more complex objects, I normally use something similar to this to test the method against many test cases:</p>
<pre><code>[TestFixture()]
public class DataTransmitterFactoryTests
{
[Test, TestCaseSource(typeof(DataTransmitterFactoryTestCases), "CreateDataTran... | 1 | 1,634 |
Selenium 2 webdriver with JUnit or TestNG for PageObject Design Pattern | <p>We are trying to choose between Junit and TestNG for our Test framework with Selenium 2 Webdriver.
We have decided to use Page object design pattern for this. </p>
<p>I am convinced that TestNG would suit for this approach by using @BeforeSuite annotation.
Have described a simple example for this. </p>
<ol>
<li>A... | 1 | 1,418 |
Method 'Range' of object_Worksheet failed error -2147417848 (80010108) | <p>I've googled extensively, but can't seem to find anything on my problem. I have a workbook that has various VBA intermingled with in cell formulas. As it sits now it works fine, but if I try and add or modify a simple cell reference such as "=N24" it breaks my code and throws up the error:</p>
<blockquote>... | 1 | 5,947 |
Applying Background Image to Table Row - Bug | <p>I see there are a couple of posts about this around, including one on SO. However none of them answer the question, I am posting a newer one with an image that demonstrates the problem in 4 browsers.</p>
<p><img src="https://i240.photobucket.com/albums/ff34/BrownWarrior/tablebgbug.png" alt="testcase image"></p>
<p... | 1 | 1,468 |
Android ExpandableListView NullPointerException at ObtainView | <p>I'm trying to work with a simple ExpandableListView and I can't figure out why I get that NPE at ObtainView. I should have only one parent and few more children which should be opened on click on the parent of them, but it keeps crashing and showing NullPointerException on ObtainView. Thanks a lot !</p>
<p><strong>... | 1 | 5,168 |
Bean property 'favLang' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? | <p>I have created a spring mvc project with simple form and model. On running the project it gives below error:
Invalid property 'favLang' of bean class [com.springdemo.mvc.Student]: Bean property 'favLang' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of t... | 1 | 9,024 |
Only buttons may be used in the CustomButtons | <p>Hi i have to Deploy an existing eclipse project to our Developer org when i deploy it it gave me an error</p>
<h1>Deploy Results:</h1>
<p>File Name: layouts/Account-Account Layout carousel.layout
Full Name: Account-Account Layout carousel
Action: NO ACTION
Result: FAILED
Problem: Only buttons may... | 1 | 6,617 |
How do I pipe output of one python script to another python script | <p>I got stuck in piping the output of one script into another script (both are python).</p>
<p>This <a href="https://stackoverflow.com/questions/37847232/how-do-i-pipe-output-from-one-python-script-as-input-to-another-python-script?newreg=3739a1c4d947435c8c53542aaf5180d3">question</a> is very similar but (1) it does n... | 1 | 1,589 |
CentOS 7 - Subversion Update to 1.8 | <p>I am running CentOS 7 and i installed subversion from the standard repo, so i have 1.7 now. But I want to update to 1.8 from the WanDisco Repo:</p>
<pre><code>[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=0
</code></pre>
<p>But all t... | 1 | 1,127 |
Add markers to the start and end points of a path Google Maps API v3 | <p>I'm trying to implement some sought of custom directions service on Google maps. I have a bunch of pre-made paths that I hide and show depending on the selection from two drop-down boxes. So far it works great. However, I would like to add markers to the start and end of the paths, How do i go about doing it?</p>
<... | 1 | 9,851 |
transpose for 8 registers of 16-bit elements on SSE2/SSSE3 | <p>(I'm a newbie to SSE/asm, apologies if this is obvious or redundant)</p>
<p>Is there a better way to transpose 8 SSE registers containing 16-bit values than performing 24 unpck[lh]ps and 8/16+ shuffles and using 8 extra registers? (Note using up to SSSE 3 instructions, Intel Merom, aka lacking BLEND* from SSE4.)</p... | 1 | 2,267 |
Field format error: Secure Token Not found | <p>This does not make sense.</p>
<p>I am using Paypal Payments Advance, using the hosted checkout pages.</p>
<p>I am following this in setting it up:</p>
<p><a href="https://developer.paypal.com/webapps/developer/docs/classic/payflow/gs_ppa_hosted_pages/" rel="nofollow">https://developer.paypal.com/webapps/developer... | 1 | 1,266 |
DirectX alpha masking | <p>I'm working on a game using DirectX 9. Here's what I'm trying to do:</p>
<p>After the scene is rendered, on top of it I want to render few sprites: a black cover on entire scene and a few sprites, which are masks showing where the cover should have holes. So far I tried messing with blend mode but with no luck. My ... | 1 | 1,509 |
Spannable Text is not working in Dialog Fragment | <p>I have added <code>TextView</code> in my <code>Dialog</code> Fragment and i show <strong>Spannable</strong> data Dynamically in this <code>TextView</code>. But it's not apply <strong>Spannable</strong> effect to the text.</p>
<p>Here is my code to generate Three Spannable String and added into TextView.</p>
<pre><... | 1 | 1,342 |
Object #<Object> has no method 'carouFredSel' | <p>I have implemented an infinite carousel that was working but I am now getting the following error message</p>
<p>Object # has no method 'carouFredSel'</p>
<p>I had edited some code for the menu that is now working but perhaps there is a conflict between the two scripts?</p>
<p><a href="http://www.ogormanconstruct... | 1 | 1,605 |
How can I use the liferay-ui:search-form tag to specify a JSP containing my search form? | <p>I have a JSP, say <code>view.jsp</code>, that's using the basic Liferay search container pattern:</p>
<pre class="lang-jsp prettyprint-override"><code><liferay-ui:search-container>
<liferay-ui:search-form page="..." />
...
</liferay-ui:search-container>
</code></pre>
<p>Let's say view.jsp... | 1 | 1,215 |
Dynamically rendering react components from string array | <p>Running into an issue rendering components dynamically as the come off the CMS in the react code. </p>
<p>Having no problem getting & parsing the variable names into an array to be utilized in the actual rendering - but receiving errors here no matter the method I'm using: </p>
<ul>
<li>Warning: is using upp... | 1 | 1,041 |
Calculator GUI ActionPerformed method, and wrapping around another class | <p>I am trying to wrap a Calculator GUI over a class that I built to calculate values in a different way (not the normal way, in reverse Polish notation).</p>
<p>I just wanted to know two things:</p>
<p>1) How do I write my actionPerformed method so that when you click on a button or operation, it shows up in the dis... | 1 | 3,164 |
Flutter Android Studio Error: couldn't get unknown property 'keystoreProperty' | <p>I'm new to flutter and I'm trying to run my first project without any changes to the source code of the demo app. But I keep getting the following error:</p>
<pre><code>Launching lib\main.dart on SM A115F in release mode...
Running Gradle task 'assembleRelease'...
FAILURE: Build failed with an exception.
* Where:
... | 1 | 1,431 |
how to stick the footer to the bottom of the page while moving it upward in a parallax-like effect? | <p>I have a project where the requirement is to move the footer ( <code>#footer</code> ) upward while scrolling down the page in a parallax-like effect. When you start scrolling down the page, the footer should start moving upward only until it's visible in the (bottom part of the) viewport.</p>
<p>The footer should h... | 1 | 2,158 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.