Trivadis / plsql-unwrapper-sqldev

PL/SQL Unwrapper for SQL Developer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrapped code seems to be truncated. Expected length of 4585 characters but got only 4519.

WalterWildoer opened this issue · comments

Hello,

I can't see what I could be doing wrong, every package I try to unwrap has a similar error, the numbers change.

The database is Oracle Database 19c Standard Edition 2 Release 19.0.0.0.0 - Production

SQL Developer is Version 21.4.2.018 Build 018.1706
step1
Step2

The error message is quite clear. The input is not a valid wrapped code. I cannot say why the code is incomplete. Retrieving the code from the database or wherever is not the responsibility of the unwrapper.

Please paste the following code in a new worksheet in your SQL Developer installation and then press Shift-Ctrl-U to unwrap the code.

create or replace PROCEDURE      "SAMPLE_PROCEDURE" wrapped 
a000000
369
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
abcd
7
67 a6
Yamn9QRN5yxi0DyX7K08OroYYFowg5nnm7+fMr2ywFxpnp/SsqVS8Cip9BY+MDnHrb5FEpJS
PhYWNoA5Hr5XOjnG+AdANkZAfftSNNCwTwpAI1LgSDXcJ881zD/AJ/LezOXmJ+knwN6hJxhB
RegqnApPbSofHaalRByy

It produces this result in my SQL Developer installations.

CREATE OR REPLACE PROCEDURE "SAMPLE_PROCEDURE" IS
BEGIN
   SYS.DBMS_OUTPUT.PUT_LINE('sample_procedure executed.');
END;

I've also tested it with SQLDev 21.4.2 on macOS.

closing issue due to inactivity.