Questions tagged as 'java'

0
answers

URL RESTful service working, but in ANDROID returns null

I'm trying to develop a rest service for my dad's store, I'm getting the results in JSON through the URL, but when I try executor the same method in android to try to fill the object, it returns null, I've debugged and I can go so the method tha...
asked by 20.04.2015 / 23:53
0
answers

Stella Boleto error loading jrxml

I'm trying to generate ticket with Stella but I'm getting the following error Exception in thread "main" br.com.caelum.stella.boleto.exception.GeracaoBoletoException: net.sf.jasperreports.engine.JRException: Error loading object from InputSt...
asked by 22.04.2015 / 03:33
1
answer

How to name a text file with information from an EditText?

In my registration application I have the name and phone information. After entering the information and clicking on register, a text file is created with the information registered. But I would like the created text file to be named with the...
asked by 24.04.2015 / 13:35
0
answers

Problem with WindowBuilder

I'm using Eclipse Kepler + Window Builder to edit a JFrame, leaving the "Source" tab and go to "Design" I'm getting the following error. An exception happened during evaluation of constructor JFrame() using arguments {}. java.lang.NullPoi...
asked by 23.04.2015 / 03:29
1
answer

Using ResultSet, converting String to Array

I'm trying to convert some data that comes from DB into an Array, using ResultSet to select DB data. In the code below it does not give any error though. If I try to use one:    System.out.println (x [0]); It does not show the first data,...
asked by 23.04.2015 / 21:51
1
answer

Refresh to a datatable

This is how I am doing a small site in java only when I add a product and click to list the datatable does not update, I do not know how and what I have to do so that every time the page is displayed update the Array. Another thing that happe...
asked by 08.09.2015 / 20:21
1
answer

Problems with selectOneMenu in Jsf 1.2

I need to use JSF 1.2 for client restriction. I'm using selectOneMenu to select the type of person (Physics / Legal) and change the mask dynamically with <a4j:support> and it's working. But the Bean when receiving the v...
asked by 09.09.2015 / 00:09
1
answer

Error when trying to open a new activity

This is MainActivity: public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.ac...
asked by 26.04.2015 / 06:25
2
answers

generate java maven project artifacts with parent in Jenkins

I wonder if anyone has already generated an artifact package for a module by the parent project at Jenkins !? For I have tried in every way that I could think, but until now I only got errors! Remembering that in eclipse it runs normally.     
asked by 24.04.2015 / 17:20
0
answers

Java - Edit Windows 7 Registry

I'm having trouble changing this registry key from windows with "start" name from "1" to "4". Using a Bible library. // Leitura de Chave String opcao; String productName = Advapi32Util.registryGetStringValue(...
asked by 26.04.2015 / 01:09