Questions tagged as 'java'

0
answers

javax.jcr.RepositoryException: Unable to auto-create value for / e0a02fd0-d328-48f7-8874-685c591afe9a / jcr: createdBy

I'm new to Jackrabbit Oak, I'm trying to create nodes to store files (pdf, word, excel, etc). When I try to create the node by specifying a type, similar exceptions are thrown to it. javax.jcr.RepositoryException: Unable to auto-create value fo...
asked by 26.03.2016 / 17:47
2
answers

JsonMappingException: Can not deserialize instance of com.example.package.XXX out of START_ARRAY token

I am trying to use FIREBASE in Android and I have uploaded my JSON created in my FIREBASE account, but something I do not understand is that I do not get the JSON wrong, or the "Retrieving Data" part of the Firebase I'm doing wrong, Here I am th...
asked by 13.02.2016 / 09:46
1
answer

Save file data in ArrayList and display it from largest to smallest.

I am working on a program that obtains data from a text file, obtains only the first 100 and has a method that orders from the first to the last or vice versa and another that searches for a specific name in the file.  This is what I have at th...
asked by 04.05.2018 / 20:06
1
answer

ACM Project: Error: Android Source Generator

A friend has passed me a project for class, and once I have imported the project and the ACM library, I am ready to execute it, but I get the following error: And I do not know what is due.     
asked by 24.04.2018 / 19:45
2
answers

Why does hasNext () and hasNextLine () say the file is empty if there is content?

This is part of my list (it is contained in a .txt file): Gladiator (The Gladiator) (2000) 8.5 Rate The Dark Knight The Dark Knight (2008) 9 Rate Slumdog Millionaire Slumdog Millionaire (2008) 8 Rate Infiltrators...
asked by 22.11.2018 / 01:23
1
answer

com.mysql.jdbc.exceptions.jdbc4.MYSQLSyntaxErrorException: Unknown column 'p.apaterno' in 'field list'

I have a question about that error, because although I check the code I can not find what it is referring to if I see it well written and the values are complete. I think the error may be appearing according to these parts totalregistros =...
asked by 24.06.2018 / 19:05
1
answer

How to add itext library to Java?

Good morning community, I am a beginner in the development of JAVA and I must import ITEXT library. But I create the library and I add it; but when debugging it continues to generate error ... I must import import com.itextpdf.tex...
asked by 09.07.2018 / 16:02
3
answers

How to print a string in a textview letter by letter in java?

I want to print a string that I go through with a for loop but I do not know how to pause and go back through the loop keeping what is already written, I want to give the effect as if the message was being written at the moment, I have tried wit...
asked by 20.06.2018 / 15:56
1
answer

How do I call the method requestCoffee to the method on click

In the onClick method I have to add the call to the requestCoffe method but I do not know how to do it private void requestCoffe(){ RequestQueue queue= Volley.newRequestQueue(this); JsonArrayRequest arrayRequest=new JsonA...
asked by 29.06.2018 / 20:14
3
answers

Error mapping entities from the database

I am developing an application in Windows 7 with NetBeans 8.1 and a SQL Server 2012 database. I have mapped the entities directly from the database but at the moment of starting my application I get this error:    Severe: Exception while prep...
asked by 11.04.2016 / 15:56