[pdfJS Viewer] Publishing plugin error in Java stack

[pdfJS Viewer] Publishing plugin error in Java stack

  
Forge Component
(6)
Published on 14 Nov by Jorge Martins
6 votes
Published on 14 Nov by Jorge Martins

Strange, this using javascript not extension, but error publishing in Java stack.


Here's the error message:

Upgrading: No need to upgrade Application.
Uploading: Uploading Application.
Uploading eSpace: Uploading eSpace pdfJSViewer.
Updating Application: Updating Application pdfJS_Viewer.
(Warning) Name Conflict: An existing version with the same name was overwritten.
Verifying: Verifying the Application consistency and permission settings.
Upgrading Modules: Upgrading and refreshing modules of 'pdfJS_Viewer'.
Impact Analysis: Performing Impact Analysis of 'pdfJS_Viewer'.
Preparing Extensions: Preparing extensions of 'pdfJS_Viewer'.
Preparing Database: Preparing database of 'pdfJS_Viewer'.
Preparing Database: Preparing database of module 'pdfJSViewer'.
Associating Dependencies: Associating dependencies of 'pdfJS_Viewer'.
Associating Dependencies: Associating dependencies of module 'pdfJSViewer'.
Compiling Modules: Compiling modules of 'pdfJS_Viewer'.
Compiling Module: Compiling module 'pdfJSViewer'.
Internal Error: Compilation Error.

customclients:

compile:
    [mkdir] Created dir: /opt/outsystems/platform/share/pdfJSViewer.124/full/bin/app
    [javac] Compiling 110 source files to /opt/outsystems/platform/share/pdfJSViewer.124/full/bin/app
    [javac] ----------
    [javac] 1. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1782)
    [javac] *    '\u201A': '\'',   '\u201B': '\'',   '\u201C': '""',   '\u201D': '""',   '\u201E': '""',   '\u201
    [javac]  * F': '""',   '\xBC': '1/4',   '\xBD': '1/2',   '\xBE': '3/4' };  var PDFFindController = function ()
    [javac]                                                                                                 ^^^^^^
    [javac] Invalid unicode
    [javac] ----------
    [javac] 2. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1782)
    [javac] * F': '""',   '\xBC': '1/4',   '\xBD': '1/2',   '\xBE': '3/4' };  var PDFFindController = function ()
    [javac]                                                                   ^^^
    [javac] var cannot be resolved to a type
    [javac] ----------
    [javac] 3. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1782)
    [javac] * F': '""',   '\xBC': '1/4',   '\xBD': '1/2',   '\xBE': '3/4' };  var PDFFindController = function ()
    [javac]                                                                       ^^^^^^^^^^^^^^^^^
    [javac] Duplicate field ScrnViewerScreen.PDFFindController
    [javac] ----------
    [javac] 4. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1783)
    [javac] *  {   function PDFFindController(_ref) {     var pdfViewer = _ref.pdfViewer;    
    [javac]        ^^^^^^^^
    [javac] function cannot be resolved to a type
    [javac] ----------
    [javac] 5. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1783)
    [javac] *  {   function PDFFindController(_ref) {     var pdfViewer = _ref.pdfViewer;    
    [javac]                                       ^
    [javac] Syntax error on token ")", -> expected
    [javac] ----------
    [javac] 6. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1784)
    [javac] *   _classCallCheck(this, PDFFindController);      this.pdfViewer = pdfViewer;  
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 7. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1785)
    [javac] *    this.onUpdateResultsCount = null;     this.onUpdateState = null;     this.reset();     var repl
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 8. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1786)
    [javac] * ace = Object.keys(CHARACTERS_TO_NORMALIZE).join('');     this.normalizationRegex = new RegExp('[' +
    [javac] ^
    [javac] Syntax error on token "*", ; expected
    [javac] ----------
    [javac] 9. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1786)
    [javac] * ace = Object.keys(CHARACTERS_TO_NORMALIZE).join('');     this.normalizationRegex = new RegExp('[' +
    [javac]                                                                                                     ^
    [javac] Syntax error on token "+", ++ expected
    [javac] ----------
    [javac] 10. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1787)
    [javac] *  replace + ']', 'g');   }    _createClass(PDFFindController, [{     key: 'reset',     value
    [javac]                           ^
    [javac] Syntax error, insert "AssignmentOperator Expression" to complete Assignment
    [javac] ----------
    [javac] 11. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1787)
    [javac] *  replace + ']', 'g');   }    _createClass(PDFFindController, [{     key: 'reset',     value
    [javac]                           ^
    [javac] Syntax error, insert ";" to complete BlockStatements
    [javac] ----------
    [javac] 12. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1787)
    [javac] *  replace + ']', 'g');   }    _createClass(PDFFindController, [{     key: 'reset',     value
    [javac]                                                                ^^^^^^^^^^^
    [javac] Syntax error on tokens, Expression expected instead
    [javac] ----------
    [javac] 13. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1787)
    [javac] *  replace + ']', 'g');   }    _createClass(PDFFindController, [{     key: 'reset',     value
    [javac]                                                                                         ^^^^^
    [javac] Syntax error, insert ")" to complete MethodInvocation
    [javac] ----------
    [javac] 14. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1787)
    [javac] *  replace + ']', 'g');   }    _createClass(PDFFindController, [{     key: 'reset',     value
    [javac]                                                                                         ^^^^^
    [javac] Syntax error, insert ";" to complete Statement
    [javac] ----------
    [javac] 15. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1788)
    [javac] * : function reset() {       var _this = this;        this.startedTextExtraction = false;      
    [javac]     ^^^^^^^^
    [javac] function cannot be resolved to a type
    [javac] ----------
    [javac] 16. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1789)
    [javac] *  this.extractTextPromises = [];       this.pendingFindMatches = Object.create(null);    
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 17. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1789)
    [javac] *  this.extractTextPromises = [];       this.pendingFindMatches = Object.create(null);    
    [javac]                             ^
    [javac] Syntax error on token "=", byte expected after this token
    [javac] ----------
    [javac] 18. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1789)
    [javac] *  this.extractTextPromises = [];       this.pendingFindMatches = Object.create(null);    
    [javac]                                ^
    [javac] Syntax error, insert ". class" to complete Expression
    [javac] ----------
    [javac] 19. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1790)
    [javac] *   this.active = false;       this.pageContents = [];       this.pageMatches = [];    
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 20. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1790)
    [javac] *   this.active = false;       this.pageContents = [];       this.pageMatches = [];    
    [javac]                                                  ^
    [javac] Syntax error on token "=", byte expected after this token
    [javac] ----------
    [javac] 21. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1790)
    [javac] *   this.active = false;       this.pageContents = [];       this.pageMatches = [];    
    [javac]                                                     ^
    [javac] Syntax error, insert ". class" to complete Expression
    [javac] ----------
    [javac] 22. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1790)
    [javac] *   this.active = false;       this.pageContents = [];       this.pageMatches = [];    
    [javac]                                                                               ^
    [javac] Syntax error on token "=", byte expected after this token
    [javac] ----------
    [javac] 23. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1790)
    [javac] *   this.active = false;       this.pageContents = [];       this.pageMatches = [];    
    [javac]                                                                                 ^^^
    [javac] Syntax error on tokens, Expression expected instead
    [javac] ----------
    [javac] 24. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1791)
    [javac] *    this.pageMatchesLength = null;       this.matchCount = 0;       this.selected = {         pageI
    [javac]                             ^
    [javac] Syntax error on token "=", <= expected
    [javac] ----------
    [javac] 25. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1791)
    [javac] *    this.pageMatchesLength = null;       this.matchCount = 0;       this.selected = {         pageI
    [javac]  * dx: -1,         matchIdx: -1       };       this.offset = {         pageIdx: null,        
    [javac]  *  matchIdx: null       };       this.pagesToSearch = null;       this.resumePageIdx = null;    
    [javac]  *   this.state = null;       this.dirtyMatch = false;       this.findTimeout = null;    
    [javac]  *    this._firstPagePromise = new Promise(function (resolve) {         _this.resolveFirstPage = resol
    [javac]  * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]                                                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 26. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1792)
    [javac] * dx: -1,         matchIdx: -1       };       this.offset = {         pageIdx: null,        
    [javac]     ^
    [javac] Syntax error on token ":", delete this token
    [javac] ----------
    [javac] 27. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1792)
    [javac] * dx: -1,         matchIdx: -1       };       this.offset = {         pageIdx: null,        
    [javac]                           ^
    [javac] Syntax error on token ":", -> expected
    [javac] ----------
    [javac] 28. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1792)
    [javac] * dx: -1,         matchIdx: -1       };       this.offset = {         pageIdx: null,        
    [javac]                              ^^^^^^^^^^
    [javac] Syntax error on tokens, ( expected instead
    [javac] ----------
    [javac] 29. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1792)
    [javac] * dx: -1,         matchIdx: -1       };       this.offset = {         pageIdx: null,        
    [javac]  *  matchIdx: null       };       this.pagesToSearch = null;       this.resumePageIdx = null;    
    [javac]  *   this.state = null;       this.dirtyMatch = false;       this.findTimeout = null;    
    [javac]  *    this._firstPagePromise = new Promise(function (resolve) {         _this.resolveFirstPage = resol
    [javac]  * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 30. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1792)
    [javac] * dx: -1,         matchIdx: -1       };       this.offset = {         pageIdx: null,        
    [javac]                                                                              ^
    [javac] Syntax error on token ":", , expected
    [javac] ----------
    [javac] 31. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1793)
    [javac] *  matchIdx: null       };       this.pagesToSearch = null;       this.resumePageIdx = null;    
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 32. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1793)
    [javac] *  matchIdx: null       };       this.pagesToSearch = null;       this.resumePageIdx = null;    
    [javac]                                                           ^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 33. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1793)
    [javac] *  matchIdx: null       };       this.pagesToSearch = null;       this.resumePageIdx = null;    
    [javac]  *   this.state = null;       this.dirtyMatch = false;       this.findTimeout = null;    
    [javac]  *    this._firstPagePromise = new Promise(function (resolve) {         _this.resolveFirstPage = resol
    [javac]  * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]                                                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 34. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1793)
    [javac] *  matchIdx: null       };       this.pagesToSearch = null;       this.resumePageIdx = null;    
    [javac]                                                                                            ^
    [javac] Syntax error on token ";", delete this token
    [javac] ----------
    [javac] 35. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1794)
    [javac] *   this.state = null;       this.dirtyMatch = false;       this.findTimeout = null;    
    [javac]     ^^^^^
    [javac] Syntax error on tokens, ( expected instead
    [javac] ----------
    [javac] 36. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1794)
    [javac] *   this.state = null;       this.dirtyMatch = false;       this.findTimeout = null;    
    [javac]                      ^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 37. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1794)
    [javac] *   this.state = null;       this.dirtyMatch = false;       this.findTimeout = null;    
    [javac]                                                     ^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 38. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1794)
    [javac] *   this.state = null;       this.dirtyMatch = false;       this.findTimeout = null;    
    [javac]                                                                                    ^
    [javac] Syntax error on token ";", delete this token
    [javac] ----------
    [javac] 39. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1795)
    [javac] *    this._firstPagePromise = new Promise(function (resolve) {         _this.resolveFirstPage = resol
    [javac]                             ^
    [javac] Syntax error on token "=", <= expected
    [javac] ----------
    [javac] 40. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1795)
    [javac] *    this._firstPagePromise = new Promise(function (resolve) {         _this.resolveFirstPage = resol
    [javac]                                                            ^
    [javac] Syntax error on token ")", -> expected
    [javac] ----------
    [javac] 41. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]             ^
    [javac] Syntax error, insert ")" to complete Expression
    [javac] ----------
    [javac] 42. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]             ^
    [javac] Syntax error, insert ")" to complete MethodInvocation
    [javac] ----------
    [javac] 43. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]             ^
    [javac] Syntax error, insert ")" to complete ClassInstanceCreationExpression
    [javac] ----------
    [javac] 44. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]              ^
    [javac] Syntax error, insert "AssignmentOperator Expression" to complete Assignment
    [javac] ----------
    [javac] 45. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]              ^
    [javac] Syntax error, insert ")" to complete Expression
    [javac] ----------
    [javac] 46. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]              ^
    [javac] Syntax error, insert "AssignmentOperator Expression" to complete Assignment
    [javac] ----------
    [javac] 47. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]              ^
    [javac] Syntax error, insert ";" to complete Statement
    [javac] ----------
    [javac] 48. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]              ^
    [javac] Syntax error, insert "AssignmentOperator Expression" to complete Expression
    [javac] ----------
    [javac] 49. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]              ^
    [javac] Syntax error, insert "AssignmentOperator Expression" to complete Assignment
    [javac] ----------
    [javac] 50. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]                         ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 51. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]                                                               ^^^^^^^^
    [javac] function cannot be resolved to a type
    [javac] ----------
    [javac] 52. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1796)
    [javac] * ve;       });     }   }, {     key: 'normalize',     value: function normalize(text) {       return
    [javac]                                                                                      ^
    [javac] Syntax error on token ")", -> expected
    [javac] ----------
    [javac] 53. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 54. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac]                                                      ^
    [javac] Syntax error, insert ")" to complete MethodInvocation
    [javac] ----------
    [javac] 55. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac]                                                      ^
    [javac] Syntax error, insert ";" to complete BlockStatements
    [javac] ----------
    [javac] 56. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac]                                                                                                   ^
    [javac] Syntax error, insert "}" to complete Block
    [javac] ----------
    [javac] 57. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac]                                                                                                   ^
    [javac] Syntax error, insert ";" to complete ReturnStatement
    [javac] ----------
    [javac] 58. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac]                                                                                                   ^
    [javac] Syntax error, insert "}" to complete Block
    [javac] ----------
    [javac] 59. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac]                                                                                                   ^
    [javac] Syntax error, insert ";" to complete BlockStatements
    [javac] ----------
    [javac] 60. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1797)
    [javac] *  text.replace(this.normalizationRegex, function (ch) {         return CHARACTERS_TO_NORMALIZE[ch];
    [javac]                                                                                                   ^
    [javac] Syntax error, insert "AssignmentOperator Expression" to complete Assignment
    [javac] ----------
    [javac] 61. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1798)
    [javac] *       });     }   }, {     key: '_prepareMatches',     value: function _prepareMatches(matchesWithL
    [javac]                                                                 ^^^^^^^^
    [javac] function cannot be resolved to a type
    [javac] ----------
    [javac] 62. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1799)
    [javac] * ength, matches, matchesLength) {       function isSubTerm(matchesWithLength, currentIndex) {      
    [javac] ^
    [javac] Syntax error on token "*", ( expected
    [javac] ----------
    [javac] 63. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1799)
    [javac] * ength, matches, matchesLength) {       function isSubTerm(matchesWithLength, currentIndex) {      
    [javac]                                  ^
    [javac] Syntax error on token "{", ; expected
    [javac] ----------
    [javac] 64. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1799)
    [javac] * ength, matches, matchesLength) {       function isSubTerm(matchesWithLength, currentIndex) {      
    [javac]                                          ^^^^^^^^
    [javac] function cannot be resolved to a type
    [javac] ----------
    [javac] 65. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1799)
    [javac] * ength, matches, matchesLength) {       function isSubTerm(matchesWithLength, currentIndex) {      
    [javac]                                                                              ^
    [javac] Syntax error on token ",", ( expected
    [javac] ----------
    [javac] 66. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1812)
    [javac] *     matchesLength.push(matchesWithLength[i].matchLength);       }     }   }, {    
    [javac]                                                                             ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 67. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1813)
    [javac] * key: 'calcFindPhraseMatch',     value: function calcFindPhraseMatch(query, pageIndex, pageContent)
    [javac]                                                                            ^
    [javac] Syntax error on token ",", ( expected
    [javac] ----------
    [javac] 68. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1818)
    [javac] * : function calcFindWordMatch(query, pageIndex, pageContent) {       var matchesWithLength = [];    
    [javac]                                     ^
    [javac] Syntax error on token ",", ( expected
    [javac] ----------
    [javac] 69. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1828)
    [javac] * : 'calcFindMatch',     value: function calcFindMatch(pageIndex) {       var pageContent =
    [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Syntax error on tokens, delete these tokens
    [javac] ----------
    [javac] 70. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1828)
    [javac] * : 'calcFindMatch',     value: function calcFindMatch(pageIndex) {       var pageContent =
    [javac]                                                                 ^
    [javac] Syntax error on token ")", -> expected
    [javac] ----------
    [javac] 71. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1839)
    [javac] *   key: 'extractText',     value: function extractText() {       var _this2 = this;        
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 72. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1840)
    [javac] * if (this.startedTextExtraction) {         return;       }       this.startedTextExtraction = true;
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 73. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1842)
    [javac] * nction _loop(i, ii) {         var extractTextCapability = (0, _pdfjsLib.createPromiseCapability)();
    [javac]                 ^
    [javac] Syntax error on token ",", ( expected
    [javac] ----------
    [javac] 74. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1844)
    [javac] * promise = promise.then(function () {           return
    [javac]                          ^^^^^^^^^^^
    [javac] Duplicate method function() in type ScrnViewerScreen
    [javac] ----------
    [javac] 75. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1845)
    [javac] *  _this2.pdfViewer.getPageTextContent(i).then(function (textContent) {             var textItems
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 76. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1851)
    [javac] *  extractTextCapability.resolve(i);           });         });       };        for (var i = 0, ii
    [javac]                                                                                     ^^^
    [javac] var cannot be resolved to a type
    [javac] ----------
    [javac] 77. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1852)
    [javac] * = this.pdfViewer.pagesCount; i < ii; i++) {         _loop(i, ii);       }     }   }, {     key:
    [javac]                                                             ^
    [javac] var cannot be resolved to a type
    [javac] ----------
    [javac] 78. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1852)
    [javac] * = this.pdfViewer.pagesCount; i < ii; i++) {         _loop(i, ii);       }     }   }, {     key:
    [javac]                                                                ^^
    [javac] var cannot be resolved to a type
    [javac] ----------
    [javac] 79. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1852)
    [javac] * = this.pdfViewer.pagesCount; i < ii; i++) {         _loop(i, ii);       }     }   }, {     key:
    [javac]                                                                                 ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 80. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1853)
    [javac] *  'executeCommand',     value: function executeCommand(cmd, state) {       var _this3 = this;      
    [javac]                                                            ^
    [javac] Syntax error on token ",", ( expected
    [javac] ----------
    [javac] 81. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1856)
    [javac] *     this._firstPagePromise.then(function () {         _this3.extractText();    
    [javac]                                   ^^^^^^^^^^^
    [javac] Duplicate method function() in type ScrnViewerScreen
    [javac] ----------
    [javac] 82. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1857)
    [javac] *      clearTimeout(_this3.findTimeout);         if (cmd === 'find') {           _this3.findTime
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 83. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1859)
    [javac] *  _this3.nextMatch();         }       });     }   }, {     key: 'updatePage',     value: functio
    [javac]                                                ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 84. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1860)
    [javac] * n updatePage(index) {       if (this.selected.pageIdx === index) {        
    [javac]                     ^
    [javac] Syntax error on token ")", -> expected
    [javac] ----------
    [javac] 85. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1865)
    [javac] *  currentPageIndex = this.pdfViewer.currentPageNumber - 1;       var numPages
    [javac] ^
    [javac] Syntax error on token "*", invalid AssignmentOperator
    [javac] ----------
    [javac] 86. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1882)
    [javac] *     }       this.nextPageMatch();     }   }, {     key: 'matchesReady',     value: func
    [javac]                                             ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 87. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1883)
    [javac] * tion matchesReady(matches) {       var offset = this.offset;       var numMatches = matches.length;
    [javac]                            ^
    [javac] Syntax error on token ")", -> expected
    [javac] ----------
    [javac] 88. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1889)
    [javac] * tion',     value: function updateMatchPosition(pageIndex, matchIndex, elements, beginIdx) {      
    [javac]                                                           ^
    [javac] Syntax error on token ",", ( expected
    [javac] ----------
    [javac] 89. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1893)
    [javac] *   key: 'nextPageMatch',     value: function nextPageMatch() {       if (this.resumePageIdx !== nul
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 90. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1893)
    [javac] *   key: 'nextPageMatch',     value: function nextPageMatch() {       if (this.resumePageIdx !== nul
    [javac]                                                                                                ^
    [javac] Syntax error on token "=", delete this token
    [javac] ----------
    [javac] 91. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1897)
    [javac] *     break;         }       } while (!this.matchesReady(matches));     }   }, {    
    [javac]                                                                             ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 92. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1898)
    [javac] * key: 'advanceOffsetPage',     value: function advanceOffsetPage(previous) {       var offset =
    [javac]                                                                           ^
    [javac] Syntax error on token ")", -> expected
    [javac] ----------
    [javac] 93. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1903)
    [javac] *      key: 'updateMatch',     value: function updateMatch() {       var found = arguments.length >
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 94. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1904)
    [javac] *  0 && arguments[0] !== undefined ? arguments[0] : false;        var state = FindState.NOT_FOUND;  
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 95. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1911)
    [javac] *      this.updatePage(this.selected.pageIdx);       }     }   }, {     key: 'updateUIResultsCount'
    [javac]                                                                ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 96. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1913)
    [javac] *  this.onUpdateResultsCount(this.matchCount);       }     }   }, {     key: 'updateUIState',  
    [javac] ^
    [javac] Syntax error on token "*", delete this token
    [javac] ----------
    [javac] 97. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1913)
    [javac] *  this.onUpdateResultsCount(this.matchCount);       }     }   }, {     key: 'updateUIState',  
    [javac]                                                                ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 98. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1914)
    [javac] *   value: function updateUIState(state, previous) {       if (this.onUpdateState) {      
    [javac]                                        ^
    [javac] Syntax error on token ",", ( expected
    [javac] ----------
    [javac] 99. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1916)
    [javac] * urn PDFFindController; }();  exports.FindState = FindState; exports.PDFFindController =
    [javac]       ^^^^^^^^^^^^^^^^^
    [javac] Duplicate field ScrnViewerScreen.PDFFindController
    [javac] ----------
    [javac] 100. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1916)
    [javac] * urn PDFFindController; }();  exports.FindState = FindState; exports.PDFFindController =
    [javac]                          ^
    [javac] Syntax error on token "}", delete this token
    [javac] ----------
    [javac] 100 problems (100 errors)

/opt/outsystems/platform/share/pdfJSViewer.124/full/build.xml:90: Compile failed; see the compiler error output for details.
Compiling Dependencies: Compiling dependencies of 'pdfJS_Viewer'.
Gathering Dependencies: Gathering dependencies of 'pdfJS_Viewer'.
(Error) Deployment Aborted: The deployment was aborted due to errors. No applications or modules were deployed.

Hi Harlin,

I would say that this is a problem with the text itself.
I remember seeing other topics about failed compilations in Java stack because the java didn't recognize one or more characters in the midlle of text (that is what the JavaScript is).

Unfortunately, I don't have access to any Java environment to try to investigate this issue (and if there is any solution for it).

Harlin Setiadarma wrote:

Strange, this using javascript not extension, but error publishing in Java stack.


Here's the error message:

Upgrading: No need to upgrade Application.
Uploading: Uploading Application.
Uploading eSpace: Uploading eSpace pdfJSViewer.
Updating Application: Updating Application pdfJS_Viewer.
(Warning) Name Conflict: An existing version with the same name was overwritten.
Verifying: Verifying the Application consistency and permission settings.
Upgrading Modules: Upgrading and refreshing modules of 'pdfJS_Viewer'.
Impact Analysis: Performing Impact Analysis of 'pdfJS_Viewer'.
Preparing Extensions: Preparing extensions of 'pdfJS_Viewer'.
Preparing Database: Preparing database of 'pdfJS_Viewer'.
Preparing Database: Preparing database of module 'pdfJSViewer'.
Associating Dependencies: Associating dependencies of 'pdfJS_Viewer'.
Associating Dependencies: Associating dependencies of module 'pdfJSViewer'.
Compiling Modules: Compiling modules of 'pdfJS_Viewer'.
Compiling Module: Compiling module 'pdfJSViewer'.
Internal Error: Compilation Error.

customclients:

compile:
    [mkdir] Created dir: /opt/outsystems/platform/share/pdfJSViewer.124/full/bin/app
    [javac] Compiling 110 source files to /opt/outsystems/platform/share/pdfJSViewer.124/full/bin/app
    [javac] ----------
    [javac] 1. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1782)
    [javac] *    '\u201A': '\'',   '\u201B': '\'',   '\u201C': '""',   '\u201D': '""',   '\u201E': '""',   '\u201
    [javac]  * F': '""',   '\xBC': '1/4',   '\xBD': '1/2',   '\xBE': '3/4' };  var PDFFindController = function ()
    [javac]                                                                                                 ^^^^^^
    [javac] Invalid unicode
    [javac] ----------
    [javac] 2. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1782)
    [javac] * F': '""',   '\xBC': '1/4',   '\xBD': '1/2',   '\xBE': '3/4' };  var PDFFindController = function ()
    [javac]                                                                   ^^^
    [javac] var cannot be resolved to a type
    [javac] ----------
    [javac] 3. ERROR in /opt/outsystems/platform/share/pdfJSViewer.124/full/src/ospdfjsviewer/managedbean/flowpdfjsviewer/ScrnViewerScreen.java (at line 1782)
    [javac] * F': '""',   '\xBC': '1/4',   '\xBD': '1/2',   '\xBE': '3/4' };  var PDFFindController = function ()
    [javac]                                                                       ^^^^^^^^^^^^^^^^^
    [javac] Duplicate field ScrnViewerScreen.PDFFindController
    [javac] ----------
    [javac] 4. ERROR in 

Hi,

someone could help in the solution, I'm having this problem.

Thanks

Hello Wanderson,

Like I said before, I can't investigate this, as I don't have access to a Java Environment.
Don't know if Harlin was able to solve the issue.

Probably there is a symbol that is being interpreted as a unicode escaped character (maybe inside a comment) that the Java compiler is not being able to interpret.

If/when I have time, I'll try to investigate, but without access to a Java environment I will not be able to test.

As version 11 of OutSystems does not have Java Stack anymore, I'll probably will not be able to solve this issue.
You may be better trying to look for alternative solutions to show PDF's.

Cheers!

P.S. The better I can do is try to strip out any "hidden" characters that seems to be in the code and Java is not able to understand, if they exists.

Eduardo Jauch wrote:

Hello Wanderson,

Like I said before, I can't investigate this, as I don't have access to a Java Environment.
Don't know if Harlin was able to solve the issue.

Probably there is a symbol that is being interpreted as a unicode escaped character (maybe inside a comment) that the Java compiler is not being able to interpret.

If/when I have time, I'll try to investigate, but without access to a Java environment I will not be able to test.

As version 11 of OutSystems does not have Java Stack anymore, I'll probably will not be able to solve this issue.
You may be better trying to look for alternative solutions to show PDF's.

Cheers!

P.S. The better I can do is try to strip out any "hidden" characters that seems to be in the code and Java is not able to understand, if they exists.


Thank you,

I believe that removing hidden code that java may have difficulty interpreting may be a viable solution.


Thanks

Hi!
I had the same issue.

Has anyone found any solutions to the problem?

TIA