My Oracle Support Banner

Portugal Localizations: QR Code Is Not Getting Generated After Upgrade DB JDK to 7+ (Doc ID 2820026.1)

Last updated on NOVEMBER 08, 2021

Applies to:

EMEA Add-on Localizations - Version 12.2.6 and later
Information in this document applies to any platform.

Symptoms

As per Doc ID 2801820.1, to generate QR code for Portugal SAFT requirement, trying to load the JAR file using the below

But encountered error during loadjava
 

ERROR
-----------------------
The following operations failed
  class com/oracle/erp/qr/QRGenerator: resolution
  class io/nayuki/qrcodegen/BitBuffer: resolution
  class io/nayuki/qrcodegen/QrCode$Ecc: resolution
  class io/nayuki/qrcodegen/QrCode: resolution
  class io/nayuki/qrcodegen/QrCodeGeneratorDemo: resolution
  class io/nayuki/qrcodegen/QrCodeGeneratorWorker: resolution
  class io/nayuki/qrcodegen/QrSegment$Mode: resolution
  class io/nayuki/qrcodegen/QrSegment: resolution
  class io/nayuki/qrcodegen/QrSegmentAdvanced: resolution
  class java/nio/file/Path: creation (createFailed)
  class java/nio/file/Files: creation (createFailed)
  class java/nio/file/OpenOption: creation (createFailed)
  class java/nio/charset/StandardCharsets: creation (createFailed)
  class java/util/Objects: creation (createFailed)
exiting : Failures occurred during processing


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1) Perform the pre-requisite setup as per Doc ID 2801820.1
1) Transfer the JAR file qr-code-nayuki-1.0.jar in the test database server using WINSCP or any other file transfer application.  
2) Login to the database server, go to home directory, set the appropriate environment (using their .env file) and run below command :
  
  a) > dropjava -u apps/@ -v qr-code-nayuki-1.0.jar
  b) > loadjava -u apps/@ -r -v -f -s -grant public -genmissing qr-code-nayuki-1.0.jar


Changes

Upgraded JDK of DB and perform pre-requisite setup as per Doc ID 2801820.1 - Portugal Localization: Generate QR Code For Portugal Billing Invoice Print

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.