Questions tagged as 'java'

1
answer

Stop Audio in fragment when changing fragment with ViewPager

I have an activity called EstacionesF, where with has a ViewPager. in the ViewPager there are 12 fragments and in each fragment it contains audio, when I execute the play button and change to the next fragment, it is still heard, it only stops p...
asked by 20.08.2017 / 15:40
0
answers

jboss eap 7 - javax.naming.NameNotFoundException

I'm migrating from jboss 6 to 7 , I've followed the steps indicated by the redhat people on their page, I've also used windup as a tool to see conflicts in my application that can occur when going from one version of jboss to the other....
asked by 18.08.2017 / 15:20
0
answers

Java stream locks file

I have this function that looks for a line in a file and removes it. The fact is that some stream remains open and does not allow me to rename the file. import java.io.*; import java.util.*; import java.nio.file.Files; public class Test {...
asked by 18.08.2017 / 12:37
1
answer

I can not visualize with JSF

I'm trying to make an invoice display on another page and it turns out that I get null but the result of the invoice appears on the console. This is a part of my code where I make the invoice query on another page. the file is factu...
asked by 15.08.2017 / 03:58
1
answer

Error executing class using .jar files

I am trying to execute a class that uses .jar files, I already added them to the eclipse build path and it recognizes them, since I do not get an error in the instance, but when I try to run the application it gives me this error:    C...
asked by 17.08.2017 / 00:10
0
answers

Problem connecting mysql with web java (GlassFish)

I am making a connection with java web and MySQL, with GlassFish server, but when making the configuration in http://localhost:4848/common/index.jsf in JDBC Connection Pools I get the following error: HTTP Status 500 - Internal Server E...
asked by 16.08.2017 / 21:32
0
answers

Error in Web Service consumption (org.xml.sax.SAXParseException)

Some idea of how to correct the error:    (org.xml.sax.SAXParseException) org.xml.sax.SAXParseException;   lineNumber: 1; columnNumber: 1; The content is not allowed in the   prologue When I try to consume a web service, on line 3 of the...
asked by 23.08.2017 / 17:25
0
answers

Error starting the java.lang.RuntimeException App:

This problem arises when I start the app. This is returned to me by Google Play because testing it in my emulator and cell phone does not cause problems. java.lang.RuntimeException: at android.app.ActivityThread.performLaunchActivity (Activ...
asked by 04.09.2017 / 20:08
0
answers

java.exe finished with non-zero exit value 1 when generating the game apk (libgdx)

It does not allow me to generate the apk of my game, when I try to generate it I get this error:    Error: Execution failed for task ': html: compileGwt'.            Process 'command' C: \ Program Files \ Android \ Android Studio \ jre \ b...
asked by 04.09.2017 / 15:11
0
answers

java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:

I am programming with Java RMI, the client-server connection works, but when implementing this code: ArrayList<ClientInterface> clientList = new ArrayList<ClientInterface>(); ... private synchronized void doCallbacks( ) throws Remo...
asked by 05.09.2017 / 00:25