User Tools

Site Tools


public:5301_javax_crypto_badpaddingexception

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:5301_javax_crypto_badpaddingexception [2018/02/13 09:24]
edward.chan
public:5301_javax_crypto_badpaddingexception [2021/12/16 06:19] (current)
anna.olalia
Line 1: Line 1:
 +=====[V7] ​ ISSUE: Cannot open the client user interface with error javax.crypto.BadPaddingException:​ pad block corrupted ​  =====
 +This article only applies to Ahsay software version 7 
 +<​html>​
 +<br>
 +<br>
 + <​b>​
 +  Article ID:
 + </​b>​
 + 5301
 + <​br/>​
 + <​b>​
 +  Reviewed:
 + </​b>​
 + ​2018-02-08
 + <​br/>​
 + <​br/>​
 + <​b>​
 +  Product Version:
 + </​b>​
 + <​br/>​
 + ​AhsayACB / AhsayOBM: 7.3.0.0 ​ to 7.x
 + <​br/>​
 + OS: Windows
 + </​html>​
  
 +<​html>​
 +<FONT COLOR=red SIZE=+1>
 +<​B>​ATTENTION</​B>​
 +1st January, 2022: v7 officially End-of-Life [<A HREF=https://​wiki.ahsay.com/​doku.php?​id=public:​announcement:​ahsay_v7_eol>​details</​A>​]
 +</​FONT>​
 +</​html>​
 +
 +===== Problem Description =====
 +<​html>​
 +When opening the AhsayOBM / ACB user interface, the following error message is displayed:
 + <​br/>​
 + <​br/>​
 + <​i>​
 +javax.crypto.BadPaddingException:​ pad block corrupted
 + </​i>​
 +<br>
 +<br>
 +<img style="​width:​50%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​obm_pad_block_corrupted.png"/>​
 +</​html>​
 +
 +===== Cause =====
 +This issue can occurs if the AhsayOBM / ACB user settings file (e.g. ~\.obm\config\settings.sys) saved on the client computer is corrupted.
 +
 +
 +===== Resolution =====
 +<​html>​
 +To resolve the issue, remove, then re-create the user settings file on the affected client computer.
 +<br>
 +<br>
 +<font color=red>​Important</​font>:​ Before proceeding to the next step, ensure that you have the encryption key for all backup sets of the affected user.  Re-creating the user profile will require you to enter the encryption key for all existing backup sets.
 +<br>
 +<br>
 +For more details and best practice for managing encryption key, refer to the following KB article: <a href="​http://​wiki.ahsay.com/​doku.php?​id=public:​5034_best_practices_for_managing_encryption_key#​I%20am%20prompted%20to%20enter%20the%20encryption%20key%20of%20my%20backup%20sets,​%20why%20is%20that?">​FAQ:​ Best practices for managing encryption key on AhsayOBM or AhsayACB version 7</a>
 +<br>
 +<br>
 +Refer to the following steps to resolve the issue:
 +<br>
 +<ol>
 +<​li><​font color=black>​Stop the AhsayOBM / ACB services</​font></​li><​br>​
 +<​li><​font color=black>​Locate the settings.sys file in the .obm / .acb folder at:
 +<br>
 +<br>
 +%UserProfile%\.obm\config\settings.sys&​nbsp;&​nbsp;&​nbsp;​or
 +<br>
 +%UserProfile%\.acb\config\settings.sys
 +<br>
 +<br>
 +<img style="​width:​60%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​obm_pad_block_corrupted2.png"/>​
 +<br>
 +<br>
 +Note: Exact path to the .obm / .acb folder is saved in the home.txt file found at:
 +<br>
 +<br>
 +C:​\ProgramData\AhsayOBM\home.txt&​nbsp;&​nbsp;&​nbsp;​or
 +<br>
 +C:​\ProgramData\AhsayACB\home.txt</​font>​
 +</li>
 +<br>
 +<​li><​font color=black>​Rename the settings.sys file to BACKUP_settings.sys</​font></​li><​br>​
 +<​li><​font color=black>​Login to the AhsayOBM / ACB user interface
 +<br>
 +<br>
 +At this point, the client application will prompt for encryption key of all existing backup sets. You must enter the correct encryption key of each backup set to regain access to them.
 +<br>
 +<br>
 +<img style="​width:​60%"​ src="​http://​wiki.ahsay.com/​lib/​exe/​fetch.php?​media=public:​obm_pad_block_corrupted3.png"/>​
 +</​font></​li>​
 +</ol>
 +</​html>​
 +
 +
 +===== Keywords =====
 +pad, block, corrupted, cannot, can't, login, open, GUI, UI

Page Tools