Questions tagged as 'java'

1
answer

SQLException error while trying to connect to the database

I'm creating a project with JDBC. When I run the code it gives the following error message:    Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.sql.SQLException: No suitable driver found for jdbc: mysql: // localhost: 3...
asked by 31.10.2017 / 22:45
0
answers

Call stub of a Genexus procedure in the Java environment

How to call a Genexus 15 procedure stub in a Java application? Stub in Genexus: stub salvadados(in:&StringTeste, out:&StringRetorno) &StringRetorno = "ola " + &StringTeste endstub After performing the application depl...
asked by 20.10.2017 / 13:22
1
answer

java error in connection with SQL Server

I am trying to connect to a sql server database, but I am not succeeding. Here is the connection class and test method: public class ConexaoBanco { public static final String user = "sa"; public static final String pswd = "**********"...
asked by 03.11.2017 / 18:36
1
answer

Mock of a class that has parameters in the constructor

public class ParseProcessoTest { private final String PATTERN_DATA_HORA = "yyyy-MM-dd HH:mm:ss"; JSONObject jsonObject; @Mock ParseProcesso parseProcesso; @Before public void init(){ jsonObject = new JSONObject("string qualquer"); when(...
asked by 19.10.2017 / 13:38
0
answers

Display array during debug with android NDK

In android, when debugging my program I can see the vector and its contents: Ihavetopassthisvectorfromandroid(java)toC++andI'musingNDK.publicnativevoidtesteVetor(double[]vetorDados);testeVetor(vetorDados);testVetorisafunctioninC++: Currentlywhe...
asked by 14.10.2017 / 21:13
0
answers

Wildfly loading too slow, VERY SLOW

I was studying JavaEE7 and using Widlfly 11.0.0.CR1 , first with no configuration on the server itself, just running a normal webapp without many things, a form with a listing, and the time was OK. 1 minute maximum. After setting...
asked by 05.11.2017 / 20:19
0
answers

Java: Library koushikdutta.ion.Ion returning empty

// RegisteredActive.java                     package br.com.xxxxxxx.chatbycelso; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolb...
asked by 05.11.2017 / 19:19
0
answers

Popular CalendarView with Firebase data through a DataSnapchot

Hello, I'm having trouble popping up a CalendarView with a Firebase data ... is as follows: I have a "CadastroActivity" where I register events in Firebase with specific days, however now I would like to take these events and put them on thei...
asked by 22.10.2017 / 03:31
0
answers

Problem with Android Programming. FOR [closed]

Can not generate the amount of EditTexts based on the for parameter? Where is the error? @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_...
asked by 28.10.2017 / 15:23
1
answer

Write method has no action and link of Dependent x Driver is not done

When developing a simple application where the dependent is bound to its responsible who is a driver, when I click to create the bind and write dependent nothing happens, only the following message is posted without interrupting the application....
asked by 28.10.2017 / 19:30