Compiere ERP Tutorial

Ways to Debug Compiere ERP problems

Here we have explained some options to dubug the errors happening in your Compiere ERP

Narrow down and locate the problem

  • You need Compiere ERP subject matter knowledge to find out the root cause of the business rule or logic that you have misinterpreted.
  • You should get well-trained in Compiere ERP or have clear understanding of Compiere ERP User Manual.
  • Some problems cannot be addressed easily, even you have well knowledge about Compiere ERP. Split your problems in to modules and narrow down to the madule that triggers the problem.

Assign a debug level

  • The primary step in identifying an error is to use the debug prompt window by running “RUN_Compiere2.bat -debug”.
  • Set the debug level to 10 in the Compiere window, which will show many feedback while executing code.
  • If you debug using Eclipse, the debug logs will show in console view. Eclipse has an advantage of, when clicking the java exception in console view, shows you the java code that causes the error.

Go through the debug logs

  • Always, debug logs will show you in detail about what is going on and which java class is getting executed.
  • Cross verify it with the java thread in session showing on the upper left panel. These debug prompts show the output of Compiere ERP, incorporating log4j technology into the source codes.
  • Almost 90% of your time gets saved using these debug logs.

Get to know what the problem is

  • Be clear that these errors are not in Compiere ERP Java codes, otherwise it is not possible to make binary compiled form in the first place.
  • Check the bug section of the SourceForge forum if any relevant errors has been posted by others and with the proposed solution as well.
  • If no posts found related to your problems, post a new thread stating the error clearly about how and when this error occurs so that others and Compiere’s team can look into it.
  • All bugs posted in forums will not be addressed soon. Some errors need time to fix. But, you will get a solution for sure.
  • You can also explain the errors to a subject colleague or the client, who will have better idea about the business logic.

Need Compiere ERP Support, Get in Touch with TenthPlanet!

Download the full Tutorial

    Name

    Email

    Job Function

    × +91 9942961000