Posts by DevAgil • 793 points
62 posts
-
0
votes0
answers26
viewsQ: Error generating Ireports report (Jasper) in Maven project
I am working with a Maven project and managed a print using Ireports, but when making the call it is returned java.lang.NullPointerException when trying to detail where was the error I noticed that…
-
-1
votes1
answer549
viewsQ: Generate report only with data passed via Ireports parameter
Normally we generate report by Ireports based on database query, only now I come across the following question, I will assemble a report based on the data shown in the customer’s look, in case it is…
-
0
votes1
answer146
viewsA: Problem opening Ireports sub-report on another terminal
I identified that the parameter of the report that searched the sub-report informed the file path on my computer as in another terminal it will change the name and path the sub was not found. In…
-
0
votes1
answer146
viewsQ: Problem opening Ireports sub-report on another terminal
I created a report that searches for information in a sub-report to show all information. But when running on the development machine it appears without any problem either in the IDE or by running…
-
1
votes1
answer299
viewsQ: E-mail Sending Error using Hotmail as Commonsmail Java
I am having trouble sending email using Outlook by returning the following error. Erro Sending the email to the following server failed: smtp.live.com:25 I tried the door 587 and with the smtp…
-
0
votes1
answer133
viewsA: Error when building project with bilbioteca Commons-Email-1.4
After a few days testing this situation I got a solution, I make use of several libraries and some were added but were not in use, then in case I scanned the used libraries and removed some of them…
-
3
votes1
answer133
viewsQ: Error when building project with bilbioteca Commons-Email-1.4
In my project I needed to add the option of sending emails I added the library commons-email-1.4 I wrote all the code and tested it. So far everything perfect but when cleaning and building the file…
-
0
votes1
answer253
viewsA: Waiting for table level lock Mysql Java application error
Along with the application also works a backup application that designed by the team, and with the database of a larger size, the time to carry out the backup increases, causing the waiting of the…
-
0
votes1
answer253
viewsQ: Waiting for table level lock Mysql Java application error
I have a Java swing application that uses the Mysql database, in its operation after spending some time in operation I realized that the application hangs in a few moments, It is necessary to…
-
0
votes1
answer1081
viewsQ: Connection portal serial scale using JSSC
I communicate with a scale via serial port, and today I use the library JSSC however the returns of the hour balance are of weight and time are of different characters, researching I have come to…
-
1
votes3
answers2541
viewsA: RXTX: serial scale port connection
Friend, I also use RXTX for communication and I can extract information from the time balance returning different characters and time returning the weight. There are two problems I’ve been facing:…
-
1
votes1
answer924
views -
2
votes1
answer842
viewsA: Software Licenses
I made a good contract that is signed with the client in the negotiation and put a blocking function that prevents the application to be placed in a machine that is not licensed to use, ie i Gero a…
-
0
votes1
answer473
viewsA: Trigger that feeds a table with information from another Mysql
I abandoned the function and made through the same software.
-
0
votes2
answers2013
views -
0
votes3
answers2338
viewsA: Splash Screen loading with application
The Splash Screen was mounted as follows: The main class calls a Jframe that has an image that is visually in the center of the screen until the application makes the first bank mapping and…
-
0
votes2
answers444
viewsA: Too Many Hibernate+Mysql Connections error
It was verified the way I communicate and obtain the data via Hibernate in the code, by making sure that threads were being opened that were no longer useful and they were consuming computer memory.…
-
0
votes0
answers41
viewsQ: Directory monitoring stops the system from responding to interactions
I have an application that monitors a certain folder and checks if there is the creation of a new file if a new file is created triggering several processes on the system. But when active monitoring…
-
0
votes2
answers2013
views -
2
votes4
answers119
viewsQ: Data deletion via Hibernate
In the database used by my application I have a table that I defined as temporary that I write some data but at the end of the process I no longer need the information recorded in that table, how to…
-
0
votes0
answers47
viewsQ: Long-time running integrity of Java application
I have tested my Desktop application, and noticed that when I leave running for a long time I notice changes in the behavior of the actions that should be performed. My application runs using…
-
1
votes1
answer385
viewsQ: Read file when it exists in directory
I am building an application that reads a file in a certain directory, however this file will be generated in this directory at different times from another application, after the application…
-
3
votes1
answer2531
viewsQ: Open Database in format . DB
I have a database in a file .DB from an old application designed in Delphi. My client wants to migrate the data to use in a new application, however the old client software was designed in Delphi,…
-
1
votes1
answer332
viewsQ: java.lang.Nosuchmethoderror: org.hibernate.cfg.Environment.verifyProperties(Ljava/util/Map;)V
Work in a Java project and when changing the machine I had to inform the libraries of the project again, but when compiling this generating an error in the output. Exit: Exception in thread "main"…
-
4
votes2
answers848
viewsQ: Desktop application audit log
Thinking about a Java application desktop that is running in a company, we may come across situations that the user may cause failures in your application, in this case could create a log error and…
-
1
votes1
answer1716
viewsA: Extract products from an Nfe XML
To extract the data from NFE I used another way other than the one described above. 1º I downloaded the NFE layout files on the site in the part XML Schemas NFE Fazenda website I did the process of…
-
1
votes1
answer633
viewsQ: Tray Icon Windows
I am creating an application to perform backup, and think about putting the application to run full time in which the machine is running. I plan to put the application in Try Icon Windows but after…
-
0
votes1
answer445
viewsQ: Mark Jcalendar when there is an event on the day
In my Java Desktop application, I’m thinking of adding a Jcalendar to easily tell you what day events will be recorded in a database. My question is whether it is possible to make an appointment or…
-
6
votes2
answers2960
viewsQ: Error log in Java application
We developers when we code, we have a way to track the process of running software through the output of the IDE, but when the software goes into production and we no longer have the development…
-
5
votes2
answers1415
viewsQ: Adjust Barcode Size Barbecue
I’m generating a barcode using the BBQ, but where I print the code is reduced or is the paper has dimensions 8 cm wide and the information I have to generate the barcode has 44 digits. I’ve tried…
-
10
votes3
answers2338
viewsQ: Splash Screen loading with application
My application, when starting, does the first search in the database. How I use the Hibernate, this first connection is a little more time consuming as it assembles the entire bank mapping. I’m…
-
1
votes1
answer842
viewsQ: Software Licenses
I have the following doubt regarding the use of software licenses. Today how it is done and how it is most used to create licenses to use a software, highlighting that I have an application…
-
0
votes1
answer619
viewsA: Direct printed in Java
I used another way to print, directly and without having to store the data in the database and then search them, and it is possible to pass parameters through a Hashmap. For those who need…
-
2
votes1
answer334
viewsQ: Problems with Ireports
Lately I am creating some reports for my application using Jasper Reports (Ireports) only that I have been facing some problems. Today I am using the plugin for Netbeans but from a moment to another…
-
1
votes2
answers2695
viewsQ: Perform backup automatico Mysql
I am using Mysql as DBMS, and when searching the internet a way to create a routine backup found that the old versions had a tool that no longer exists in the newer versions, I believe that those…
-
0
votes1
answer710
viewsQ: Capture information and use when you need Java
I am thinking of implementing a function that captures the logged in user, I still can not imagine how I can implement such a function, I would like to know what is usual and propitious for me to…
-
0
votes1
answer490
viewsQ: Error generating Report in Jasper Ireports
I followed a blog on the web that teaches how to generate the reports, but I come across a situation that I can not solve. In case I have the following codes: Main java. public class Main { /** *…
-
2
votes2
answers784
viewsQ: Configure IP for server access using Hibernate
I have a Java application that uses Hibernate, for development I made the database configuration using localhost but for use on other computers I will need to define the IP that will have the…
-
0
votes2
answers432
viewsQ: Merge using Hibernate without erasing other Java data
I use Hibernate in my Java application for database interaction using a controller class created even by Netbeans, but the problem I have is this: when making an edit in some field and only pass…
-
3
votes1
answer1452
viewsQ: Remove Printer Dialog - Printjob Java
In a Java application I do the printing through Printjob, but in the way I do the printing by calling the Print method it opens a printer dialog box so I choose which one to print, I tried and I…
-
0
votes1
answer1716
viewsQ: Extract products from an Nfe XML
I am developing a Java application that I will need to extract XML data from Nfe, Extract some data I can map the Tags as issuer recipient among others. But when I need to extract products from Nfe…
-
1
votes1
answer600
viewsQ: Site Republica Virtual off the air
A few days ago the site Republica Virtual that served as a basis for many people perform ZIP code query and receive the data easily, this out of the air, I do not know if anyone knows why to be out…
-
2
votes1
answer292
viewsQ: Collect data from a Jtable and send to a List
In my Java application, I have a sales screen where the products that are selected go to a JTable. At the end of the sale, I need to collect data from JTable and deliver to the printing method,…
-
4
votes1
answer580
viewsQ: High memory consumption Java Swing application
I am developing a Java application but when performing some tests and noticed that when running the application, my memory consumption increases. And as the use, it always allocates more and more…
-
2
votes1
answer619
viewsQ: Direct printed in Java
I need to create a form to be printed on a thermal printer (not tax), in case I thought to create a printed by Jasperreports but Jasper searches the bank for the information and wanted to get the…
-
0
votes1
answer473
viewsQ: Trigger that feeds a table with information from another Mysql
I have a database in Mysql with Stock, Sales and Ite_sales tables. When making a sale record information in the Sales and Ite_sales tables, but I want to get information from the Stock table and…
-
2
votes2
answers444
viewsQ: Too Many Hibernate+Mysql Connections error
I have an application in development in Java using Hibernate and Primefaces, on the item listing screen I have the option to do a search for some information in real time using multiple filters.…
-
3
votes2
answers89
viewsQ: Desktop widgets in Java
I’m with an idea to create a widgets with support functionality for my company. I wonder if you saw java I could create something, if there is any framework or some Java technology where you can…
-
1
votes1
answer930
viewsA: Error running a Firebird Trigger
The problem was due to Firebird installed on the computer being corrupted missing the UDF HASHMD5, then in case it needed to run it would accuse the lack of such add-on. To remedy the problem was…
-
1
votes1
answer930
viewsQ: Error running a Firebird Trigger
I have the following Trigger generated in my database: SET TERM ^ ; CREATE OR ALTER TRIGGER ATUALIZA_CODNCM FOR EST_ADICIONAIS ACTIVE BEFORE INSERT OR UPDATE POSITION 0 AS begin UPDATE…