Yet another Base64 encoder / decoder

Hi, I would like introduce a different Base64 encoding scheme which yields slightly more compact results when encoding international characters.
        This is an implementation of BASE64UTF9 encoder and decoder.
        Common practice converts Java strings to UTF8 before Base64 encoding.
        UTF8 is not so space efficient in representing non-ASCII characters.
        While UTF9 is impractical as raw data in most 8 bit machines, it fits
        well within Base64 streams since 3 symbols can represent 2 UTF9 nonets.
        In this implementation, a modified UTF9 (flipped bit 9) is chosen to
        ensure nonet '0x000' never appear but maybe be inserted if needed.
        This implementation is also coded in such a way that it is possible to
        use Base100 encoding. When run from command line, it will perform a
        test with random strings and display encoding compactness compared to
        to other existing schemes.
public class B64utf9 {
        private static final String look =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_";
//"\u0010\u0011\u0012\u0013\u0014!\"#$%&'()*+,-./ 0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";
        private static final int BASE = look.length();
        private static final int SYMB = (int)java.lang.Math.pow(BASE, 1.5) / 2;
        public static String decode(String str) {
                long j = 1, k = 0, q = 0;
                StringBuffer buf = new StringBuffer();
                for(int p = 0; p < str.length(); p++) {
                        k += look.indexOf(str.charAt(p)) * j;
                        for(j *= BASE; j >= SYMB * 2; j /= SYMB * 2) {
                                q = q * SYMB + k % SYMB;
                                if(k % (SYMB * 2) >= SYMB) {
                                        buf.append((char)q);
                                        q = 0;
                                k /= SYMB * 2;
                return buf.toString();
        public static String encode(String str) {
                long j = 1, k = 0;
                StringBuffer buf = new StringBuffer();
                for(int p = 0; p < str.length(); p++) {
                        long r, q = str.charAt(p);
                        for(r = 1; r * SYMB <= q; r *= SYMB);
                        for(; r > 0; r /= SYMB) {
                                k += ((q / r) % SYMB + (r > 1 ? 0 : SYMB)) * j;
                                for(j *= SYMB * 2; j >= BASE; j /= BASE) {
                                        buf.append(look.charAt((int)k % BASE));
                                        k /= BASE;
                if(j > 1) buf.append(look.charAt((int)k));
                return buf.toString();
        public static void main(String arg[]) throws Exception {
                java.util.Random rnd = new java.util.Random();
                for(double q = 1; q < 9; q++) {
                        int x = 0, y = 0, z = 0;
                        int r = (int)java.lang.Math.pow(Character.MAX_VALUE, 1 / q);
                        for(int p = 0; p < 999; p++) {
                                StringBuffer buf = new StringBuffer();
                                while(rnd.nextInt(99) > 0) {
                                        char k = 1;
// varying ASCII density
                                        for(int j = 0; j < q; j++)
                                                k *= rnd.nextInt(r);
                                        buf.append(k);
                                String str = buf.toString();
// regression
                                if(!decode(encode(str)).equals(str))
                                        System.out.println(str);
// count encoded length
                                x += encode(str).length();
                                y += new sun.misc.BASE64Encoder().encode(str.getBytes("utf8")).length();
                                z += new sun.misc.BASE64Encoder().encode(str.getBytes("gb18030")).length();
                        System.out.println(x +","+ y +","+ z);
}{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Good idea! Sometimes it depends on what you want to encode too, however.
I suppose there is a case where general purpose compression does not work very well - random generated data.
Here's how I tested it:
class Count {
        private static String enc(String src, String set) throws Exception {
                return new String(src.getBytes(set), "iso-8859-1");
        private static byte[] dec(byte[] src, String set) throws Exception {
                return new String(src, set).getBytes("iso-8859-1");
        public static void main(String[] arg) throws Exception {
                java.util.Random rnd = new java.util.Random();
                int x = 0, y = 0;
                for(int k = 0; k < 99; k++) {
                        byte[] raw = new byte[rnd.nextInt(99)];
                        for(int z = 0; z < raw.length; z++)
                                raw[z] = (byte)(rnd.nextInt(256));
                        String str = new String(raw, "utf16");
                        byte[] b6u = str.getBytes("x-base64utf9");
                        byte[] gz2 = enc(enc(str, "utf8"), "x-gzip").getBytes("x-base64");
                        x += b6u.length;
                        y += gz2.length;
                        if(!str.equals(new String(b6u, "x-base64utf9")))
                                System.out.println(str);
                        if(!str.equals(new String(dec(dec(gz2, "x-base64"), "x-gzip"), "utf8")))
                                System.out.println(str);
                System.out.println(x +","+ y);
}The above code does not include my my encoders, I put my encoders code as nio.charset package and can be downloaded from [SF.|http://sourceforge.net/project/showfiles.php?group_id=248737]
PS: sorry about the confusion, please allow me to clarify that the UTF9 encoder is not interchangeable with existing Base64 encoders. There is a compatible (hopefully) encoder in my package, however.

Similar Messages

  • Base64 encode decode question

    Hi
    I use the auclair base64 class to encode and decode base64 locally and it works great.
    But when I send the string to my server and back (aspx), I cannot decode it I have the 2030 error from flash.
    When I compare the encoded string from both end they look the same.
    I make sure it is fully loaded before attempting the decode.
    Is this a common bug or I'm I wrong somewhere?
    Thanks
    I use the latest air.

    The -d switch on the openssl base64 command enables debugging; it's the short version of the --debug switch.  Probably not what you're after, either.  The -D switch would be more typical, that's the short version of --decode switch, and probably what you had intended.
    The -i (--input) and -o (--output) switches allow you to specify input and output files, which is one way to pass a whole lot of data into that command.
    Do you have an example of some of the text that you're working with?

  • YET ANOTHER MEDIA ENCODER WILL NOT OPEN AT ALL THREAD

    Read the other threads concerning Media Encoder crashing on start up and no solution worked for me.
    I have Creative Cloud.  I have a brand new Macbook Pro - 10.9.1.
    I have tried uninstalling all Creative Cloud applications and running the Adobe Cleaner.  Reinstalled and Media Encoder still doesn't work.  I have tried deleting preference files.  Still no good.  I have read and write access to the Adobe Folder. 
    I did read that initially Red Giant software was causing a problem.  I had installed Red Giant Color Suite because I had a license for MOJO.  I unistalled the Color Suite after I read there was a problem.  I also have the Shooter Suite because I use Plural Eyes.  I don't need MOJO really, but I have to have Plural Eyes.  It is still installed.
    I have read through the several threads on this same topic and I think tried everything.
    Without Media Encoder, the rest is useless - if I can't deliver to clients!  Brand new computer just got yesterday.
    Any other ideas?
    thanks,
    JET
    here is the error report:
    Process:         Adobe Media Encoder CC [1657]
    Path:            /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/MacOS/Adobe Media Encoder CC
    Identifier:      com.adobe.ame.application
    Version:         7.2.0.43 (7.2.0)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [170]
    Responsible:     Adobe Media Encoder CC [1657]
    User ID:         501
    Date/Time:       2014-02-06 13:08:40.171 -0600
    OS Version:      Mac OS X 10.9.1 (13B3116)
    Report Version:  11
    Anonymous UUID:  E5A27637-9161-1956-1812-49722D9E0BB1
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    terminating with uncaught exception of type dvacore::filesupport::dir_create_exception: $$$/dvacore/filesupport/DirCreate=The directory '@0' could not be created. Please check the parent directory protection or permission rights.
    abort() called
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x00007fff8e15d866 __pthread_kill + 10
    1   libsystem_pthread.dylib                 0x00007fff8f18935c pthread_kill + 92
    2   libsystem_c.dylib                       0x00007fff8847fbba abort + 125
    3   libc++abi.dylib                         0x00007fff8e1f5141 abort_message + 257
    4   libc++abi.dylib                         0x00007fff8e21aaa4 default_terminate_handler() + 240
    5   libobjc.A.dylib                         0x00007fff8dda5322 _objc_terminate() + 124
    6   libc++abi.dylib                         0x00007fff8e2183e1 std::__terminate(void (*)()) + 8
    7   libc++abi.dylib                         0x00007fff8e217e6b __cxa_throw + 124
    8   com.adobe.dvacore.framework             0x000000010022814d dvacore::filesupport::DirHelper::Create() + 813
    9   com.adobe.AMEAppFoundation.framework          0x0000000104f285e9 AME::foundation::AppUtils::GetUserPresetDir(bool) + 425
    10  com.adobe.Batch.framework               0x0000000105c0a842 AMEBatch::Initialize() + 2194
    11  com.adobe.ame.application               0x00000001000273cb AME::app::AMEAppInitializer::AMEAppInitializer(exo::app::AppInitArgs&, std::basic_string<unsigned short, std::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> >&) + 811
    12  com.adobe.ame.application               0x000000010000ad6a AME::app::AMEApp::InitApplication(exo::app::AppInitArgs&) + 2426
    13  com.adobe.exo.framework                 0x000000010513e77a exo::app::AppBase::Initialize(exo::app::AppInitArgs&) + 1066
    14  com.adobe.ame.application               0x00000001000141a8 AME::RunTheApp(exo::app::AppInitArgs&, std::vector<std::basic_string<unsigned short, std::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> >, std::allocator<std::basic_string<unsigned short, std::char_traits<unsigned short>, dvacore::utility::SmallBlockAllocator::STLAllocator<unsigned short> > > >&) + 1576
    15  com.adobe.ame.application               0x0000000100056a38 main + 424
    16  com.adobe.ame.application               0x0000000100003f74 start + 52
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x00007fff8e15e662 kevent64 + 10
    1   libdispatch.dylib                       0x00007fff8818d43d _dispatch_mgr_invoke + 239
    2   libdispatch.dylib                       0x00007fff8818d152 _dispatch_mgr_thread + 52
    Thread 2:: Dispatch queue: com.apple.root.low-priority
    0   com.apple.CoreFoundation                0x00007fff92bb0fb4 __CFStringHash + 260
    1   com.apple.CoreFoundation                0x00007fff92ba7a54 CFBasicHashSetValue + 996
    2   com.apple.CoreFoundation                0x00007fff92ba7609 CFDictionarySetValue + 217
    3   libCGXType.A.dylib                      0x000000010b9ea7a6 copy_name + 325
    4   com.apple.CoreGraphics                  0x00007fff8fec8f44 add_root_name + 65
    5   com.apple.CoreGraphics                  0x00007fff8fec8a64 CGFontNameTableCreate + 819
    6   com.apple.CoreGraphics                  0x00007fff8fec8710 get_name_table + 29
    7   com.apple.CoreGraphics                  0x00007fff8fec86dc CGFontCopyPostScriptName + 9
    8   com.apple.CoreGraphics                  0x00007fff8fec8142 CGFontCreateFontsWithURL + 455
    9   com.apple.CoreText                      0x00007fff8f5011bc CreateFontsWithURL(__CFURL const*, bool) + 22
    10  com.apple.CoreText                      0x00007fff8f5007ee CTFontManagerCreateFontDescriptorsFromURL + 54
    11  com.adobe.CoolType                      0x000000010786e00f CTCleanup + 1005217
    12  com.adobe.CoolType                      0x000000010787144f CTCleanup + 1018593
    13  com.adobe.CoolType                      0x0000000107872c96 CTCleanup + 1024808
    14  com.adobe.CoolType                      0x0000000107768f9b 0x10771a000 + 323483
    15  com.adobe.FontEngine.framework          0x0000000107a76f1a CTT1_EnumFontFamilies(unsigned int (*)(void*), void*) + 1370
    16  com.adobe.FontEngine.framework          0x0000000107a75a5e CTFontTypeT1::EnumerateFonts(IFTBase*, unsigned int) + 62
    17  com.adobe.FontEngine.framework          0x0000000107a80e5f IFTBuildFontEnumeration + 159
    18  com.adobe.TitleCG.framework             0x0000000107e68176 initFontDbase(HINSTANCE__*, bool) + 150
    19  com.adobe.TitleCG.framework             0x0000000107e6c868 cgCoreInit + 152
    20  com.adobe.TitleLayout.framework          0x0000000108085ca5 Inscriber::Implementation::Global::Global() + 613
    21  com.adobe.TitleLayout.framework          0x00000001080859bc GetInscriberEnvironment + 44
    22  com.adobe.TitleRenderer.framework          0x00000001087d0cb4 CG::(anonymous namespace)::StartupAsync() + 20
    23  com.adobe.dvacore.framework             0x0000000100273d8f dvacore::threads::ExecuteTopLevelFunction(dvacore::threads::AllocatedFunctionT<boost::fun ction<void ()> > const&) + 31
    24  com.adobe.dvacore.framework             0x0000000100273a8f dvacore::threads::WrapExecuteTopLevelFunction(void*) + 15
    25  libdispatch.dylib                       0x00007fff8818b2ad _dispatch_client_callout + 8
    26  libdispatch.dylib                       0x00007fff8818d09e _dispatch_root_queue_drain + 326
    27  libdispatch.dylib                       0x00007fff8818e193 _dispatch_worker_thread2 + 40
    28  libsystem_pthread.dylib                 0x00007fff8f189ef8 _pthread_wqthread + 314
    29  libsystem_pthread.dylib                 0x00007fff8f18cfb9 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib                  0x00007fff8e15de6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff8f189f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8f18cfb9 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib                  0x00007fff8e15de6a __workq_kernreturn + 10
    1   libsystem_pthread.dylib                 0x00007fff8f189f08 _pthread_wqthread + 330
    2   libsystem_pthread.dylib                 0x00007fff8f18cfb9 start_wqthread + 13
    Thread 5:
    0   libsystem_kernel.dylib                  0x00007fff8e15e64a kevent + 10
    1   com.adobe.dvatransport.framework          0x000000010099311c boost::asio::detail::kqueue_reactor::run(bool, boost::asio::detail::op_queue<boost::asio::detail::task_io_service_operation>&) + 236
    2   com.adobe.dvatransport.framework          0x0000000100992dc7 boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost:: asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) + 375
    3   com.adobe.dvatransport.framework          0x0000000100992938 boost::asio::detail::task_io_service::run(boost::system::error_code&) + 568
    4   com.adobe.dvatransport.framework          0x00000001009825b7 SkyConnectionEnv::MainLoop() + 167
    5   com.adobe.dvatransport.framework          0x0000000100982069 SkyConnectionEnv::StaticThreadFunc(SkyConnectionEnv*) + 9
    6   com.adobe.boost_threads.framework          0x000000010017f8ae thread_proxy + 158
    7   libsystem_pthread.dylib                 0x00007fff8f188899 _pthread_body + 138
    8   libsystem_pthread.dylib                 0x00007fff8f18872a _pthread_start + 137
    9   libsystem_pthread.dylib                 0x00007fff8f18cfc9 thread_start + 13
    Thread 6:
    0   libsystem_kernel.dylib                  0x00007fff8e15d716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff8f18ac3b _pthread_cond_wait + 727
    2   com.adobe.dvatransport.framework          0x0000000100992cdb boost::asio::detail::task_io_service::do_run_one(boost::asio::detail::scoped_lock<boost:: asio::detail::posix_mutex>&, boost::asio::detail::task_io_service_thread_info&, boost::system::error_code const&) + 139
    3   com.adobe.dvatransport.framework          0x0000000100992938 boost::asio::detail::task_io_service::run(boost::system::error_code&) + 568
    4   com.adobe.dvatransport.framework          0x00000001009926ea boost::asio::detail::posix_thread::func<boost::asio::detail::resolver_service_base::work_ io_service_runner>::run() + 42
    5   com.adobe.dvatransport.framework          0x00000001009937d3 boost_asio_detail_posix_thread_function + 19
    6   libsystem_pthread.dylib                 0x00007fff8f188899 _pthread_body + 138
    7   libsystem_pthread.dylib                 0x00007fff8f18872a _pthread_start + 137
    8   libsystem_pthread.dylib                 0x00007fff8f18cfc9 thread_start + 13
    Thread 7:
    0   libsystem_kernel.dylib                  0x00007fff8e15d716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff8f18ac3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore          0x00007fff8c5d0a50 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff8c5d0c4f TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore          0x00007fff8c5a138d MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework             0x00000001002721cc dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::threads::Al locatedFunctionT<boost::function<void ()> > >&, int) + 140
    6   com.adobe.dvacore.framework             0x00000001002701b0 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::ThreadSafeD elayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 144
    7   com.adobe.dvacore.framework             0x000000010026234c boost::function0<void>::operator()() const + 28
    8   com.adobe.dvacore.framework             0x000000010026d133 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 115
    9   com.adobe.boost_threads.framework          0x000000010017f8ae thread_proxy + 158
    10  libsystem_pthread.dylib                 0x00007fff8f188899 _pthread_body + 138
    11  libsystem_pthread.dylib                 0x00007fff8f18872a _pthread_start + 137
    12  libsystem_pthread.dylib                 0x00007fff8f18cfc9 thread_start + 13
    Thread 8:
    0   libsystem_kernel.dylib                  0x00007fff8e15d716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff8f18ac3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore          0x00007fff8c5d0a50 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff8c5d0c4f TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore          0x00007fff8c5a138d MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework             0x00000001002721cc dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::threads::Al locatedFunctionT<boost::function<void ()> > >&, int) + 140
    6   com.adobe.dvacore.framework             0x00000001002701b0 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::ThreadSafeD elayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 144
    7   com.adobe.dvacore.framework             0x000000010026234c boost::function0<void>::operator()() const + 28
    8   com.adobe.dvacore.framework             0x000000010026d133 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 115
    9   com.adobe.boost_threads.framework          0x000000010017f8ae thread_proxy + 158
    10  libsystem_pthread.dylib                 0x00007fff8f188899 _pthread_body + 138
    11  libsystem_pthread.dylib                 0x00007fff8f18872a _pthread_start + 137
    12  libsystem_pthread.dylib                 0x00007fff8f18cfc9 thread_start + 13
    Thread 9:
    0   libsystem_kernel.dylib                  0x00007fff8e15d716 __psynch_cvwait + 10
    1   libsystem_pthread.dylib                 0x00007fff8f18ac3b _pthread_cond_wait + 727
    2   com.apple.CoreServices.CarbonCore          0x00007fff8c5d0a50 TSWaitOnCondition + 108
    3   com.apple.CoreServices.CarbonCore          0x00007fff8c5d0c4f TSWaitOnConditionTimedRelative + 172
    4   com.apple.CoreServices.CarbonCore          0x00007fff8c5a138d MPWaitOnQueue + 192
    5   com.adobe.dvacore.framework             0x00000001002721cc dvacore::threads::ThreadSafeDelayQueue::PopWithTimeout(std::auto_ptr<dvacore::threads::Al locatedFunctionT<boost::function<void ()> > >&, int) + 140
    6   com.adobe.dvacore.framework             0x00000001002701b0 dvacore::threads::(anonymous namespace)::ThreadedWorkQueue::WorkerMain(boost::shared_ptr<dvacore::threads::ThreadSafeD elayQueue> const&, boost::shared_ptr<dvacore::threads::Gate> const&) + 144
    7   com.adobe.dvacore.framework             0x000000010026234c boost::function0<void>::operator()() const + 28
    8   com.adobe.dvacore.framework             0x000000010026d133 dvacore::threads::(anonymous namespace)::LaunchThread(std::string const&, boost::function0<void> const&, dvacore::threads::ThreadPriority, boost::function<void ()> const&, boost::function<void ()> const&) + 115
    9   com.adobe.boost_threads.framework          0x000000010017f8ae thread_proxy + 158
    10  libsystem_pthread.dylib                 0x00007fff8f188899 _pthread_body + 138
    11  libsystem_pthread.dylib                 0x00007fff8f18872a _pthread_start + 137
    12  libsystem_pthread.dylib                 0x00007fff8f18cfc9 thread_start + 13
    Thread 10:
    0   libsystem_kernel.dylib                  0x00007fff8e15da3a __semwait_signal + 10
    1   libsystem_c.dylib                       0x00007fff8849ee60 nanosleep + 200
    2   com.adobe.ScriptLayer.framework          0x0000000105944048 ScObjects::Thread::wait(unsigned int) + 56
    3   com.adobe.ScriptLayer.framework          0x000000010593153e ScObjects::BridgeTalkThread::run() + 174
    4   com.adobe.ScriptLayer.framework          0x0000000105943c05 ScObjects::Thread::go(void*) + 165
    5   libsystem_pthread.dylib                 0x00007fff8f188899 _pthread_body + 138
    6   libsystem_pthread.dylib                 0x00007fff8f18872a _pthread_start + 137
    7   libsystem_pthread.dylib                 0x00007fff8f18cfc9 thread_start + 13
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000000  rbx: 0x00007fff78ec9310  rcx: 0x00007fff5fbfe308  rdx: 0x0000000000000000
      rdi: 0x0000000000000707  rsi: 0x0000000000000006  rbp: 0x00007fff5fbfe330  rsp: 0x00007fff5fbfe308
       r8: 0x0000000000000000   r9: 0x00007fff884a7900  r10: 0x0000000008000000  r11: 0x0000000000000206
      r12: 0x00007fff5fbfe490  r13: 0x0000610000302c38  r14: 0x0000000000000006  r15: 0x00007fff5fbfe370
      rip: 0x00007fff8e15d866  rfl: 0x0000000000000206  cr2: 0x00007fff78ec8010
    Logical CPU:     0
    Error Code:      0x02000148
    Trap Number:     133
    Binary Images:
           0x100000000 -        0x100098ff7 +com.adobe.ame.application (7.2.0.43 - 7.2.0) <C9120C47-E92C-3616-AB74-1472FD1C081E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/MacOS/Adobe Media Encoder CC
           0x100156000 -        0x100158fff +com.adobe.boost_system.framework (7.2.0 - 7.2.0.43) <16438917-8531-34A1-9957-839A4DE04273> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/boost_system.framework/Versions/A/boost_system
           0x100161000 -        0x100167ff7 +com.adobe.boost_date_time.framework (7.2.0 - 7.2.0.43) <8BB710F0-B90E-3B5A-A6A5-DF1341D2D906> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/boost_date_time.framework/Versions/A/boost_date_time
           0x10017e000 -        0x10018bff7 +com.adobe.boost_threads.framework (7.2.0 - 7.2.0.43) <0092E80A-089A-37C0-B533-89103D2063F0> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/boost_threads.framework/Versions/A/boost_threads
           0x1001a9000 -        0x10040cff7 +com.adobe.dvacore.framework (7.2.0 - 7.2.0.43) <082F0C8F-DF14-38EC-B710-25C02AFEA6DB> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvacore.framework/Versions/A/dvacore
           0x100634000 -        0x100662fff +com.adobe.dvamediatypes.framework (7.2.0 - 7.2.0.43) <DE2753AB-4D4D-38CB-8213-993FC6BFEF07> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvamediatypes.framework/Versions/A/dvamediatypes
           0x100694000 -        0x100753ff7 +com.adobe.dvaaudiofilterhost.framework (7.2.0 - 7.2.0.43) <27DE45CA-770A-3DEE-A13E-77CB6146FC90> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvaaudiofilterhost.framework/Versions/A/dvaaudiofilterhost
           0x10083d000 -        0x100841fff +com.adobe.PRM.framework (7.2.0 - 7.2.0.43) <6B75E375-ADC1-3DC3-AF09-7864D1AD763A> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/PRM.framework/Versions/A/PRM
           0x10084f000 -        0x10089bfff +com.adobe.ASLFoundation.framework (7.2.0 - 7.2.0.43) <3838CF82-D899-3E99-846D-41B141538C74> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ASLFoundation.framework/Versions/A/ASLFoundation
           0x100904000 -        0x100914fff +com.adobe.ASLMessaging.framework (7.2.0 - 7.2.0.43) <F1601247-AED5-3E0F-B6DA-E681BD63B39C> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ASLMessaging.framework/Versions/A/ASLMessaging
           0x100930000 -        0x100933fff +com.adobe.Memory.framework (7.2.0 - 7.2.0.43) <92C01480-8442-3783-B9EA-A21D76C32F43> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/Memory.framework/Versions/A/Memory
           0x10093c000 -        0x10094cff7 +com.adobe.ASLUnitTesting.framework (7.2.0 - 7.2.0.43) <01BD8602-DCD6-3DC3-8797-DBC284342BC8> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ASLUnitTesting.framework/Versions/A/ASLUnitTesting
           0x10096a000 -        0x1009ceff7 +com.adobe.dvatransport.framework (7.2.0 - 7.2.0.43) <BED0465F-9C4F-3A57-B2D8-FBFBE9588FB6> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvatransport.framework/Versions/A/dvatransport
           0x100a62000 -        0x100a8ffff +com.adobe.dvamarshal.framework (7.2.0 - 7.2.0.43) <57CCB614-9ED9-3177-A02E-3A7C8C096566> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvamarshal.framework/Versions/A/dvamarshal
           0x100ad8000 -        0x100ce9fff +com.adobe.dynamiclink.framework (7.2.0 - 7.2.0.43) <025D5342-A9E9-3A93-AA9C-22DFD6D1323C> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dynamiclink.framework/Versions/A/dynamiclink
           0x100f31000 -        0x100fb6ff7 +com.adobe.MediaFoundation.framework (7.2.0 - 7.2.0.43) <F6981E5C-C61A-3A84-BE18-4EEDB564C387> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/MediaFoundation.framework/Versions/A/MediaFoundation
           0x101068000 -        0x1010fafff +com.adobe.AudioRenderer.framework (7.2.0 - 7.2.0.43) <24D15791-1C8A-31D1-8FBB-85A9BDA73D52> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AudioRenderer.framework/Versions/A/AudioRenderer
           0x1011c0000 -        0x1012c2fff +com.adobe.dvacaptioning.framework (7.2.0 - 7.2.0.43) <4DAEE98D-920B-3AC9-943E-4C57D06F16FE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvacaptioning.framework/Versions/A/dvacaptioning
           0x1013a2000 -        0x1013feff7 +com.adobe.dvatemporalxmp.framework (7.2.0 - 7.2.0.43) <A5FDEA98-C932-3A8A-AE7A-607316BCD496> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvatemporalxmp.framework/Versions/A/dvatemporalxmp
           0x101435000 -        0x101441fff +com.adobe.boost_signals.framework (7.2.0 - 7.2.0.43) <2349850A-D940-3390-B4E1-807690B2D89C> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/boost_signals.framework/Versions/A/boost_signals
           0x10145c000 -        0x1014c9ff7 +com.adobe.AdobeXMPCore (Adobe XMP Core 5.5 -c 21 - 79.155241) <107DE42D-16B1-3DBF-88A2-1E017BA733D4> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeXMP.framework/Versions/A/AdobeXMP
           0x1014fc000 -        0x101609fff +com.adobe.AdobeXMPFiles (Adobe XMP Files 5.6 -f 84 - 79.155241) <D4D421C1-082E-3081-B92B-2005D4C9FE6F> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeXMPFiles.framework/Versions/A/AdobeXMPFiles
           0x1016ba000 -        0x101748ff7 +com.adobe.dvametadata.framework (7.2.0 - 7.2.0.43) <617EA60D-6015-3ECD-AADA-11233CCEC4B0> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvametadata.framework/Versions/A/dvametadata
           0x101803000 -        0x1025ddff7 +com.adobe.Backend.framework (7.2.0 - 7.2.0.43) <A747F74A-43FE-34DF-BE00-A45EE2AA7C1F> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/Backend.framework/Versions/A/Backend
           0x1032d4000 -        0x103311fff +com.adobe.MLFoundation.framework (7.2.0 - 7.2.0.43) <8FC13FF3-ED59-3544-9E14-09A6F337797E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/MLFoundation.framework/Versions/A/MLFoundation
           0x103376000 -        0x10346ffef +com.adobe.ImageRenderer.framework (7.2.0 - 7.2.0.43) <ED9FA206-16B6-38D0-8E96-F7E0C77E8CBB> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ImageRenderer.framework/Versions/A/ImageRenderer
           0x1035bf000 -        0x10363bfff +com.adobe.VideoFrame.framework (7.2.0 - 7.2.0.43) <E81E3A73-2BD1-3FE4-B641-55824D488A33> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/VideoFrame.framework/Versions/A/VideoFrame
           0x1036b7000 -        0x1036f2fff +com.adobe.PluginSupport.framework (7.2.0 - 7.2.0.43) <E1FBFB8E-6F57-39A6-AB69-8FB9DD110374> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/PluginSupport.framework/Versions/A/PluginSupport
           0x10373b000 -        0x103765ff7 +com.adobe.SweetPeaSupport.framework (7.2.0 - 7.2.0.43) <E740FB67-66E5-3A4D-AE08-C8824BD3FA71> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/SweetPeaSupport.framework/Versions/A/SweetPeaSupport
           0x1037a6000 -        0x1038bdfff +com.adobe.VideoRenderer.framework (7.2.0 - 7.2.0.43) <8DB837B0-FFF4-3676-A08C-1FF6597EE91E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/VideoRenderer.framework/Versions/A/VideoRenderer
           0x1039fc000 -        0x103a47fff +com.adobe.AudioSupport.framework (7.2.0 - 7.2.0.43) <25DF634D-F927-313C-B3C6-8F949237DD86> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AudioSupport.framework/Versions/A/AudioSupport
           0x103a9e000 -        0x103aa2ff7 +com.adobe.MediaUtils.framework (7.2.0 - 7.2.0.43) <4B8C0A48-AEF8-31C6-A1E9-1EBD9354F32B> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/MediaUtils.framework/Versions/A/MediaUtils
           0x103aac000 -        0x103c41ff7 +com.adobe.ImporterHost.framework (7.2.0 - 7.2.0.43) <785F98EB-9554-3EFC-990F-862AD7D0511D> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ImporterHost.framework/Versions/A/ImporterHost
           0x103ded000 -        0x103edafff +com.adobe.VideoFilterHost.framework (7.2.0 - 7.2.0.43) <0B625F82-BA67-38EB-9179-455CD1D63534> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/VideoFilterHost.framework/Versions/A/VideoFilterHost
           0x103fce000 -        0x104039fff +com.adobe.TimeWarpFilter.framework (7.2.0 - 7.2.0.43) <054A97F5-4F5D-336B-ABC9-375E11D5410B> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TimeWarpFilter.framework/Versions/A/TimeWarpFilter
           0x1040a8000 -        0x104556fff +com.adobe.dvaui.framework (7.2.0 - 7.2.0.43) <ABDA8794-E7D2-3345-A224-0F729A8E5393> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvaui.framework/Versions/A/dvaui
           0x104b53000 -        0x104c14ff7 +com.adobe.dvaeve.framework (7.2.0 - 7.2.0.43) <BB3AA75E-E4C4-34BC-8371-8A4D46578CFE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvaeve.framework/Versions/A/dvaeve
           0x104d65000 -        0x104db6fff +com.adobe.MediaCoreUI.framework (7.2.0 - 7.2.0.43) <AB9644CA-15E8-373D-82A5-54CB18746DCE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/MediaCoreUI.framework/Versions/A/MediaCoreUI
           0x104e1e000 -        0x104f0efff +com.adobe.amtlib (7.0.0.249 - 7.0.0.249) <6F8D3622-9321-3947-9DD9-E8C54085F205> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/amtlib.framework/Versions/A/amtlib
           0x104f21000 -        0x104f3dff7 +com.adobe.AMEAppFoundation.framework (7.2.0 - 7.2.0.43) <28727C4E-7965-3483-B53F-89051CE92982> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AMEAppFoundation.framework/Versions/A/AMEAppFoundation
           0x104f70000 -        0x10502cff7 +com.adobe.dvaworkspace.framework (7.2.0 - 7.2.0.43) <D4F4A256-8262-33ED-85E1-AB97280525DD> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvaworkspace.framework/Versions/A/dvaworkspace
           0x10513c000 -        0x105206fff +com.adobe.exo.framework (7.2.0 - 7.2.0.43) <0A71B920-8DD6-3C0D-9161-E5CDF204C50F> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/exo.framework/Versions/A/exo
           0x105361000 -        0x10543bff7 +com.adobe.ExporterHost.framework (7.2.0 - 7.2.0.43) <6641AF95-EB25-329B-9147-D0E5DAD2584E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ExporterHost.framework/Versions/A/ExporterHost
           0x105532000 -        0x1055f8ff7 +com.adobe.AMEWrapper.framework (7.2.0 - 7.2.0.43) <C9194B6D-B4B0-307E-8D53-7ADB58475482> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AMEWrapper.framework/Versions/A/AMEWrapper
           0x1056b0000 -        0x1057d8ff7 +com.adobe.EncoderHost.framework (7.2.0 - 7.2.0.43) <98AD5864-64EC-3794-AE69-FD3F31298BAF> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/EncoderHost.framework/Versions/A/EncoderHost
           0x10590c000 -        0x10597aff7 +com.adobe.ScriptLayer.framework (7.2.0 - 7.2.0.43) <434D3736-E833-3994-877B-4ADF0BAB85E4> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ScriptLayer.framework/Versions/A/ScriptLayer
           0x1059cc000 -        0x105a77ff7 +com.adobe.AdobeScCore (ScCore 4.5.5 - 4.5.5.31475) <9376532A-D1AD-3AAF-835D-128478C235AE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeScCore.framework/Versions/A/AdobeScCore
           0x105abc000 -        0x105b7afff +com.adobe.AdobeExtendScript (ExtendScript 4.5.5 - 4.5.5.31475) <07E6488A-6586-3138-9990-5DC031349EE5> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeExtendScript.framework/Versions/A/AdobeExtendScript
           0x105bca000 -        0x105cb5ff7 +com.adobe.Batch.framework (7.2.0 - 7.2.0.43) <E2A00DC6-B583-3DA0-B773-F3685B08704E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/Batch.framework/Versions/A/Batch
           0x105e00000 -        0x105e45fff +com.adobe.dynamiclinkui.framework (7.2.0 - 7.2.0.43) <96DF5C02-4261-3DC3-AF31-18A7DECAE61E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dynamiclinkui.framework/Versions/A/dynamiclinkui
           0x105ec0000 -        0x106109fff +com.adobe.AMEFrontend.framework (7.2.0 - 7.2.0.43) <CBD82DB8-FB44-3271-83EA-2B512165B6AF> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AMEFrontend.framework/Versions/A/AMEFrontend
           0x1063d8000 -        0x1063e0fff +com.adobe.AppServices.framework (7.2.0 - 7.2.0.43) <BF52DBA1-5523-3F61-B456-0AED68A01A1D> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AppServices.framework/Versions/A/AppServices
           0x1063f1000 -        0x1065c5fff +com.adobe.SettingsUI.framework (7.2.0 - 7.2.0.43) <455ACDE7-240D-3AE1-8D07-ED6600091962> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/SettingsUI.framework/Versions/A/SettingsUI
           0x106820000 -        0x106871ff7 +com.adobe.DynamicLinkMedia.framework (7.2.0 - 7.2.0.43) <35A9DC97-3F04-3DCA-BA79-363D83E66329> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/DynamicLinkMedia.framework/Versions/A/DynamicLinkMedia
           0x106914000 -        0x106942fff +com.adobe.AMEDynamicLinkClient.framework (7.2.0 - 7.2.0.43) <1BD30D31-3D63-3CDD-B42E-F7C822D84470> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AMEDynamicLinkClient.framework/Versions/A/AMEDynamicLinkClient
           0x1069a0000 -        0x106ac8ff7 +com.adobe.dvametadataDB.framework (7.2.0 - 7.2.0.43) <7AE217D8-D1E6-3CC0-80AD-497C8E1F34BC> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvametadataDB.framework/Versions/A/dvametadataDB
           0x106b17000 -        0x106b85ff7 +com.adobe.AMEDynamicLinkServer.framework (7.2.0 - 7.2.0.43) <9EBF5187-294A-380C-943D-2D19A83CDD18> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AMEDynamicLinkServer.framework/Versions/A/AMEDynamicLinkServer
           0x106c60000 -        0x106c99ff7 +com.adobe.WatchFolder.framework (7.2.0 - 7.2.0.43) <15781BB1-32A5-39E0-9A01-4E6F530DA76A> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/WatchFolder.framework/Versions/A/WatchFolder
           0x106d00000 -        0x106d6bfff +com.adobe.QT32Client.framework (7.2.0 - 7.2.0.43) <194A379B-8930-30E4-89B0-75892000F3FE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/QT32Client.framework/Versions/A/QT32Client
           0x106e08000 -        0x106e24ff7 +com.adobe.cloudservices.framework (7.2.0 - 7.2.0.43) <BB29A2AD-B9CF-3F75-8F52-D4E7A7E06458> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/cloudservices.framework/Versions/A/cloudservices
           0x106e5c000 -        0x106e96ff7 +com.adobe.AudioFilterHost.framework (7.2.0 - 7.2.0.43) <0359DF69-240D-393F-BDC0-73C7C0AB0510> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AudioFilterHost.framework/Versions/A/AudioFilterHost
           0x106eec000 -        0x106f32ff7 +com.adobe.AudioFilters.framework (7.2.0 - 7.2.0.43) <88E19ED4-E121-3A56-A16D-4CEBE4E3A6DE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AudioFilters.framework/Versions/A/AudioFilters
           0x106f9a000 -        0x106fb0ff7 +com.adobe.ProjectSupport.framework (7.2.0 - 7.2.0.43) <D8E87977-DA44-3055-B3A5-80A3D305C585> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ProjectSupport.framework/Versions/A/ProjectSupport
           0x106fde000 -        0x107054ff7 +com.adobe.PlayerHost.framework (7.2.0 - 7.2.0.43) <73677193-B872-38E0-BC2E-456488000BC2> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/PlayerHost.framework/Versions/A/PlayerHost
           0x1070f2000 -        0x107105fff +com.adobe.ProjectConverterHost.framework (7.2.0 - 7.2.0.43) <785A573A-059A-3B34-88B6-3AF6E9BDE88A> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ProjectConverterHost.framework/Versions/A/ProjectConverterHost
           0x10712a000 -        0x107182fff +com.adobe.BravoInitializer.framework (7.2.0 - 7.2.0.43) <93224F5C-C429-32B6-8DA7-DB6DDDBFBF6F> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/BravoInitializer.framework/Versions/A/BravoInitializer
           0x1071ff000 -        0x107343fff +com.adobe.ACE (AdobeACE 2.20.02.31468 - 2.20.02.31468) <C55A913C-8009-3A56-BF49-723C61D9444D> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeACE.framework/Versions/A/AdobeACE
           0x107356000 -        0x107689fff +com.adobe.AGM (AdobeAGM 4.30.24.31468 - 4.30.24.31468) <AB76DEB5-7698-3F64-8653-3C14504101C1> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeAGM.framework/Versions/A/AdobeAGM
           0x1076f5000 -        0x107712fff +com.adobe.BIB (AdobeBIB 1.2.03.31468 - 1.2.03.31468) <A69D3AA0-9248-3B77-991B-89B2B7FE46BB> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeBIB.framework/Versions/A/AdobeBIB
           0x10771a000 -        0x107a2bfff +com.adobe.CoolType (AdobeCoolType 5.13.00.31468 - 5.13.00.31468) <47F18C1A-71E7-37B2-84C4-2EBF9B7000F3> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeCoolType.framework/Versions/A/AdobeCoolType
           0x107a73000 -        0x107ad5fff +com.adobe.FontEngine.framework (7.2.0 - 7.2.0.43) <151D355F-0983-3F02-BCFF-D6A96FFAE5FC> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/FontEngine.framework/Versions/A/FontEngine
           0x107b61000 -        0x107b7aff7 +com.adobe.TitleLayer.framework (7.2.0 - 7.2.0.43) <00FEAE93-8FCA-39AA-ACF1-AE26DD45D697> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TitleLayer.framework/Versions/A/TitleLayer
           0x107d15000 -        0x107d22fff +com.adobe.TitleImageManager.framework (7.2.0 - 7.2.0.43) <3FAAA705-FDDD-3CA4-9DA0-73C4F2B544A5> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TitleImageManager.framework/Versions/A/TitleImageManager
           0x107d3e000 -        0x107dbefff +com.adobe.TitleCharacterFactory.framework (7.2.0 - 7.2.0.43) <532E9163-50C7-3E92-B06D-B729BA692916> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TitleCharacterFactory.framework/Versions/A/TitleCharacterFacto ry
           0x107e1c000 -        0x107f02fff +com.adobe.TitleCG.framework (7.2.0 - 7.2.0.43) <DAA45332-D925-3F9F-B1C7-150FC704B287> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TitleCG.framework/Versions/A/TitleCG
           0x107f9a000 -        0x10821efff +com.adobe.TitleLayout.framework (7.2.0 - 7.2.0.43) <BE1FB48E-1EDA-368B-B00E-F449DFDDDB67> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TitleLayout.framework/Versions/A/TitleLayout
           0x1087c6000 -        0x108826fff +com.adobe.TitleRenderer.framework (7.2.0 - 7.2.0.43) <D6811995-DDFB-3F6D-8B84-A6A2DE155908> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TitleRenderer.framework/Versions/A/TitleRenderer
           0x1088bd000 -        0x1088e4ff7  com.apple.audio.CoreAudioKit (1.6.6 - 1.6.6) <9447D604-EE72-3BA7-90D8-4AFA0FC19EBB> /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
           0x108900000 -        0x108bd8fe6 +libxerces-c-3.0.dylib (0) <46020284-EEA8-7D7B-388C-BF23A318C997> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/libxerces-c-3.0.dylib
           0x108d59000 -        0x108d7dfe7 +com.mainconcept.mc.enc.dv (9.6 - 9.6.10.5101) <D1FB9329-0933-B764-78E8-949C21443FFE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/mc_enc_dv.framework/Versions/9/mc_enc_dv
           0x108d91000 -        0x108d99fff +com.adobe.dvacaptioningui.framework (7.2.0 - 7.2.0.43) <7B9F5877-13A9-3CA8-8A05-27C6460D5D1C> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvacaptioningui.framework/Versions/A/dvacaptioningui
           0x108da8000 -        0x108db6fff +com.adobe.boost_filesystem.framework (7.2.0 - 7.2.0.43) <192F5F84-4313-313C-9199-8B17AE487C66> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/boost_filesystem.framework/Versions/A/boost_filesystem
           0x108dca000 -        0x108df7fff +com.adobe.amefoundation.framework (7.2.0 - 7.2.0.43) <66992B06-8A11-39C7-B1B4-1BECD60DC044> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/amefoundation.framework/Versions/A/amefoundation
           0x108e3a000 -        0x108e68fff +com.adobe.ameproperties.framework (7.2.0 - 7.2.0.43) <B03D5C90-96E9-3650-B73C-D292B4813DA6> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ameproperties.framework/Versions/A/ameproperties
           0x108eb4000 -        0x108ed6fff +com.adobe.PostEncodeHost.framework (7.2.0 - 7.2.0.43) <BB021EC8-5589-327D-8131-21DE6C5187DD> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/PostEncodeHost.framework/Versions/A/PostEncodeHost
           0x108f07000 -        0x108f56fff +com.adobe.headlights.LogSessionFramework (2.1.2.1785) <160BF2F9-B418-31C5-866F-6FADA1B720ED> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/LogSession.framework/Versions/A/LogSession
           0x108f8c000 -        0x108f8efff +com.adobe.AdobeCrashReporter (7.0 - 7.0.1) <B68D0D42-8DEB-3F22-BD17-981AC060E9D7> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeCrashReporter.framework/Versions/A/AdobeCrashReporter
           0x108f94000 -        0x108fa7ff7 +com.adobe.ahclientframework (1.8.0.31 - 1.8.0.31) <58BB943C-98EC-3812-AAAB-74F66630D1D4> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/ahclient.framework/Versions/A/ahclient
           0x108fb1000 -        0x109095ff7 +com.adobe.dvametadataUI.framework (7.2.0 - 7.2.0.43) <FC08667B-E8E7-38B6-8CFA-D71F16E0C6BF> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvametadataUI.framework/Versions/A/dvametadataUI
           0x1091b0000 -        0x1091d6fff +com.adobe.BIBUtils (AdobeBIBUtils 1.1.01 - 1.1.01) <FA20BCA0-05BF-35ED-95B7-5775B8310D12> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AdobeBIBUtils.framework/Versions/A/AdobeBIBUtils
           0x1091de000 -        0x10921aff7 +com.adobe.dvanet.framework (7.2.0 - 7.2.0.43) <0EE40032-8462-3984-8A05-46D71B04CFED> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvanet.framework/Versions/A/dvanet
           0x109283000 -        0x109358fff +com.adobe.dvanetsync.framework (7.2.0 - 7.2.0.43) <AA810608-3C77-3C23-834D-8A0C0D4053D8> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/dvanetsync.framework/Versions/A/dvanetsync
           0x109475000 -        0x1094bdff7 +com.adobe.TransmitHost.framework (7.2.0 - 7.2.0.43) <BC282B8F-95CD-30D5-8ED2-16EA9C24BC3C> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/TransmitHost.framework/Versions/A/TransmitHost
           0x109519000 -        0x1098dbfe7 +com.adobe.GPUFoundation.framework (7.2.0 - 7.2.0.43) <901EC06E-8F67-3375-BD18-68C39C357B8E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/GPUFoundation.framework/Versions/A/GPUFoundation
           0x10b9d6000 -        0x10b9deff3  libCGCMS.A.dylib (599.7) <92AA4E85-7633-36E2-BAD0-7B1A2E48E75C> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGCMS.A.dylib
           0x10b9e9000 -        0x10b9ecffa  libCGXType.A.dylib (599.7) <2FC9C2BC-B5C5-3C27-93F9-51C6C4512E9D> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib
           0x10bb83000 -        0x10bbabffb  libRIP.A.dylib (599.7) <F1214A73-9E1C-313E-8F69-A43C9D3CBC1C> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
           0x10bbf1000 -        0x10bbf3ff7  com.apple.textencoding.unicode (2.6 - 2.6) <0EEF0283-1ACA-3147-89B4-B4E014BFEC52> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
           0x10e7f3000 -        0x10e7f7fff  com.apple.agl (3.2.3 - AGL-3.2.3) <E0ED4789-9DBC-3C88-95F7-CA79E196B4BE> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
           0x10f17d000 -        0x10f18bff7 +com.adobe.PremiereFiltersMetaPlugin.framework (7.2.0 - 7.2.0.43) <AEF35CD7-7FA4-3961-BE5F-B86326ED5853> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Plug-ins/Common/PremiereFiltersMetaPlugin.prmp/Contents/MacOS/PremiereFil tersMetaPlugin
           0x10f7e2000 -        0x10f7e9fff +com.adobe.ExporterCoreAudio.framework (7.2.0 - 7.2.0.43) <2AC7FAE1-BDA8-3E3A-BE1D-FBCCC100EE79> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Plug-ins/Common/ExporterCoreAudio.bundle/Contents/MacOS/ExporterCoreAudio
           0x110c80000 -        0x110ca0ff7 +com.adobe.VXMLPresetReader.framework (7.2.0 - 7.2.0.43) <200ACDA3-3F8C-3F9F-A691-268CF00BB38C> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/VXMLPresetReader.framework/VXMLPresetReader
           0x110cda000 -        0x110d31ff7 +com.adobe.PlayerMediaCore.framework (7.2.0 - 7.2.0.43) <2398723C-5054-39B5-A0F1-94A4217AD30B> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Plug-ins/Common/PlayerMediaCore.bundle/Contents/MacOS/PlayerMediaCore
           0x110d8f000 -        0x110dd6fff +com.adobe.DisplaySurface.framework (7.2.0 - 7.2.0.43) <8ABF5C76-B598-3384-9D1E-40F2DD0FA543> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/DisplaySurface.framework/Versions/A/DisplaySurface
           0x110e31000 -        0x110e5ffff +com.adobe.RendererCPU.framework (7.2.0 - 7.2.0.43) <2B68167E-4FDF-32C7-99AA-6AC637C37078> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/RendererCPU.framework/Versions/A/RendererCPU
           0x110e97000 -        0x110ea7ff7 +com.adobe.TransitionsMetaPlugin.framework (7.2.0 - 7.2.0.43) <09C74FEB-095E-31CE-B4F7-CE1F6386446D> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Plug-ins/Common/TransitionsMetaPlugin.prmp/Contents/MacOS/TransitionsMeta Plugin
           0x1136fc000 -        0x113848ff7 +com.adobe.RendererGPU.framework (7.2.0 - 7.2.0.43) <87A72CC6-5BD1-3BE1-B56C-118F4F3FD9E7> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/RendererGPU.framework/Versions/A/RendererGPU
           0x113d78000 -        0x113d90fff +com.adobe.QTParser.framework (7.2.0 - 7.2.0.43) <A80EC333-045D-341A-984A-B34AF13BACAC> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/QTParser.framework/Versions/A/QTParser
           0x113f83000 -        0x113f92ff7 +com.adobe.AudioConverter.framework (7.2.0 - 7.2.0.43) <D9CE797C-4E3A-386B-95EA-E83F009C771A> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/AudioConverter.framework/Versions/A/AudioConverter
           0x114800000 -        0x114845fff +com.adobe.ExporterQuickTimeHost.framework (7.2.0 - 7.2.0.43) <447EB3FF-C767-3FB5-8BCF-0A2284B27A07> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Plug-ins/Common/ExporterQuickTimeHost.bundle/Contents/MacOS/ExporterQuick TimeHost
           0x114884000 -        0x11489cff7 +com.adobe.QTWriter.framework (7.2.0 - 7.2.0.43) <95E54103-8529-32DD-89E7-F790BBE1889B> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/QTWriter.framework/Versions/A/QTWriter
           0x1148c8000 -        0x11493cfff +com.mainconcept.mc.dec.mp2v (9.6 - 9.6.10.5101) <39711A15-8462-6545-B9B1-1C0561FDAC9E> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/mc_dec_mp2v.framework/Versions/9/mc_dec_mp2v
           0x11493f000 -        0x114a9afdf +com.mainconcept.mc.bc.dec.avc (9.6 - 9.6.10.5100) <E7FD017A-BD78-D6D1-89FC-FFC4B693BB32> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/mc_bc_dec_avc.framework/Versions/9/mc_bc_dec_avc
           0x114c40000 -        0x114f60ff7 +com.adobe.CodecSupport.framework (7.2.0 - 7.2.0.43) <22C3F600-F955-3282-9B6F-CC8EF645FB76> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/CodecSupport.framework/Versions/A/CodecSupport
           0x1150c7000 -        0x115176fff +com.mainconcept.mc.dec.mp4v (9.6 - 9.6.10.5101) <B3F486D1-16A1-6F49-1B6E-343A781C92FE> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/mc_dec_mp4v.framework/Versions/9/mc_dec_mp4v
           0x11517f000 -        0x1151d6ff7 +com.adobe.ImporterQuickTime.framework (7.2.0 - 7.2.0.43) <33288894-D45C-3F0D-87F5-9468F0CA7A13> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Plug-ins/Common/ImporterQuickTime.bundle/Contents/MacOS/ImporterQuickTime
           0x115221000 -        0x1152cafff +com.adobe.IPPMPEGDecoder.framework (7.2.0 - 7.2.0.43) <69E6D21F-2153-305A-8748-6CC7FDF93367> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/IPPMPEGDecoder.framework/Versions/A/IPPMPEGDecoder
           0x115307000 -        0x1154d8fff  com.apple.audio.units.Components (1.9 - 1.9) <E2400FD9-F4A7-33BC-8BDD-4C7E8C56E09E> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio
           0x115582000 -        0x115778fff  com.apple.audio.codecs.Components (4.0 - 4.0) <1BC3612F-C217-3260-873C-7646A6623B7D> /System/Library/Components/AudioCodecs.component/Contents/MacOS/AudioCodecs
           0x1158e9000 -        0x1158fbfff  libTraditionalChineseConverter.dylib (61) <A182514D-426F-3D5F-BA69-4C4A4680ECB8> /System/Library/CoreServices/Encodings/libTraditionalChineseConverter.dylib
           0x115a13000 -        0x115a22fff  libSimplifiedChineseConverter.dylib (61) <F5827491-A4E3-3471-A540-8D1FE241FD99> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
           0x115c36000 -        0x115c52fff  libJapaneseConverter.dylib (61) <94EF6A2F-F596-3638-A3DC-CF03567D9427> /System/Library/CoreServices/Encodings/libJapaneseConverter.dylib
           0x115c98000 -        0x115d07ff7 +com.adobe.adobe_caps (adobe_caps 7.0.0.21 - 7.0.0.21) <CE3C6356-9EE2-3B88-8261-8612A0743F56> /Applications/Adobe Media Encoder CC/Adobe Media Encoder CC.app/Contents/Frameworks/adobe_caps.framework/adobe_caps
           0x116e77000 -        0x116e98ff7  libKoreanConverter.dylib (61) <22EEBBDB-A2F2-3985-B9C7-53BFE2B02D08> /System/Library/CoreServices/Encodings/libKoreanConverter.dylib
        0x123400000000 -     0x123400464ff7  com.apple.driver.AppleIntelHD5000GraphicsGLDriver (8.20.29 - 8.2.0) <B514E20C-1F3A-36F9-ACF5-171484C8ED8D> /System/Library/Extensions/AppleIntelHD5000GraphicsGLDriver.bundle/Contents/MacOS/AppleIn telHD5000GraphicsGLDriver
        0x7fff62525000 -     0x7fff62558817  dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
        0x7fff873a1000 -     0x7fff873a6fff  com.apple.DiskArbitration (2.6 - 2.6) <AE84088D-C061-304C-B205-C9F56ECD23C7> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
        0x7fff873e7000 -     0x7fff873f3ff3  com.apple.AppleFSCompression (56 - 1.0) <1EBCFC91-734D-338B-8796-4B93BDC53014> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompress ion
        0x7fff87401000 -     0x7fff874f0fff  libFontParser.dylib (111.1) <835A8253-6AB9-3AAB-9CBF-171440DEC486> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libFontParser.dylib
        0x7fff874f3000 -     0x7fff874fafff  com.apple.NetFS (6.0 - 4.0) <D4FE0F16-3085-34AF-B860-3D46B98FAD2A> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
        0x7fff875bf000 -     0x7fff875c3fff  libsystem_stats.dylib (93.50.1) <EBC4B8DB-7C2B-35DE-B865-34FE11AF3B1B> /usr/lib/system/libsystem_stats.dylib
        0x7fff875c7000 -     0x7fff8813bff7  com.apple.AppKit (6.9 - 1265) <70472D45-5B9E-36BE-8EA3-007E69AC2169> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
        0x7fff88142000 -     0x7fff88189ff7  libcups.2.dylib (372) <963E64F4-4318-3DFE-A59D-D74B3E857188> /usr/lib/libcups.2.dylib
        0x7fff8818a000 -     0x7fff881a4fff  libdispatch.dylib (339.1.9) <D133504D-CD45-33B1-A331-AAE02D9C0CB2> /usr/lib/system/libdispatch.dylib
        0x7fff881a5000 -     0x7fff88225fff  com.apple.CoreSymbolication (3.0 - 141) <37087FDB-874D-3FE2-9874-B047CC9BE910> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolicatio n
        0x7fff88300000 -     0x7fff88325ff7  com.apple.CoreVideo (1.8 - 117.2) <FE12553A-9B5A-337E-92BD-EA8A8194C91A> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
        0x7fff88423000 -     0x7fff884acff7  libsystem_c.dylib (997.1.1) <01F576D9-9718-3D99-A8EA-ACFD6CBBB51E> /usr/lib/system/libsystem_c.dylib
        0x7fff884ad000 -     0x7fff88508ffb  com.apple.AE (665.5 - 665.5) <3558CC9A-FD30-3DAD-AB40-FE6828E76FE1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Vers ions/A/AE
        0x7fff8852c000 -     0x7fff88536ff7  com.apple.CrashReporterSupport (10.9 - 538) <E4DA588F-C75A-39F6-9D2B-7B79F0245D39> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporter Support
        0x7fff88537000 -     0x7fff88560fff  com.apple.DictionaryServices (1.2 - 208) <A4E4EA9E-08A1-3F77-8B57-A5A1ADD70B52> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryService s.framework/Versions/A/DictionaryServices
        0x7fff885ff000 -     0x7fff8864dfff  com.apple.opencl (2.3.58 - 2.3.58) <D557EA35-12EA-304F-9B88-AEACA827A201> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
        0x7fff8864e000 -     0x7fff8864efff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) <F8D0CC77-98AC-3B58-9FE6-0C25421827B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/vecLib
        0x7fff88d27000 -     0x7fff89108ffe  libLAPACK.dylib (1094.5) <7E7A9B8D-1638-3914-BAE0-663B69865986> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libLAPACK.dylib
        0x7fff8913b000 -     0x7fff89409ff4  com.apple.CoreImage (9.0.54) <4D5D752E-A762-3EE5-9511-B956D0C945A2> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework /Versions/A/CoreImage
        0x7fff89b7b000 -     0x7fff89c5ffff  com.apple.coreui (2.1 - 231) <A7942BEE-E6BA-3A68-8EA0-57A8A9066B2D> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
        0x7fff89c60000 -     0x7fff89c87ff7  libsystem_network.dylib (241.3) <A499D688-9165-3776-8C8E-C018897B5B13> /usr/lib/system/libsystem_network.dylib
        0x7fff89c88000 -     0x7fff89d76fff  libJP2.dylib (1038) <1DC18933-53D6-335A-AA84-0366C9ACDFD8> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
        0x7fff89dbf000 -     0x7fff89dd1ff7  com.apple.MultitouchSupport.framework (245.13 - 245.13) <D5E7416D-45AB-3690-86C6-CC4B5FCEA2D2> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSuppor t
        0x7fff89e13000 -     0x7fff89e2bff7  com.apple.openscripting (1.4 - 157) <B3B037D7-1019-31E6-9D17-08E699AF3701> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework /Versions/A/OpenScripting
        0x7fff89e77000 -     0x7fff8a2aaffb  com.apple.vision.FaceCore (3.0.0 - 3.0.0) <30FD8146-D6EB-3588-A7E5-ADC3110B3DCC> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
        0x7fff8a2b5000 -     0x7fff8a2b6ff7  com.apple.print.framework.Print (9.0 - 260) <C4C40E2E-6130-3D73-B1EF-97FF3F70CF2C> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Version s/A/Print
        0x7fff8a2e2000 -     0x7fff8a2e6fff  libpam.2.dylib (20) <A63D4DA2-06A4-3FB8-AC3F-BDD69694EE5E> /usr/lib/libpam.2.dylib
        0x7fff8a2ee000 -     0x7fff8a300fff  com.apple.ImageCapture (9.0 - 9.0) <D9269440-8E56-3C03-88F5-F8AD662D17DB> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/ Versions/A/ImageCapture
        0x7fff8a301000 -     0x7fff8a378fff  com.apple.CoreServices.OSServices (600.4 - 600.4) <80E7B419-A0D5-373B-B2B5-88E6A8CD3AE6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framew ork/Versions/A/OSServices
        0x7fff8a379000 -     0x7fff8a3bbff7  libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
        0x7fff8a3bc000 -     0x7fff8a40afff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
        0x7fff8a460000 -     0x7fff8a478ff7  com.apple.GenerationalStorage (2.0 - 160.2) <DC0236CC-A0F7-31DA-A201-09D4319BE96E> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalSt orage
        0x7fff8a479000 -     0x7fff8a47aff7  libsystem_sandbox.dylib (278.10) <273400C7-F4E2-393C-BC9A-9042490ACED0> /usr/lib/system/libsystem_sandbox.dylib
        0x7fff8a47b000 -     0x7fff8a47fff7  libcache.dylib (62) <8C1EFC4F-3F51-3DE9-A973-360B461F3D65> /usr/lib/system/libcache.dylib
        0x7fff8a480000 -     0x7fff8a483ffc  com.apple.IOSurface (91 - 91) <812F4D48-6FD4-3DCB-8691-B077EBF981D7> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
        0x7fff8a4b3000 -     0x7fff8a4f1ff7  libGLImage.dylib (9.3.1) <B256429B-16DA-380C-907C-FDEA06DE8BA8> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries

    Well, I absolutely DID make sure that the permissions were set to Read and Write for the Adobe folder in the Preferences folder of the Library. 
    I did this on a system level.  On a whim I changed the sharing & permissions for staff and everyone. At this point I am sure you can guess that it worked after.  AME launched just fine and I was able to quickly import and export into AME stand alone, as well as have it launch from Premiere and export from there.  Thanks to Dima Tikhonov for making me go back and take another look at that.
    So… problem solved.  I meant to immediately get on the forum to say what happened for the fix, but I was so excited to get everything working on my new computer I dove head first into sorting through five hours of footage I shot yesterday morning.
    THANKS Adobe Forum!
    JET

  • Improper decoding of base64 encoded attachment on Exchange 2007 SP1

    I'm using Exchange 2007 SP1. My java application sends email to users of exchange 2007 SP1. The email contains an email as an attachment which is base64 encoded . This email when sent to users on exchange 2007 SP1 shows blank attachment. The same email when sent to users on different exchange (e.g. Exchange 2003) shows the correct attachment i.e. the attachments are not blank. While sending the mail i'm setting name of the attachment in Content-Type header but it is not there when we look at the rfc contents of the mail received on ex 2007 SP1.  It seems exchange 2007 is not able to decode the base 64 contents properly. Below are the rfc contents of the mail which show few headers in the attachment part instead of the base64 content. Please suggest some solution to it. It's urgent.
    Received: from test80.psjpr.com (192.168.0.243) by exchange01.psjpr.com
     (192.168.0.138) with Microsoft SMTP Server id 8.1.263.0; Fri, 11 Apr 2008
     18:53:12 +0530
    From: Admin <[email protected]>
    To: test test1 <[email protected]>
    Date: Fri, 11 Apr 2008 18:53:12 +0530
    Subject: Retrieved from : testingggggg
    Thread-Topic: Retrieved from : testingggggg
    Thread-Index: Acib1zFeboxSL6S4RuaeI0AaCou0pQ==
    Message-ID: <[email protected]>
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Exchange-Organization-AuthAs: Anonymous
    X-MS-Exchange-Organization-AuthSource: exchange01.psjpr.com
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator:
    Content-Type: multipart/mixed;
     boundary="_002_9c2e5956bc9b49efbbc61a358f61698bexchange01psjprcom_"
    MIME-Version: 1.0
    --_002_9c2e5956bc9b49efbbc61a358f61698bexchange01psjprcom_
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    The message you requested is attached.
    --_002_9c2e5956bc9b49efbbc61a358f61698bexchange01psjprcom_
    Content-Type: message/rfc822
    Subject:
    Thread-Index: Acib1zFexS+KMQAOSD+lcMut076Wyg==
    Accept-Language: en-US
    X-MS-Has-Attach:
    X-MS-TNEF-Correlator:
    Content-Type: text/plain; charset="us-ascii"
    Content-Transfer-Encoding: quoted-printable
    MIME-Version: 1.0
    --_002_9c2e5956bc9b49efbbc61a358f61698bexchange01psjprcom_--

    Did you ever this to work ?

  • Base64 encoded attachments misunderstood by recipients

    My boss uses Mail.app, and a number of people have reported that they can never open her attachments. When I look at the files they receive from her, they appear to be base64 encoded, and indeed decoding them makes them perfectly readable. Unfortunately, I don't think any of the built-in apps in OS X can do this decoding. Also, not all of the recipients use Macs.
    At first I thought that the issue might be that she was not using the 'Windows friendly attachments'. However, I tried sending a message from another coworker's computer without selecting that option, and it worked fine. I then discovered that the problem is that if she drags her attachments into the message rather than selecting them via 'add attachment', they don't work. Basically, if the attachment is inline rather than at the end of the message.
    I still thought that using 'Windows friendly attachments' would fix the problem, so on another Mac I tried setting Mail.app to always send Windows Friendly attachments (To do this, just open Mail.app, make sure you aren't composing an e-mail, and then under Edit > Attachments, select 'Always send Windows Friendly attachments'). However, this didn't work, either.
    So, I think that the solution is just to tell her either to use the 'Add Attachment' button or to drag the file to the end of the message.
    It's a shame that inline attachments don't work for so many e-mail clients (notably Gmail). I don't think that this is an Apple innovation... is it?
    I hope that helps someone,
    Greg

    Did you ever this to work ?

  • Problem with base64 encoding an xml file with accented characters

    Oracle 10.2.0.1.0 Enterprise Edition running under windows 2003 server
    DB Characterset UTF-8
    I have a routine which takes an xml file and base64 encodes it, and the base64encoded text is stored in a clob column of a table.
    The xml file is stored in UTF-8 format.
    The routine works correctly, except when there are accented characters.
    I am using dbms_lob.loadclobfrom file to load the file.
    DBMS_LOB.OPEN(src_clob, DBMS_LOB.LOB_READONLY);
        DBMS_LOB.LoadCLOBFromFile(
              DEST_LOB     => dest_clob
            , SRC_BFILE    => src_clob
            , AMOUNT       => DBMS_LOB.GETLENGTH(src_clob)
            , DEST_OFFSET  => dst_offset
            , SRC_OFFSET   => src_offset
            , BFILE_CSID   =>dbms_lob.default_csid
            , LANG_CONTEXT => lang_ctx
            , WARNING      => warning
        DBMS_LOB.CLOSE(src_clob);base 64 encoded xml with accented character -- incorrect
    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxncDpBcHBs
    aWNhdGlvblByb2ZpbGUgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAx
    L1hNTFNjaGVtYS1pbnN0YW5jZSINCiAgICB4c2k6c2NoZW1hTG9jYXRpb249Imh0
    dHA6Ly9uYW1lc3BhY2VzLmdsb2JhbHBsYXRmb3JtLm9yZy9zeXN0ZW1zLXByb2Zp
    bGVzLzEuMS4wIGh0dHA6Ly9uYW1lc3BhY2VzLmdsb2JhbHBsYXRmb3JtLm9yZy9z
    eXN0ZW1zLXByb2ZpbGVzLzEuMS4wL0dQLnN5c3RlbXMucHJvZmlsZXMuMS4xLjAu
    QXBwbGljYXRpb25Qcm9maWxlLnhzZCINCiAgICB4bWxuczpncD0iaHR0cDovL25h
    bWVzcGFjZXMuZ2xvYmFscGxhdGZvcm0ub3JnL3N5c3RlbXMtcHJvZmlsZXMvMS4x
    LjAiDQogICAgVW5pcXVlSUQ9Ik1FIiBQcm9maWxlVmVyc2lvbj0iMS4xLjAiIEVy
    cmF0YVZlcnNpb249IjAiPg0KICAgIDxncDpEZXNjcmlwdGlvbj5Gb3J1bSBUZXN0
    PC9ncDpEZXNjcmlwdGlvbj4NCiAgICA8Z3A6RGF0YUVsZW1lbnQgTmFtZT0iw6Fj
    Y2VudCIgRXh0ZXJuYWw9InRydWUiIFR5cGU9IkJ5dGVTdHJpbmciIEVuY29kaW5n
    PSJIRVgiIEZpeGVkTGVuZ3RoPSJmYWxzZSIgTGVuZ3RoPSIxNiIgUmVhZFdyaXRl
    PSJ0cnVlIiBVcGRhdGU9InRydWUiIE9wdGlvbmFsPSJ0cnVlIiAvPiAgICANCjwv
    Z3A6QXBwbGljYXRpb25Qcm9maWxlPg0Kbase 64 encoded xml without accented character -- correct
    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxncDpBcHBs
    aWNhdGlvblByb2ZpbGUgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAx
    L1hNTFNjaGVtYS1pbnN0YW5jZSINCiAgICB4c2k6c2NoZW1hTG9jYXRpb249Imh0
    dHA6Ly9uYW1lc3BhY2VzLmdsb2JhbHBsYXRmb3JtLm9yZy9zeXN0ZW1zLXByb2Zp
    bGVzLzEuMS4wIGh0dHA6Ly9uYW1lc3BhY2VzLmdsb2JhbHBsYXRmb3JtLm9yZy9z
    eXN0ZW1zLXByb2ZpbGVzLzEuMS4wL0dQLnN5c3RlbXMucHJvZmlsZXMuMS4xLjAu
    QXBwbGljYXRpb25Qcm9maWxlLnhzZCINCiAgICB4bWxuczpncD0iaHR0cDovL25h
    bWVzcGFjZXMuZ2xvYmFscGxhdGZvcm0ub3JnL3N5c3RlbXMtcHJvZmlsZXMvMS4x
    LjAiDQogICAgVW5pcXVlSUQ9Ik1FIiBQcm9maWxlVmVyc2lvbj0iMS4xLjAiIEVy
    cmF0YVZlcnNpb249IjAiPg0KICAgIDxncDpEZXNjcmlwdGlvbj5Gb3J1bSBUZXN0
    PC9ncDpEZXNjcmlwdGlvbj4NCiAgICA8Z3A6RGF0YUVsZW1lbnQgTmFtZT0iYWNj
    ZW50IiBFeHRlcm5hbD0idHJ1ZSIgVHlwZT0iQnl0ZVN0cmluZyIgRW5jb2Rpbmc9
    IkhFWCIgRml4ZWRMZW5ndGg9ImZhbHNlIiBMZW5ndGg9IjE2IiBSZWFkV3JpdGU9
    InRydWUiIFVwZGF0ZT0idHJ1ZSIgT3B0aW9uYWw9InRydWUiIC8+ICAgIA0KPC9n
    cDpBcHBsaWNhdGlvblByb2ZpbGU+DQo=the xml file in use is
    <?xml version="1.0" encoding="UTF-8"?>
    <gp:ApplicationProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://namespaces.globalplatform.org/systems-profiles/1.1.0 http://namespaces.globalplatform.org/systems-profiles/1.1.0/GP.systems.profiles.1.1.0.ApplicationProfile.xsd"
        xmlns:gp="http://namespaces.globalplatform.org/systems-profiles/1.1.0"
        UniqueID="ME" ProfileVersion="1.1.0" ErrataVersion="0">
        <gp:Description>Forum Test</gp:Description>
        <gp:DataElement Name="áccent" External="true" Type="ByteString" Encoding="HEX" FixedLength="false" Length="16" ReadWrite="true" Update="true" Optional="true" />   
    </gp:ApplicationProfile>The file is being loaded from a windows xp professional 32 bit system.
    If I just convert the xml text of the file using
    select utl_raw.cast_to_varchar2(
    utl_encode.base64_encode(
    utl_raw.cast_to_raw(
    '<?xml version="1.0" encoding="UTF-8"?>
    <gp:ApplicationProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://namespaces.globalplatform.org/systems-profiles/1.1.0 http://namespaces.globalplatform.org/systems-profiles/1.1.0/GP.systems.profiles.1.1.0.ApplicationProfile.xsd"
        xmlns:gp="http://namespaces.globalplatform.org/systems-profiles/1.1.0"
        UniqueID="ME" ProfileVersion="1.1.0" ErrataVersion="0">
        <gp:Description>Forum Test</gp:Description>
        <gp:DataElement Name="áccent" External="true" Type="ByteString" Encoding="HEX" FixedLength="false" Length="16" ReadWrite="true" Update="true" Optional="true" />   
    </gp:applicationprofile>'
    ))) from dual;I get the following
    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGdwOkFwcGxp
    Y2F0aW9uUHJvZmlsZSB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEv
    WE1MU2NoZW1hLWluc3RhbmNlIgogICAgeHNpOnNjaGVtYUxvY2F0aW9uPSJodHRw
    Oi8vbmFtZXNwYWNlcy5nbG9iYWxwbGF0Zm9ybS5vcmcvc3lzdGVtcy1wcm9maWxl
    cy8xLjEuMCBodHRwOi8vbmFtZXNwYWNlcy5nbG9iYWxwbGF0Zm9ybS5vcmcvc3lz
    dGVtcy1wcm9maWxlcy8xLjEuMC9HUC5zeXN0ZW1zLnByb2ZpbGVzLjEuMS4wLkFw
    cGxpY2F0aW9uUHJvZmlsZS54c2QiCiAgICB4bWxuczpncD0iaHR0cDovL25hbWVz
    cGFjZXMuZ2xvYmFscGxhdGZvcm0ub3JnL3N5c3RlbXMtcHJvZmlsZXMvMS4xLjAi
    CiAgICBVbmlxdWVJRD0iTUUiIFByb2ZpbGVWZXJzaW9uPSIxLjEuMCIgRXJyYXRh
    VmVyc2lvbj0iMCI+CiAgICA8Z3A6RGVzY3JpcHRpb24+Rm9ydW0gVGVzdDwvZ3A6
    RGVzY3JpcHRpb24+CiAgICA8Z3A6RGF0YUVsZW1lbnQgTmFtZT0iw6FjY2VudCIg
    RXh0ZXJuYWw9InRydWUiIFR5cGU9IkJ5dGVTdHJpbmciIEVuY29kaW5nPSJIRVgi
    IEZpeGVkTGVuZ3RoPSJmYWxzZSIgTGVuZ3RoPSIxNiIgUmVhZFdyaXRlPSJ0cnVl
    IiBVcGRhdGU9InRydWUiIE9wdGlvbmFsPSJ0cnVlIiAvPiAgICAKPC9ncDphcHBs
    aWNhdGlvbnByb2ZpbGU+Edited by: Keith Jamieson on Jul 13, 2012 9:59 AM
    added code tag for last base64 encoded object

    Not sure if utl_i18n is already there in version prior to 11.2.0.2.
    But on above mentioned version I can do the simplified method
    SQL> SELECT utl_i18n.raw_to_char (
             utl_encode.base64_encode (
               xmltype (
                 '<?xml version="1.0" encoding="UTF-8"?>
    <gp:ApplicationProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://namespaces.globalplatform.org/systems-profiles/1.1.0 http://namespaces.globalplatform.org/systems-profiles/1.1.0/GP.systems.profiles.1.1.0.ApplicationProfile.xsd"
        xmlns:gp="http://namespaces.globalplatform.org/systems-profiles/1.1.0"
        UniqueID="ME" ProfileVersion="1.1.0" ErrataVersion="0">
        <gp:Description>Forum Test</gp:Description>
        <gp:DataElement Name="áccent" External="true" Type="ByteString" Encoding="HEX" FixedLength="false" Length="16" ReadWrite="true" Update="true" Optional="true" />   
    </gp:ApplicationProfile>').getblobval (
                 NLS_CHARSET_ID ('utf8'))),
             'utf8')
             x
      FROM DUAL
    X                                                                                                                                                    
    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPGdwOkFwcGxp                                                                                     
    Y2F0aW9uUHJvZmlsZSB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEv                                                                                     
    WE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6c2NoZW1hTG9jYXRpb249Imh0dHA6Ly9u                                                                                     
    YW1lc3BhY2VzLmdsb2JhbHBsYXRmb3JtLm9yZy9zeXN0ZW1zLXByb2ZpbGVzLzEu                                                                                     
    MS4wIGh0dHA6Ly9uYW1lc3BhY2VzLmdsb2JhbHBsYXRmb3JtLm9yZy9zeXN0ZW1z                                                                                     
    LXByb2ZpbGVzLzEuMS4wL0dQLnN5c3RlbXMucHJvZmlsZXMuMS4xLjAuQXBwbGlj                                                                                     
    YXRpb25Qcm9maWxlLnhzZCIgeG1sbnM6Z3A9Imh0dHA6Ly9uYW1lc3BhY2VzLmds                                                                                     
    b2JhbHBsYXRmb3JtLm9yZy9zeXN0ZW1zLXByb2ZpbGVzLzEuMS4wIiBVbmlxdWVJ                                                                                     
    RD0iTUUiIFByb2ZpbGVWZXJzaW9uPSIxLjEuMCIgRXJyYXRhVmVyc2lvbj0iMCI+                                                                                     
    CiAgPGdwOkRlc2NyaXB0aW9uPkZvcnVtIFRlc3Q8L2dwOkRlc2NyaXB0aW9uPgog                                                                                     
    IDxncDpEYXRhRWxlbWVudCBOYW1lPSLDoWNjZW50IiBFeHRlcm5hbD0idHJ1ZSIg                                                                                     
    VHlwZT0iQnl0ZVN0cmluZyIgRW5jb2Rpbmc9IkhFWCIgRml4ZWRMZW5ndGg9ImZh                                                                                     
    bHNlIiBMZW5ndGg9IjE2IiBSZWFkV3JpdGU9InRydWUiIFVwZGF0ZT0idHJ1ZSIg                                                                                     
    T3B0aW9uYWw9InRydWUiLz4KPC9ncDpBcHBsaWNhdGlvblByb2ZpbGU+Cg==                                                                                         
    1 row selected.which encodes and decodes properly on my system even with accented characters.

  • Get canvas.toDataURL('image/jpeg') and convert base64 encoding to java.sql.Blob

    Convert canvas.toDataURL('image/jpeg') to java.sql.Blob.
    I am using oracle adf so I am able to action a backing bean from javascript and pass in parameters as a map. I pass in the canvas.toDataURL('image/jpeg') which I then try to decode in my bean. Using BASE64Decoder and the converting the bytearray to a file I can see the image is corrupted as I can't open the file thus converting the bytearray to blob is also a waste.
    Has anyone any ideas on base64 encoding from canvas.toDataURL to file or Blob?

    Use Case:
    A jsf page that enables a user to take photos using the HTML5 canvas feature - interact with webcam -, take photos and upload to profile
    1. I have created the jsf page with the javascript below; this pops up as a dialog and works okay and onclick an upload image, triggers the snapImage javascript function below and sends the imgURL parameter to the serverside managedbean
    <!-- java script-->
    function snapImage(event){
                    var canvas = AdfPage.PAGE.findComponent('canvas');
                    AdfCustomEvent.queue(event.getSource(),"getCamImage",{imgURL:canvas.toDataURL('image/jpeg'),true);
                    event.cancel();
    <!-- bean -->
    public void getCamImage(ClientEvent ce){
    String url=(String)ce.getAttributes().get("imgURL");
    decodeBase64URLToBlob(url);
    private BlobDomain decodeBaseB4URLToBlob(String url64){
                    BASE64Decoder de=new BASE64Decoder();
                    byte[] bytes=de.decode(url64);
                    File file=new File("abc.jpg");
                    InputStream in = new ByteArrayInputStream(bytes);
                    BufferedImage bImageFromConvert = ImageIO.read(in);
                    in.close();
                    ImageIO.write(bImageFromConvert, "jpg", file);
                    return createBlobDomainFromFile(file);
    ----problem---
    Accessing the generated jpeg file shows the image is corrupted, probably missing bytes or encode/decoder issues.and the blob image after uploading to database is saved as a binary stream which ondownload doesnt render as an image or anything i know of.
    Is there anyways of achieving the conversion without errors?

  • Support on 'Base64 encoding in XML gateway Web service SOAP content'

    Hi Experts,
    IHAC who's requirement is as follows:
    They are currently using Web service protocol to send order information from Oracle Applications to their trading partner.
    But need to encode the payload in base64 encoding in the SOAP request.
    Further details:
    =====================================================================
    Current SOAP request is,
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bac="http://backend.ws.gtas.gridnode.com">
    <soapenv:Header/>
    <soapenv:Body>
    <bac:backendImport4>
    <bac:username>?</bac:username>
    <bac:password>?</bac:password>
    <bac:recipient>?</bac:recipient>
    <bac:contentFileName>?</bac:contentFileName>
    <bac:content>
    <EMPLOYEE>
    <EMPLOYEE_DATA>
    <EMAIL_ADDRESS/>
    <EMPLOYEE_ID>81</EMPLOYEE_ID>
    <EMPLOYEE_NUM>2</EMPLOYEE_NUM>
    <FIRST_NAME/>
    <FULL_NAME>Eddi.S,</FULL_NAME>
    <LAST_NAME>Eddi.S</LAST_NAME>
    <MIDDLE_NAME/>
    </EMPLOYEE_DATA>
    </EMPLOYEE>
    </bac:content>
    <bac:docType>?</bac:docType>
    </bac:backendImport4>
    </soapenv:Body>
    </soapenv:Envelope>
    Required SOAP request with base64 encoding is:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:bac="http://backend.ws.gtas.gridnode.com">
    <soapenv:Header/>
    <soapenv:Body>
    <bac:backendImport4>
    <bac:username>?</bac:username>
    <bac:password>?</bac:password>
    <bac:recipient>?</bac:recipient>
    <bac:contentFileName>?</bac:contentFileName>
    <bac:content>
    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9J25vJz8+DQo8IURPQ1RZUEUgRU1QTE9ZRUU+DQo8IS0tIE9yYWNsZSBlWHRlbnNpYmxlIE1hcmt1cCBMYW5ndWFnZSBHYXRld2F5IFNlcnZlciAgLS0+DQo8RU1QTE9ZRUU+DQogIDxFTVBMT1lFRV9EQVRBPg0KICAgIDxFTUFJTF9BRERSRVNTLz4NCiAgICA8RU1QTE9ZRUVfSUQ+ODE8L0VNUExPWUVFX0lEPg0KICAgIDxFTVBMT1lFRV9OVU0+MjwvRU1QTE9ZRUVfTlVNPg0KICAgIDxGSVJTVF9OQU1FLz4NCiAgICA8RlVMTF9OQU1FPkVkZGkuUyw8L0ZVTExfTkFNRT4NCiAgICA8TEFTVF9OQU1FPkVkZGkuUzwvTEFTVF9OQU1FPg0KICAgIDxNSURETEVfTkFNRS8+DQogIDwvRU1QTE9ZRUVfREFUQT4NCjwvRU1QTE9ZRUU+DQo=
    </bac:content>
    <bac:docType>?</bac:docType>
    </bac:backendImport4>
    </soapenv:Body>
    </soapenv:Envelope>
    The issue in question is the content within the element <bac:content>.
    Base64 encoding of the payload
    <EMPLOYEE>
    <EMPLOYEE_DATA>
    <EMAIL_ADDRESS/>
    <EMPLOYEE_ID>81</EMPLOYEE_ID>
    <EMPLOYEE_NUM>2</EMPLOYEE_NUM>
    <FIRST_NAME/>
    <FULL_NAME>Eddi.S,</FULL_NAME>
    <LAST_NAME>Eddi.S</LAST_NAME>
    <MIDDLE_NAME/>
    </EMPLOYEE_DATA>
    </EMPLOYEE>
    is
    PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9J25vJz8+DQo8IURPQ1RZUEUgRU1QTE9ZRUU+DQo8IS0tIE9yYWNsZSBlWHRlbnNpYmxlIE1hcmt1cCBMYW5ndWFnZSBHYXRld2F5IFNlcnZlciAgLS0+DQo8RU1QTE9ZRUU+DQogIDxFTVBMT1lFRV9EQVRBPg0KICAgIDxFTUFJTF9BRERSRVNTLz4NCiAgICA8RU1QTE9ZRUVfSUQ+ODE8L0VNUExPWUVFX0lEPg0KICAgIDxFTVBMT1lFRV9OVU0+MjwvRU1QTE9ZRUVfTlVNPg0KICAgIDxGSVJTVF9OQU1FLz4NCiAgICA8RlVMTF9OQU1FPkVkZGkuUyw8L0ZVTExfTkFNRT4NCiAgICA8TEFTVF9OQU1FPkVkZGkuUzwvTEFTVF9OQU1FPg0KICAgIDxNSURETEVfTkFNRS8+DQogIDwvRU1QTE9ZRUVfREFUQT4NCjwvRU1QTE9ZRUU+DQo=
    ========================================================================
    Is there a way in XML gateway to encode the payload automatically to base64 encoding so that it can accommodate the unicode
    Is there any way to encode the order information from EBS tables to base64 format in the outbound SOAP request ? Is this supported . If yes, how.?
    Does this involve customization. Is it possible to use encoder/decoder provided in sites such as XSL on top of XML : http://gandhimukul.tripod.com/xslt/base64-xslt.html
    Basically, They are trying to use XML Gateway to send and receive messages to a Trading Partner via SOAP. The issues is
    1. Outbound: The TP web service can only receive xml content that is encoded in base 64 binary format. How do we configure to encode content using base64
    2. Inbound: They want to receive messages using the SOAP architecture into XML gateway.
    Please let us know if you have any detailed configuration document for this purpose. Please advise and share relevant details.
    regards,
    Ajith

    Hi Gurvinder,
    Thanks for looking into this. Just to clarify again.
    example XML content:
    <?xml version="1.0" encoding="UTF-8" standalone='no'?>
    <!DOCTYPE EMPLOYEE>
    <!-- Oracle eXtensible Markup Language Gateway Server -->
    <EMPLOYEE>
    <EMPLOYEE_DATA>
    <EMAIL_ADDRESS/>
    <EMPLOYEE_ID>81</EMPLOYEE_ID>
    <EMPLOYEE_NUM>2</EMPLOYEE_NUM>
    <FIRST_NAME/>
    <FULL_NAME>Eddi.S,</FULL_NAME>
    <LAST_NAME>Eddi.S</LAST_NAME>
    <MIDDLE_NAME/>
    </EMPLOYEE_DATA>
    </EMPLOYEE>
    Sample Soap message that needs to be sent to our service provider is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
    - <soapenv:Body>
    - <ns5:backendImport5 xmlns:ns5="http://backend.ws.gtas.gridnode.com">
    <ns5:username>admin</ns5:username>
    <ns5:password>admin1</ns5:password>
    <ns5:recipient>GT424</ns5:recipient>
    <ns5:contentFileName>cabotTest.xml</ns5:contentFileName>
    <ns5:content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9J25vJz8+DQo8IURPQ1RZUEUgRU1QTE9ZRUU+DQo8IS0tIE9yYWNsZSBlWHRlbnNpYmxlIE1hcmt1cCBMYW5ndWFnZSBHYXRld2F5IFNlcnZlciAgLS0+DQo8RU1QTE9ZRUU+DQogIDxFTVBMT1lFRV9EQVRBPg0KICAgIDxFTUFJTF9BRERSRVNTLz4NCiAgICA8RU1QTE9ZRUVfSUQ+ODE8L0VNUExPWUVFX0lEPg0KICAgIDxFTVBMT1lFRV9OVU0+MjwvRU1QTE9ZRUVfTlVNPg0KICAgIDxGSVJTVF9OQU1FLz4NCiAgICA8RlVMTF9OQU1FPkVkZGkuUyw8L0ZVTExfTkFNRT4NCiAgICA8TEFTVF9OQU1FPkVkZGkuUzwvTEFTVF9OQU1FPg0KICAgIDxNSURETEVfTkFNRS8+DQogIDwvRU1QTE9ZRUVfREFUQT4NCjwvRU1QTE9ZRUU+DQo=</ns5:content>
    <ns5:docType>3C3RN</ns5:docType>
    </ns5:backendImport5>
    </soapenv:Body>
    </soapenv:Envelope>
    . The xml content provided need to be encoded as base 64 encoding. The following is the equivalent of above xml content.
    <ns5:content>PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9J25vJz8+DQo8IURPQ1RZUEUgRU1QTE9ZRUU+DQo8IS0tIE9yYWNsZSBlWHRlbnNpYmxlIE1hcmt1cCBMYW5ndWFnZSBHYXRld2F5IFNlcnZlciAgLS0+DQo8RU1QTE9ZRUU+DQogIDxFTVBMT1lFRV9EQVRBPg0KICAgIDxFTUFJTF9BRERSRVNTLz4NCiAgICA8RU1QTE9ZRUVfSUQ+ODE8L0VNUExPWUVFX0lEPg0KICAgIDxFTVBMT1lFRV9OVU0+MjwvRU1QTE9ZRUVfTlVNPg0KICAgIDxGSVJTVF9OQU1FLz4NCiAgICA8RlVMTF9OQU1FPkVkZGkuUyw8L0ZVTExfTkFNRT4NCiAgICA8TEFTVF9OQU1FPkVkZGkuUzwvTEFTVF9OQU1FPg0KICAgIDxNSURETEVfTkFNRS8+DQogIDwvRU1QTE9ZRUVfREFUQT4NCjwvRU1QTE9ZRUU+DQo=</ns5:content>
    See that the content is encoded using the base64 format.
    Please help us to know how we can configure XML gateway to achieve this.
    Regards,
    Ajith

  • Base 64 Encode/Decode

    I consider sending clear text problematic when the data ends
    up as XML information. Converting the text Strings to Base 64
    between PHP and Flex 2 (or anything else and Flex 2) eliminates
    issues with character text like <> and &'s. I've done a
    lot of XMLRPC coding and always sent text data values that are Base
    64 format. The built in Flex 2 Base 64 functions make this easier.
    On the PHP side, you can use
    $b64StringVal = base64_encode ( $stringData );
    $stringData = base64_decode ( $b64StringVal );
    to convert.
    If you are using Java at th back end, look at:
    http://iharder.sourceforge.net/current/java/base64/
    Definitions in the CDATA area:
    import mx.utils.Base64Encoder;
    import mx.utils.Base64Decoder;
    import flash.utils.ByteArray;
    public function encodeB64(target:String) : String
    var be:Base64Encoder = new Base64Encoder();
    be.encode(target);
    var encodedData:String = be.flush();
    return encodedData;
    public function decodeB64(target:String) : String
    var bd:Base64Decoder = new Base64Decoder();
    bd.decode(target);
    var decodedData:ByteArray = bd.drain();
    return decodedData.toString();
    [Bindable] public var myData:String = new String();
    private function loginResult(evt:ResultEvent):void {
    var b64MyData:String = evt.result.MyData;
    myData=decodeB64(b64MyData);
    In the mxml area:
    <mx:HTTPService id="loginPage" url="
    http://localhost/xxx.php"
    useProxy="false" method="POST" />
    <mx:Model id="loginModel1">
    <root>
    <loginModel>"loginModel1"</loginModel>
    <username>{encodeB64(username.text)}</username>
    <password>{encodeB64(password.text)}</password>
    </root>
    </mx:Model>

    Hello jlmoller,
    Have you ever had an issue where the encoding / decoding
    process ended up prepending the string with extra characters?
    This is happening to me
    Erik

  • Illegal character in Base64 encoded data

    Hi,
    I'm trying to get a print out the public key as a String, which I am getting it in as a base64 encoded, but I get error:
    Exception in thread "main" java.lang.IllegalArgumentException: Illegal character in Base64 encoded data.
    Code below:
    public static void main(String[] args) {
              File pubKeyFile = new File("C:\\usercert.pem");
              StringBuffer buffer = new StringBuffer();
                   try {
                        FileInputStream fis = new FileInputStream(pubKeyFile);
                        try {
                             InputStreamReader isr = new InputStreamReader(fis, "UTF8");
                             Reader in = new BufferedReader(isr);
                             int ch;
                             while((ch = in.read()) > -1) {
                                  buffer.append((char)ch);
                             in.close();
                             String key = buffer.toString();
                             System.out.println("key is: " + key);
                                          //This is where the code fails:
                             String keyDecode = Base64.decodeString(key);
                             System.out.println("key ecode is: " + keyDecode);
                        } catch (UnsupportedEncodingException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                        } catch (IOException e) {
                             // TODO Auto-generated catch block
                             e.printStackTrace();
                        }

    Hi ejp,
    It's a rsa public, the usercert.pem looks like below,
    so since it's not an x509 certificate not sure if I
    can read it using a
    java.security.cert.CertificateFactory?
    Basically I just want to print the public and private
    key out as a String. Any help is appreciated.
    -----BEGIN PUBLIC KEY-----
    MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCg8yo6rDhsNiwUfV
    R37HgF4bWq
    oG13Nd9XLT+Z0VLzCkWJZOdzGNQnnm7ujoQ8gbxeDvIo9RG5I3eZte
    BwD91Nf6P/
    E9lvJQDL2Qnz4EXH/CVW9DeEfvY1UJN9kc6q6KkYEPWssvVvlDOp2s
    lbEKZCJtaP
    vVuGCAqfaps8J0FjOQIDAQAB
    -----END PUBLIC KEY-----
    import java.security.KeyFactory;
    import java.security.interfaces.RSAPublicKey;
    import java.security.spec.X509EncodedKeySpec;
    import sun.misc.BASE64Decoder;
    public class MakeRSAPublicKeyFromPEM
        public static void main(String[] args) throws Exception
            final String publickeyAsString =
                    "-----BEGIN PUBLIC KEY-----\n"+
                    "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCg8yo6rDhsNiwUfVR37HgF4bWq\n"+
                    "oG13Nd9XLT+Z0VLzCkWJZOdzGNQnnm7ujoQ8gbxeDvIo9RG5I3eZteBwD91Nf6P/\n"+
                    "E9lvJQDL2Qnz4EXH/CVW9DeEfvY1UJN9kc6q6KkYEPWssvVvlDOp2slbEKZCJtaP\n"+
                    "vVuGCAqfaps8J0FjOQIDAQAB\n"+
                    "-----END PUBLIC KEY-----\n";
            final BASE64Decoder decoder = new BASE64Decoder();
            final byte[] publicKeyAsBytes = decoder.decodeBuffer(publickeyAsString.replaceAll("-+.*?-+",""));
            final X509EncodedKeySpec publicKeySpec = new X509EncodedKeySpec(publicKeyAsBytes);
            final KeyFactory keyFactory = KeyFactory.getInstance("RSA");
            final RSAPublicKey publicKey = (RSAPublicKey)keyFactory.generatePublic(publicKeySpec);
            System.out.println("Modulus ........... " + publicKey.getModulus());
            System.out.println("Public exponent ... " + publicKey.getPublicExponent());
    }

  • Issue: Characters / encode /decode & Solution

    Hey guys,
    Few issues on this, I think we will need an encode/decode filter.
    I guess this is related to how if you read a cookie in liquid it converts characters like a comma into its entity (This isn not fixed yet).
    Example:
    <meta property="og:description" content="{{description | strip_html | truncate:200,'...' }}">
    The resulting markup is:
    <meta property="og:description" content="Seven advisers within National Australia Bank's (NAB) salaried advice business, NAB Financial Planning (NAB FP), have transitioned to the bank&rsquo;s newly-launched self-employed model.
    As first ...">
    You can see it has stripped out the html markup but has encoded a ' with it's entity. I can see in some cases this is good but in other cases this is bad. You can also see that <br/> while stripped are treated as new lines instead.
    Liquid itself for these reasons have:
    escape - escape a string
    escape_once - returns an escaped version of html without affecting existing escaped entities
    strip_html - strip html from string
    strip_newlines - strip all newlines (\n) from string
    newline_to_br - replace each newline (\n) with html break
    You only have strip_html but not the other filters. I think if you implemented these then we can address these issues.

    Hi Liam,
    The encoding problem cannot be reproduced. Even in your example, some of the quotes are outputted correctly while a single one not. Can you edit the source of the content and try to re-enter the character from the editor, just to eliminate a possible copy / paste issue from word with a weird character encoding?
    On the new line issue, it seems to happen on some scenarios. For example:
    {{" <div>Seven advisers within National Australia Bank's (NAB) salaried advice business, NAB Financial Planning (NAB FP), have transitioned to the bank's newly-launched's self-employed <br /> model. at first's</div>" | strip_html }} - does not reproduce the problem
    <meta property="og:description" content="{{" <div>Seven advisers within National Australia Bank's (NAB) salaried advice business, NAB Financial Planning (NAB FP), have transitioned to the bank's newly-launched's self-employed <br /> model. at first's</div>" | strip_html }}”> - does reproduce the problem
    Cristinel

  • Base64 encode

    Hi,
    We have to provide a conversion of blobs to base64 in order to exchange data with
    a 3th party. I wrote the following function which is used to format an xml-message.
    Problem is the supplier reads this data with a .net decode of base64 complains it's invalid and it
    sees some lines with more than 76 characters which seems to be not correct.
    Any ideas what is wrong are greatly appreciated.
    9.2.0.4 HPUX11.11
    Tnx,
    Jeroen
    Function getbase64String( lv_blob blob )
    Return clob is
    Result clob;
    resultString VARCHAR2(4096);
    resultString1 clob;
    l_amt number default 2048;
    l_raw raw(4096);
    l_offset number default 1;
    l_clob clob;
    BEGIN
    dbms_output.put_line('length blob: ' || dbms_lob.getlength( lv_blob ) );
    begin
    DBMS_LOB.CREATETEMPORARY(resultString1,FALSE,DBMS_LOB.CALL);
    DBMS_LOB.CREATETEMPORARY(result,FALSE,DBMS_LOB.CALL);
    loop
    dbms_lob.read( lv_blob, l_amt, l_offset, l_raw );
    l_offset := l_offset + l_amt;
    -- dbms_output.put_line(' voor resultstring');
    resultString := utl_raw.cast_to_varchar2( utl_encode.base64_encode( l_raw ) );
    -- dbms_output.put_line(' na resultsstring');
    resultString1:=to_clob(resultString);
    dbms_lob.append(result,resultString1);
    end loop;
    exception
    when no_data_found then
    null;
    end;
    -- dbms_output.put_line('length:'||dbms_lob.getlength(result));
    RETURN ( result );
    END getbase64String;

    Yep, thats what I told you.
    I have modified your code slightly.
    This definitely produces your output.
    Note that you were not using an oracle_directory for p_dir.
    You should have said create or replace directory p_dir as 'your_location';
    Instead you had p_dir varchar2(200) := 'your location';
    The problem with the use of utl_file.put is you have to output a byte at a time. You were trying to output an entire clob, which is why it fell over.
    Note: I also removed your exception handler as this just masks where the error is.
    DECLARE
    p_file varchar2(100):= 'test_img.png';
    p_clob CLOB;
    l_bfile BFILE;
    l_step PLS_INTEGER := 19200;
    dest_file varchar2(100):='test_image.html';
    dest_handle UTL_FILE.file_type;
    v_start number := 1;
    BEGIN
    dbms_output.put_line('Encoding starts');
    l_bfile := BFILENAME('BFILE_DIR', p_file);
    dbms_output.put_line('File is going to open');
    DBMS_LOB.fileopen(l_bfile, DBMS_LOB.file_readonly);
    dest_handle := UTL_FILE.fopen('BFILE_DIR', dest_file, 'w', 32767);
    FOR i IN 0 .. TRUNC((DBMS_LOB.getlength(l_bfile) - 1 )/l_step) LOOP
    dbms_output.put_line('Inside encodeing :'||i);
    p_clob := p_clob||UTL_RAW.cast_to_varchar2(UTL_ENCODE.base64_encode(DBMS_LOB.substr(l_bfile, l_step, i * l_step + 1)));
    END LOOP;
    dbms_output.put_line('Base64 encoded');
    p_clob:= '<img src="data:image/png;base64,'||p_clob||'" width="32" height="32">';
    dbms_output.put_line('Assignment completed');
    for i in 1 .. dbms_lob.getlength(p_clob)
    loop
    UTL_FILE.put(dest_handle, dbms_lob.substr(p_clob,1,v_start));
    v_start := v_start+1;
    end loop;
    DBMS_LOB.fileclose(l_bfile);
    UTL_FILE.fclose(dest_handle);
    end;
    /

  • Need to Base64 encode a String but How?

    Hi everone:
    I have to Base64 encode and decode a String, but I haven't found any method or API to do it. Does anybody know where to find it? Some ideas about how to?
    Thank you all.
    Jose.

    Hi everone:
    I have to Base64 encode and decode a String, but I
    haven't found any method or API to do it. Does anybodyOh, one thing struck me, why do you need to Base64 encode character data? Normally Base64 is used to encode binary data. If you can represent the bytes as a UTF-8 encoded String, and all components can handle UTF-8, then you should be fine without Base64.
    know where to find it? Some ideas about how to?
    Thank you all.
    Jose.

  • Smartform : PDF to Base64 encoding

    Hi .
    I am new to ABAP & Smartform.I have a requirement to convert smartform PDF to Base 64.I've tried the methods provided in the related SDN threads.But while decoding , junk characters are coming.Please find my code below :
    Convert SF output to PDF format
    *convert the smartform to .pdf file
          DATA : I_DOC TYPE TABLE OF DOCS,
                       WA_DOC TYPE DOCS,
                       L_PDF_STRING TYPE XSTRING.
          I_OTFDATA[] = ST_JOB_OUTPUT_INFO-OTFDATA[].
          CALL FUNCTION 'CONVERT_OTF'
            EXPORTING
              FORMAT                = 'PDF'
              MAX_LINEWIDTH         = 132
            IMPORTING
              BIN_FILESIZE          = V_BIN_FILESIZE
              BIN_FILE              = L_PDF_STRING
            TABLES
              OTF                   = I_OTFDATA
              LINES                 = I_LINES.
    Convert Table i_bin to base64 encoding
      DATA : I_BASE64  TYPE STANDARD TABLE OF SOLISTI1,
             WA_BASE64 TYPE SOLISTI1,
             WA_LINES  TYPE TLINE.
      DATA: LV_OUTPUT(255) TYPE C,
            LV_INPUT(132) TYPE C,
            LV_X(255) TYPE X,
            LV_I TYPE I.
      DATA: CONV TYPE REF TO CL_ABAP_CONV_OUT_CE.
      LOOP AT I_LINES INTO WA_LINES.
        LV_INPUT = WA_LINES-TDLINE.
        LV_I = STRLEN( LV_INPUT ).
       CONDENSE lv_input.
        IF LV_I > 0.
          TRY.
              CALL METHOD CL_ABAP_CONV_OUT_CE=>CREATE
                EXPORTING
                  ENCODING    = 'UTF-8'
                  ENDIAN      = 'L'
                  replacement = '#'
                  ignore_cerr = ABAP_FALSE
                RECEIVING
                  CONV        = CONV .
            CATCH CX_PARAMETER_INVALID_RANGE .
            CATCH CX_SY_CODEPAGE_CONVERTER_INIT .
          ENDTRY.
                  CALL METHOD CONV->WRITE
                EXPORTING
                  N      = LV_I
                  DATA   = LV_INPUT
                view   =
              IMPORTING
                len    =
              LV_X = CONV->GET_BUFFER( ).
          CALL FUNCTION 'HTTP_BASE64_ENCODE'
            EXPORTING
              INPUT        = LV_X
              INPUT_LENGTH = LV_I
            IMPORTING
              OUTPUT       = LV_OUTPUT.
        Append to Table
          WA_BASE64-LINE = LV_OUTPUT.
          APPEND WA_BASE64 TO I_BASE64.
          CLEAR : LV_OUTPUT, LV_X, LV_I, WA_BASE64, WA_LINES.
        ENDIF.
      ENDLOOP.
    Thanks,
    Jayita Ganguly

    Hi,
    Jayita2011 wrote:
    LV_X = WA_PDF-TDLINE.
    As WA_PDF-TDLINE is type C, and LV_X is type X, it does a conversion BUT it is not what you expect: LV_X = 'RMjlùIOJM%8RUZ3T', it will set LV_X = all zeroes as 'RM...' does not start with an hexadecimal string (and so base 64 would return AAAAAA). See the ABAP doc for more info.
    Moreover, base 64 encoding must be done with the whole byte stream (more precisely you must not split it outside chunks of 3 bytes, as this encoding converts 3 bytes into 4 characters, converting 2 bytes makes no sense for example, except at the end of the stream).
    I advise you to use CL_HTTP_UTILITY=>ENCODE_BASE64 which converts a string which is casted as bytes. Before, you must concatenate the lines into a string, either using CONCATENATE LINES OF lt_char INTO l_target RESPECTING BLANKS, or SWA_STRING_FROM_TABLE (keep_trailing_spaces='X') depending on your release. Don't forget to shorten the string at exactly the number of representative characters (LV_I in your example).
    BR
    Sandra

  • Converting Base64 encoded String to String object

    Hi,
    Description:
    I have a Base64 encoded string and I am using this API for it,
    [ http://ws.apache.org/axis/java/apiDocs/org/apache/axis/encoding/Base64.html]
    I am simply trying to convert it to a String object.
    Problem:
    When I try and write the String, ( which is xml ) as a XMLType to a oracle 9i database I am getting a "Cannot map Unicode to Oracle character." The root problem is because of the conversion of the base64 encoded string to a String object. I noticed that some weird square characters show up at the start of the string after i convert it. It seems like I am not properly converting to a String object. If i change the value of the variable on the fly and delete these little characters at the start, I don't get the uni code error. Just looking for a second thought on this.
    Code: Converting Base64 Encoded String to String object
    public String decodeToString( String base64String )
        byte[] decodedByteArray = Base64.decode( base64String );
        String decodedString = new String( decodedByteArray, "UTF-8");
    }Any suggestions?

    To answer bigdaddy's question and clairfy a bit more:
    Constraints:
    1. Using a integrated 3rd party software that expects a Base64 encoded String and sends back a encoded base64 String.
    2. Using JSF
    3. Oracle 10g database and storing in a XMLType column.
    Steps in process.
    1. I submit my base64 encoded String to this 3rd party software.
    2. The tool takes the encoded string and renders a output that works correctly. The XML can be modified dynamically using this tool.
    3. I have a button that is binded to my jsf backing bean. When that button is clicked, the 3rd party tool sets a backing bean string value with the Base64 String representing the updated XML.
    4. On the backend in my jsf backing bean, i attempt to decode it to string value to store in the oracle database as a XML type. Upon converting the byte[] array to a String, i get this conversion issue.
    Possibly what is happen is that the tool is sending me a different encoding that is not UTF-8. I thought maybe there was a better way of doing the decoding that i wasn't looking at. I will proceed down that path and look at the possibility that the tool is sending back a different encoding then what it should. I was just looking for input on doing the byte[] decoding.
    Thanks for the input though.
    Edited by: haju on Apr 9, 2009 8:41 AM

Maybe you are looking for

  • Events in a shared library

    I am sharing my library over my home network, and wondering if I can view the photos by events while I view them. Currently all 12000 + of my photos show up with no events structure and are in one large group when viewing them on the second computer

  • Display Description for a field in a screen

    Hi Gurus, I have created a screen which has 2 fields, Material no and Material description.My requirement is that, If I select the material description, the corresponding material should display. But I can't select from the F4 help of material descri

  • Migration monitor in TDMS shell creation

    Hi, I am working on a TDMS shell creation for ECC system, I have few question.. 1) Is it mandatory to run migration monitor manually while in both exporting and importing database with R3load option in tdms shell creation or only while running R3load

  • Split due to different header data - Customer purchase order number

    Dear Friends, I have combined two sales orders into one delivery and while generating the invoice for that delivery ...its splitting into two Invoices...and the split analysis shows the Different PO no causing the split....how can I inactivate this .

  • More iPod madness

    Since the IOS upgrade, the iPad app periodically becomes "out of sync". For example, I'll tap "Big Me" by Foo Fighters and "Big Me" will show in the Now Playing, but a completely different cover art appears AND an entirely different song starts playi