Questions tagged as 'java'

1
answer

Text wrapping in Android notification Using FCM upstream

When you receive the notification the text is not displayed completely, at the end of the text a reticence is shown, how to resolve it. BelowthenotificationsubmissioncodeenviaNotificacaoDenuncia("Sua Denúncia foi protocolada numero: "+getPro...
asked by 28.11.2018 / 13:34
1
answer

Problems to close communication with the Database

I have some applications consuming data from the database, but from time to time the applications are not able to close the connection, when I give a conexao.close(); Java says that it can not close because ResultSet this one up on...
asked by 05.12.2018 / 17:11
2
answers

NullPointerException while getting latitude and longitude

I'm developing a mobile app with Android Studio that aims to get the latitude and longitude information and use the Google Geocoder service to return the address of the geographic position. However, I am not able to capture the latitude and long...
asked by 15.12.2017 / 15:03
1
answer

Querying in more than 1 field with FindBy in spring mvc

I have this repository: public interface RepositorioUsuarioPermissao extends JpaRepository<UsuarioPermissao, Long> { @Query("SELECT u FROM UsuarioPermissao u WHERE u.id_seletivo = ?1 and u.id_usuario = ?2") List<UsuarioPermis...
asked by 28.11.2018 / 14:01
0
answers

Make MQTT SSL connection with CA signed server certificate

I need to sign up for an MQTT address, but I get an exception. As far as I know, I do not need to upload any certificates, just use the server's. What should I do? Code: public void connect() throws MqttException{ MqttConnectOptions opt...
asked by 28.11.2018 / 14:57
0
answers

Checkbox saves "back empty" in Oracle ADF Faces

Who gets out of Oracle ADF Faces? I have a timely demand where I have a Checkbox on the screen that - when checked - updates the registry in the database, all right, but when I access that same registry - that same checkbox - "back empty"; ap...
asked by 28.11.2018 / 14:44
0
answers

HTTP Status 500 - Internal Server Error

After trying to make a call in Glasfish's WebService, the error below is occurring, I'm trying to make a call in Webservice Rest Json, in the so-called XML rest it runs normally. package br.com.devmedia.ws.rest.example1; import java.util.Random...
asked by 29.11.2018 / 13:55
1
answer

Problem in calling a method on a jlabel [duplicate]

Well I'm trying to make an application on 2 screens the first one to set the values and the second screen to get the values the first isworkingnormalCode:/**Tochangethislicenseheader,chooseLicenseHeadersinProjectProperties.*Tochangethistempla...
asked by 26.11.2018 / 14:35
0
answers

I can not render a component after clicking a button

I can not render the include component that is inside a panel, I want to render when clicking a button inside a datatable, but when I click the button nothing happens View              ARTs Fit to Order Book      <script type="tex...
asked by 26.11.2018 / 00:35
0
answers

Error: Could not find or load main class - Maven

I'm following this devmedia tutorial: link In the Problems tab you have these two messages: Archive for required library: '/home/arksdf/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.6.4/jackson-databind-2.6.4.jar' in projec...
asked by 26.11.2018 / 15:52