Questions tagged as 'java'

1
answer

Java - Open video in a WebView

I made a java browser for Android using webviews, it works perfectly except for not playing videos via stream. I want to know how do I make it possible? Thanks ..     
asked by 14.06.2016 / 18:06
0
answers

"java.lang.NullPointerException" in JSF application with Hibernate

My web application uses JSF / Hibernate, but when I run a search method on the DB it returns "java.lang.NullPointerException". What is the cause of the error? /* * To change this license header, choose License Headers in Project Properties....
asked by 15.06.2016 / 15:08
0
answers

Sending a CSV file to an ftp server

My application makes an order form, already creating a CSV file and playing this file in FTP , the application registers creates the CSV , but when I should upload to the ftp error (I think), it follows the code: Class performs request...
asked by 14.06.2016 / 19:22
0
answers

Having StreamStream how can we get the Stream containing more elements in the other stream

I have 3 interfaces public interface IGhOrg { int getId(); String getLogin(); String getName(); String getLocation(); Stream<IGhRepo> getRepos(); } public interface IGhRepo { int getId(); int getSize();...
asked by 27.06.2016 / 05:20
1
answer

Refresh in jframe automatically

I will start a project where I will control queues in java, even normal queues, as if you arrived at the bank and saw the name on the screen. I'll give you a summary of the project to be clearer. I have 10 computers, each one belongs to on...
asked by 27.06.2016 / 16:32
1
answer

PostgreSQL Reserved Word Problems

I'm using locally a code downloaded from GitHub for educational purposes and I'm having problems doing the deploy of war, the error has to do with a reserved word from the bank used in the roles table Caused by: org.postgresql.util.PSQLException...
asked by 27.06.2016 / 15:21
1
answer

Doubt in Webapp - JavaFX Netbeans

I'm testing creating a webjar in .jar for the same desktop, using the NETBEANS - JavaFX Webview sample tool. The code is as shown below. I'm just looking for a way to remove the address field and the "GO" button, leaving the window only with the...
asked by 14.06.2016 / 11:34
0
answers

java + postegre connection problem in heroku

Trying to connect java to the heroku database (postgre), I have checked the url several times and have no errors. I am not using hibernate. By pgadmin I can insert into the bank normally. How to fix this error? Should I make any changes to pom.x...
asked by 16.06.2016 / 17:32
1
answer

My list continues to have tail and head as null

It was all going well until I noticed that the list is not populated, leaving my head and tail as null. Supposedly the program should read from an input file and fill the list within a cycle. Here is the code in question: package projectosa...
asked by 04.07.2016 / 13:11
1
answer

Problem with logic in java

Hello, I have a problem and I believe it is logical, but I can not find it. I have 4 listings and I have to group the markets of a region, then I have a list with all the products linked to the market and I have my list which are the lists of th...
asked by 04.07.2016 / 11:20