Posts

Showing posts from 2020

java.lang.UnsupportedOperationException No Data In this Entry Error

Image
  java.lang.UnsupportedOperationException: No Data In this Entry you may face this error in your adf page when trying to update a record in a table or a even a form.     this error may happens because you set the global setting  in adf-config.xml PPR to none. In this case you must change the "Change Event Policy" property for all the iterators in evey page definition to DEFAULT       make sure you select "Rest to Default"  

Converting base64 bit to a file. Used for images

add this function to tour ts file immediatly after imports function base64toBlob(base64Data, contentType) {   contentType = contentType || '';   const sliceSize = 1024;   const byteCharacters = atob(base64Data);   const bytesLength = byteCharacters.length;   const slicesCount = Math.ceil(bytesLength / sliceSize);   const byteArrays = new Array(slicesCount);   for (var sliceIndex = 0; sliceIndex < slicesCount; ++sliceIndex) {     const begin = sliceIndex * sliceSize;     const end = Math.min(begin + sliceSize, bytesLength);     const bytes = new Array(end - begin);     for (let offset = begin, i = 0; offset < end; ++i, ++offset) {       bytes[i] = byteCharacters[offset].charCodeAt(0);     }     byteArrays[sliceIndex] = new Uint8Array(bytes);   }   return new Blob(byteArrays, { type: contentType }); } example:   onImagePicked ( imageData :  string  |  File ){      let   imageFile ;      if  (  typeof   imageData  ===  'string' ){       try {         imageFile  =  ba

weblogic windows JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: Failed to lock cwallet.sso.lck

Integreated weblogic serer cannot be started and retuen this error weblogic windows JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: Failed to lock cwallet.sso.lck Solution is simple  just remove the cwallet.sso file and cwallet.sso.lck located in C:\Users\tarek.DHAMAN\AppData\Roaming\JDeveloper\system12.2.1.4.42.190911.2248\o.jdeveloper.rescat2.model Then open jevveloper again and start weblogic again

Cannot access Mapped folder -Windows 10

Open Poweshell as administrator and run the folowing commands sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi sc.exe config mrxsmb20 start= disabled