e3fdbc2ece54e209f449e6bf2ae4c19e11690b8c
After doing research on this error I got exact steps to produce this error, reason of the error and solution for the error. Here are my findings: Steps to reproduce the error: 1) Start placing sales order from Order manager application by taking DemoCustomer. 2) Add any two products into the cart, choose shipping address and shipping method. 3) And then land on Order terms screens. Now select Term Type = Payment (net days) or any of its subtype. 4) Do not enter Term days and click on add button. 5) Select offline payment and create your order. 6) Now from payment section of order detail page, click on "Receive Payment" button and receive payment for Personal check by entering the amount and clicking on save button. 7) Complete the order by clicking on "Quick ship entire order" button on Action block. 8) Note the Invoice Id created and go to Find Invoices screen of AR by accessing https://demo.ofbiz.org/ar/control/FindArInvoices 9) Enter the Invoice ID and click on search, You will find error page. Reason of error: 1) getInvoicePaymentInfoList Service returns error (in ListInvoices.ftl) for invoices of some specific order in which Term type = Payment (net days) or any of its subtype and user forgot to enter Term days. 2) Due to this reason code breaks while calling getDayEnd class method inside getInvoicePaymentInfoList simple method of PaymentServies.xml Solution of error: 1) I have handled this situation by adding validation on Order terms screen . 2) Validation is like if User selects, Term type = Payment (net days) or any of its subtype and not entered Term days , then Error message will be returned to user 3) Error message will prompt : Order Term Days is required for this term type. Thanks Divesh for the contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@886738 13f79535-47bb-0310-9956-ffa450edef68
Applied patch from jira issue OFBIZ-3284 - Error at page - https://demo.ofbiz.org/ar/control/FindArInvoices.
A patch from Sascha Rodekamp " Colors and localisation for the calendar" (https://issues.apache.org/jira/browse/OFBIZ-1825) - OFBIZ-1825
Welcome to Apache OFBiz!
If you have a release build all you need to run OFBiz is a 1.5 series
JDK (not just the JRE, the full J2SDK).
However if you have downloaded ofbiz from SVN then you should
load the demo data (strongly advised) with the following command
on the command line:
ant run-install
Once that is properly setup just run the executable jar file
that comes with OFBiz, which is ofbiz.jar. To do this on the
command line you would run:
java -Xms128M -Xmx512M -jar ofbiz.jar
There are also start scripts for Windows and Unix-based
operating systems, namely startofbiz.bat and startofbiz.sh.
Once OFBiz starts, you can look at the demo storefront at:
http://localhost:8080/ecommerce/
and the administration interface at:
http://localhost:8080/webtools/
You can log in with the user "admin" and password "ofbiz".
For more details about running a build, or for information on
getting, building, and running the source please see the
Apache OFBiz Setup Guide:
http://docs.ofbiz.org/x/rwM
Note that running with the default configuration uses an
embedded Java database (Apache Derby), and embedded application
server components such as Tomcat, Geronimo (transaction manager), etc.
To prepare OFBiz for production use the Basic Production Setup Guide
is a great place to start. It is available here:
http://docs.ofbiz.org/x/j
For additional resources please see the OFBiz web site.
Enjoy!
=========================================================================
== BIS Crypto TSU exception notice ==
=========================================================================
This distribution includes cryptographic software. The country in
which you currently reside may have restrictions on the import,
possession, use, and/or re-export to another country, of
encryption software. BEFORE using any encryption software, please
check your country's laws, regulations and policies concerning the
import, possession, or use, and re-export of encryption software, to
see if this is permitted. See <http://www.wassenaar.org/> for more
information.
The U.S. Government Department of Commerce, Bureau of Industry and
Security (BIS), has classified this software as Export Commodity
Control Number (ECCN) 5D002.C.1, which includes information security
software using or performing cryptographic functions with asymmetric
algorithms. The form and manner of this Apache Software Foundation
distribution makes it eligible for export under the License Exception
ENC Technology Software Unrestricted (TSU) exception (see the BIS
Export Administration Regulations, Section 740.13) for both object
code and source code.
The following provides more details on the included cryptographic
software:
* Various classes in OFBiz, including DesCrypt, HashCrypt, and
BlowFishCrypt use libraries from the Sun Java JDK API including
java.security.* and javax.crypto.* (the JCE, Java Cryptography
Extensions API)
* Other classes such as HttpClient and various related ones use
the JSSE (Java Secure Sockets Extension) API
=========================================================================
Languages
Java
66.9%
FreeMarker
15.3%
Groovy
10.5%
JavaScript
4.6%
CSS
2.1%
Other
0.4%