Java.Exe Finished With Non-Zero Exit Value 1

gradle process command java finished with non-zero exit value 1

Looking at the logs this appears to be your problem:

nested exception is org.springframework.dao.DataIntegrityViolationException: PreparedStatementCallback; SQL [inser t into users (username, password, enabled) values (?,?,?)]; Data truncation: 
Data too long for column 'password' at row 1; nested exception is com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'password' at row 1.

Anyway you can truncate the password size? Otherwise increasing the 'password' column size should do the trick.

java.exe finished with non-zero exit value 1

Unfortunately you cannot directly use Apache POI on Android due to third party library dependencies that are pulled in. Also the size of the library causes a very big application file, which is often not possible/desirable. You even sometimes exceed limits imposed by the Dalvik Android Bytecode compilation.

There are some resources available which discuss how to get POI running on Android:

  • https://github.com/andruhon/android5xlsx - repackaged jars with duplicate packages in XMLBeans removed
  • http://blog.kondratev.pro/2015/08/reading-xlsx-on-android-4-and-hopefully.html
  • Apache POI with Android -- How to Create ,Read , Write, Delete PowerPoint Presentations?

Android java.exe finished with non-zero exit value 1

It must have been a problem with my Java install. I removed all traces of Java (C://program files/Java/jdk) and jre folders and reinstalled it from the official page and now it works fine.



Related Topics



Leave a reply



Submit