Barcode Printing



  • UNKNOWN_ERROR - HttpRequestMethodNotSupportedException: Request method 'GET' not supported

{"code":"UNKNOWN_ERROR","message":"Internal error","description":"org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'GET' not supported\r\n\tat org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java.......

Resolution

Make sure Google Chrome browser is updated to latest version such as v75+


  • UNKNOWN_ERROR - HttpMessageNotReadableException: Could not read document

{"code":"UNKNOWN_ERROR","message":"Internal error","description":"org.springframework.http.converter.HttpMessageNotReadableException: Could not read document: Can not construct instance of com.nextscm.print.model.PrintStringForm: no String-argument constructor/factory method to deserialize from String value ('{\"dataString\":......

Resolution

Do a logout  and re-login and do a hard refresh of the UI so that new code is loaded in browser memory (key combination Ctrl + Shift + R).


  • ERROR - Unable to connect to server
  1. Either print app is not running on the system
  2. Or, url is not on HTTPS protocol


  • Print app not able to run


Resolution

Java app should be able to start and run without any issues. If it fails to start with default port 8005 (as per error) then install application version v5 from below url to change port to 8015:


       

Links for downloading :-

For Windows 64-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x64-v4.zip

For Windows 32-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x32-v4.zip


If print app (JAVA app) fails to start due to error "default port 8005" already in use by another application" then download from below links (to change port to 8015) :-

For Windows 64-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x64-v5.zip

For Windows 32-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x32-v5.zip


  • UNKNOWN_ERROR - java.lang.IllegalArgumentException: Invalid character found in method name

{"code":"UNKNOWN_ERROR","message":"Internal error","description":"java.lang.IllegalArgumentException: Invalid character found in method name.HTTP method names must be tokens" while running tomcat...............

Resolution

  1. Right click on the file 'Startup.bat' and choose 'Run as Administrator'. 
  2. Then, run the file normally. This will solve the issue



Document Printing



  • SSL Handshake Error

{"code":"UNKNOWN_ERROR","message":"javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake","description":"javax.net.ssl.SSLHandshakeException:.......

Resolution

Print application may be of older version. Install application version v4 or v5 from below url


Links for downloading :-

For Windows 64-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x64-v4.zip

For Windows 32-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x32-v4.zip


If print app (JAVA app) fails to start due to error "default port 8005" already in use by another application" then download from below links (to change port to 8015) :-

For Windows 64-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x64-v5.zip

For Windows 32-Bit Architecture :- https://storage.googleapis.com/dl.increff.com/print-app/NextSCM-Printing-Win-x32-v5.zip


  • Read timeout error

{"code":"UNKNOWN_ERROR","message":"Internal error","description":"java.net.SocketTimeoutException: Read timed out........

Resolution

Print App (Java app) running on laptop/desktop should have internet access via firewall / proxy network


  • UNKNOWN_ERROR - java.lang.IllegalArgumentException: Invalid character found in method name

{"code":"UNKNOWN_ERROR","message":"Internal error","description":"java.lang.IllegalArgumentException: Invalid character found in method name.HTTP method names must be tokens" while running tomcat...............

Resolution

  1. Right click on the file 'Startup.bat' and choose 'Run as Administrator'. 
  2. Then, run the file normally. This will solve the issue