Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8319921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T22:28:48+00:00 2026-06-08T22:28:48+00:00

this is the same problem i am facing reference it works fine in chrome,firefox

  • 0

this is the same problem i am facing reference

it works fine in chrome,firefox but not in IE…the error is ” IE (‘Exception thrown and not caught’. Line 95, Char 25′)”

from the reference i came to know that the error is in object writer.write

java code:(is it malformed): can anyone debug the error in this

writer.write("{\"name\":\"" + item.getName()
+ "\",\"type\":\"" + item.getContentType()
+ "\",\"size\":\"" + item.getSize()
+ "\",\"filepath\":\"" + tp2 + "\"}");

js:

        $(function () {
        var initFileUpload = function (suffix) {

            $('#file_upload').fileUploadUI({
                namespace: 'file_upload_' + suffix,
                fileInputFilter: '#file_' + suffix,
                dropZone: $('#drop_zone_' + suffix),
                uploadTable: $('#files_' + suffix),
                downloadTable: $('.display-frame'),
                buildUploadRow: function (files, index) {
                    return $('<tr><td>' + files[index].name

                    + '<td class="file_upload_cancel">' + '<button class="ui-state-default ui-corner-all" title="Cancel">' + '<span class="ui-icon ui-icon-cancel">Cancel<\/span>' + '<\/button><\/td><\/tr>');
                },
                buildDownloadRow: function (file) {
                    //  return $('<tr><td>' + file.name +   file.filepath +'<\/td><\/tr>');     
                    var path = '<div class="picthumb" id="pic" url="' + file.filepath + '" onclick="clickpick(this)"><div class="mainpic"><img src="';
                    path += file.filepath + '" class="uploader-thumb-img" style="width: 108px; height: 120px; top: 0px; left: 0px; "/></div></div>';
                    return $(path);
                }
            });
        };
        initFileUpload(1);

    });

the error IE showing is callback()

 if (typeof callBack === func) {
       try {
                            callBack();
           } catch (e) {
                            // Fix endless exception loop:
                            $(this).stop();
                            throw e;
                       }
           }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T22:28:50+00:00Added an answer on June 8, 2026 at 10:28 pm

    the problem was with writer object for some reason item.getname was filename.jpg in chrome
    and c:/images/filename.jpg in IE so i removed item.getname which was not needed

    writer.write("{\",\"type\":\"" + item.getContentType() + "\",\"size\":\"" + item.getSize() + "\",\"filepath\":\"" + tp2 + "\"}");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having the same problem as this post but the answer does not
i am also facing same problem .. by doing this background music stop but
I have read the other threads regarding this same problem but I still don't
I 've got the same problem like in this question: SSL Error on Port
I'm facing the same problem as explain in this post . In my case,
Seems like just yesterday I had this same problem with Play! v1. After trying
I'm running in to the same problem this individual has . Specifically, I'm trying
This is pretty much the same problem i have, except with very different code:
I'm having the same problem as this question . I tried installing the libcairo
I have basically the same problem outlined in this question, however I am using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.