I downloaded unicenta version 4.6 source codes, but I can't get it to work with netbeans, it seems to be missing library files. Can somebody help me?? or is version 4.6 mandatory to pay ???
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As far as I am aware if you replace the pom.xml in source code netbeans will download all libraries when you start the project. As I said see previous link.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I already managed to get the libraries and make a perfect BUILD, but when I run it I get this
dic 15, 2020 6:53:01 PM com.openbravo.pos.forms.AppConfig init
INFORMACIÓN: Reading configuration file: C:\Users\EFRAINR\unicentaopos.properties
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:217)
at com.openbravo.pos.forms.JRootApp.initComponents(JRootApp.java:1004)
at com.openbravo.pos.forms.JRootApp.<init>(JRootApp.java:201)
at com.openbravo.pos.forms.JRootKiosk.initFrame(JRootKiosk.java:71)
at com.openbravo.pos.forms.StartPOS.lambda$main$0(StartPOS.java:111)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
BUILD SUCCESSFUL (total time: 5 seconds)</init></init>
Hello @niarferincon - can you make sure you are using the Oracle java 8 as uniCenta has javafx depedencies and some of the other jdks don't support this out of the box.
I downloaded unicenta version 4.6 source codes, but I can't get it to work with netbeans, it seems to be missing library files. Can somebody help me?? or is version 4.6 mandatory to pay ???
The version 4.2 of unicenta worked perfectly with the source codes in netbeans but the 4.6 did not make me run.
What issue do you have when using netbeans?
I do not see the libraries in the SRC folder to load them in netbeans, and therefore the system does not start, it should be noted that I download the sources from this path, I do not know if it is the correct one https://sourceforge.net/projects/unicentaopos/files/source/unicentaopos-4.6_project.zip/download
Try this link
https://sourceforge.net/p/unicentaopos/discussion/1126901/thread/d8184fb884/?limit=25#dce6
As far as I am aware if you replace the pom.xml in source code netbeans will download all libraries when you start the project. As I said see previous link.
I already managed to get the libraries and make a perfect BUILD, but when I run it I get this
dic 15, 2020 6:53:01 PM com.openbravo.pos.forms.AppConfig init
INFORMACIÓN: Reading configuration file: C:\Users\EFRAINR\unicentaopos.properties
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:217)
at com.openbravo.pos.forms.JRootApp.initComponents(JRootApp.java:1004)
at com.openbravo.pos.forms.JRootApp.<init>(JRootApp.java:201)
at com.openbravo.pos.forms.JRootKiosk.initFrame(JRootKiosk.java:71)
at com.openbravo.pos.forms.StartPOS.lambda$main$0(StartPOS.java:111)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
BUILD SUCCESSFUL (total time: 5 seconds)</init></init>
I removed it so that the system would ask me for the configuration data for the database, but it did not work
I can't be of much more help. What java version are you running?
grateful for your input. I am using Java 1.8
Hello @niarferincon - can you make sure you are using the Oracle java 8 as uniCenta has javafx depedencies and some of the other jdks don't support this out of the box.
Here is a link to the download: https://www.oracle.com/uk/java/technologies/javase/javase-jdk8-downloads.html
Also have you modified the source code?