Print Failling Thread II

We're having a similar problem as in the Print and Export failing thread from Sept. 17th. When users try to print a report, the report creation popup window stays open and never actually finishes the report. My computer is the only one that I've found so far where this doesn't happen. However, if I log in to Pilotworks on another computer, I have the same problem. That seems to indicate a pc-specific setting somewhere is causing the trouble, but I don't know what.
Everyone, including myself, gets a series of errors trying to capture a screenshot of a report for an operational review. On my pc the first error is:
An error has occurred in the script on this page.
Line: 118
Char: 2
Code: 0
Error 'undefined' is null or not an object.
URL: http://srvch-app2:50000/strategy/pilotworks/reports_pmc.htm
On everyone one else's it's:
Line: 117
Char: 2
Code: 0
Error 'undefined' is null or not an object.
URL: http://srvch-app2:50000/strategy/pilotworks/pilotworks.js
In both cases, if you keep choosing to continue running scripts you get the following errors:
Line: 188
Char: 13
Code: 0
Error 'PrintArray' is undefined
URL: http://srvch-app2:50000/strategy/pilotworks/reports_pmc.htm
Line: 130
Char: 3
Code: 0
Error 'document.form1.ORName' is null or not an object.
URL: http://srvch-app2:50000/strategy/pilotworks/reports_pmc.htm
Line: 184
Char: 1
Code: 0
Error Object doesn't support this property or method
URL: http://srvch-app2:50000/strategy/pilotworks/reports_pmc.htm
I'm still trying to determine how many users are affected, but everyone I've talked to so far has this problem, so it seems widespread. It doesn't seem to be related to Adobe because it's failed on versions, 7, 8, and 9. Any ideas?

Yeah, we had problems with the Active X level in the past, and I had changed it on several computers, including my own. The difference then was that an error messange was displayed that specifically said to check the Active X settings. Right now I only have scriptlets disabled and everything else is enabled or prompted. I'll check on some of the users with the report printing problem, but I know for some of them I changed the Active X settings because they were unable to print strategies and it fixed that, but they still can't print a report.
Thanks for your help Bob!
- Crispin

Similar Messages

  • Workflow to print forum threads

    Hi everyone,
    Is there a workflow i could set up to print forum threads (either hard copies or PDF)?
    I'd like to navigate to a page (say http://discussions.apple.com/forum.jspa?forumID=936&start=0 ), have Automator navigate to the threads on the current page, and print the threads to a PDF doc.
    I know that sounds a bit ambitious... but is it possible?
    15" MacBook Pro 2.16 Core Duo, 1GB RAM, 256 VRAM   Mac OS X (10.4.8)  

    Nathan,
    Yes this is possible.
    Here is the start of the workflow:
    1) Get Specified URLs - if you go to the website of interest in Safari then you can easily add this by hitting the Current Safari page button
    2) Get Link URLs from Webpages
    3) View Results - This is not necessary but nice as it will show you that you have picked up all of the URLs to the individual forum threads
    4) Display Webpages
    Then you have to decide whether you want to print as a webpage or create a pdf.
    The webpages could be printed using a Run AppleScript action which tells Safari to print each page.
    A pdf could be generated by manipulating the print dialog in Safari through the "Save as PDF" command of the PDF button at bottom of dialog or installing a Virtual printer like CUPS-PDF.

  • Is there an app to convert text messages to email in order to print a thread?

    I need to be able to print my text message thread.   Is there an app that will convert my texts to emails?

    txtot is finnally avaliable for download again
    here's the direct link
    or simply visit txtot.com
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.
    <Edited by Host>

  • LR3 won't print to my printer with postscript driver

    System config below. Can print to USB attached Epson R1800 no problem. Can print to network attached HP2840 with the PCL drivers (though it comes out in black and white not colour). Can not print to HP2840 using Postscript drivers through either its USB or network port. Process monitor shows print engine thread consuming 1 CPU for each print job launched. Cancelling the print job in LR3 does NOT kill the print engine thread (!), leaving LR3 consuming 50% of my total CPU resource when I've tried to launch 2 print jobs. This worked fine under LR2.7 and all previous. No changes to printer drivers / config since LR3 upgrade.
    Anybody with any suggestions and or experience (good or bad) with other postscript printing would be appreciated.
    cheers
    Rod
    Quad core 3.4GHx, 8GB 1066Mhz RAM, System on SSD. Catalogue on (huge and fast) workstation RAID. nVidia GTX8800. Dual screen

    Sigh...
    Rebooted several times still same problem.
    Installed latest Windows updates and rebooted, printing now works.
    ...I am sceptical that it was the windows updates, and something about one of the reboots I suspect just cleaned a cache somewhere or allowed a clean LR3 load without some memory glitch.... I suspect I will never know....
    computers - dont'cha just love 'em?
    cheers
    Rod

  • How to Print next Page in smartform ?

    Hello ,
    I want to print next page in smartform.
    The situation is :-
    I am passing an internal table containing list of personal numbers.
    I have to print their details . Every candidate's detail should be printed on a new page .
    I have designed the whole form , but I am not print their details on a New Page.
    Please guide.
    Thanks in Advance.

    Hi, Nikita.
    Please Have a Look the following Link
    [MODERATOR MESSAGE: SapScript/Smartform questions go in FORM PRINTING forum|/thread/1360534 [original link is broken];
    So, Please Post Questions Regarding SapScript and Smartform in FORM PRINTING.
    1. First of all you need to set a Flag at the end of every Personal Number.
    2. Than Right Click on the object Like Main Window
    --> Create --> Flow Logic --> Command
    3. From First Tab of Command General Attributes Check the Check Box Go to New Page and Select Your Page
    4. In the Conditions Tab Give you Flag Condition.
    Hope will help you to solve out your problem,
    Please Reply if any Issue,
    Best Regards,
    Faisal

  • What's wrong with my multi-threaded Matrix Mult. code? 1 thread is fastest

    For some reason, 1 thread performs the best. What's wrong with my implementation?
    import java.util.Random;
    import java.util.Date;
    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    public class Matrix {     
         private int values[][];
         private int rows;
         private int columns;
         public Matrix(int r, int c) {
              this.rows = r;
              this.columns = c;
              this.values = new int[r][c];
         private void randomize() {
              Random generator = new Random();
              for (int r = 0; r < this.rows; r++) {
                   for (int c = 0; c < this.columns; c++) {
                        this.values[r][c] = generator.nextInt(10);
         public String toString() {
              String out = "";
              for (int r = 0; r < this.rows; r++) {
                   for (int c = 0; c < this.columns; c++) {
                        if (c == 0) out += "[";
                        else out += "\t";
                        out += this.values[r][c];
                   out += "]\n";
              return out;
         public boolean equals(Object obj) {
              Matrix other = (Matrix) obj;
              if (this.columns != other.columns || this.rows != other.rows)  {
                   return false;
              for (int r = 0; r < this.rows; r++) {
                   for (int c = 0; c < this.columns; c++) {
                        if (this.values[r][c] != other.values[r][c]) {
                             return false;
              return true;
         // matrix multiplication using single thread
         public Matrix times(Matrix other) {
              assert(this.columns == other.rows);
              Matrix out = new Matrix(this.rows, other.columns);
              for (int r = 0; r < this.rows; r++) {
                   for (int c = 0; c < other.columns; c++) {
                        int dotProduct = 0;
                        for (int z = 0; z < this.columns; z++) {
                             dotProduct += this.values[r][z] * other.values[z][c];
                        out.values[r][c] = dotProduct;
              return out;
         // matrix multiplication with many threads
         public Matrix ptimes(Matrix other, int numberOfThreads) throws InterruptedException { // parallel
              assert(this.columns == other.rows);
              Matrix out = new Matrix(this.rows, other.columns);
              ExecutorService threadExecutor = Executors.newFixedThreadPool(numberOfThreads);
              for (int r = 0; r < this.rows; r++) {
                   for (int c = 0; c < other.columns; c++) {
                        threadExecutor.execute(new HelperThread(r, c, this, other, out));
              threadExecutor.shutdown();
              threadExecutor.awaitTermination(2, TimeUnit.DAYS);
              return out;
         private class HelperThread implements Runnable {
              private int row;
              private int col;
              private Matrix a;
              private Matrix b;
              private Matrix out;
              HelperThread(int r, int c, Matrix a, Matrix b, Matrix o) {
                   this.row = r;
                   this.col = c;
                   this.a = a;
                   this.b = b;
                   this.out = o;
              public void run() {
                   int dotProduct = 0;
                   for (int z = 0; z < a.columns; z++) {
                        dotProduct += this.a.values[row][z] * this.b.values[z][col];
                   this.out.values[row][col] = dotProduct;
         public static void main(String[] args) throws InterruptedException {
              int size = 100;
              Matrix a = new Matrix(size, size);
              a.randomize();     
              Matrix b = new Matrix(size, size);
              b.randomize();
              for (int t = 1; t < 15; t++) {
                   long start = new Date().getTime();
                   System.out.print(t + " threads: ");
                   Matrix c = a.ptimes(b, t);
                   //System.out.println(c);
                   long finish = new Date().getTime();
                   System.out.println((finish - start) + " milliseconds");
                   Matrix d = a.times(b);
                   assert(c.equals(d));
    }

    This one is even faster. On my dual core I get:
    Warmup
    Single Threaded
    5.20616 milliseconds
    5.52872 milliseconds
    5.12708 milliseconds
    5.59048 milliseconds
    5.16104 milliseconds
    5.1838 milliseconds
    5.37104 milliseconds
    5.1788 milliseconds
    5.18636 milliseconds
    5.15736 milliseconds
    Multi Threaded with 2 threads
    3.22184 milliseconds
    2.86552 milliseconds
    2.86284 milliseconds
    3.67032 milliseconds
    3.08032 milliseconds
    2.97388 milliseconds
    2.93084 milliseconds
    3.44012 milliseconds
    2.89744 milliseconds
    2.88136 milliseconds
    As you can see the Multi-Threaded versions are now faster.
        // matrix multiplication with many threads
        ExecutorService threadExecutor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors());
        public Matrix ptimes(Matrix other) throws InterruptedException, ExecutionException {
            assert (this.columns == other.rows);
            Matrix out = new Matrix(this.rows, other.columns);
            Future futures[] = new Future[rows];
            for (int r = 0; r < this.rows; r++) {
                futures[r] = threadExecutor.submit(new HelperThread(r, this, other, out));
            for(Future f : futures) {
                f.get();
            return out;
        private class HelperThread implements Callable<Object> {
            private int row;
            private Matrix a;
            private Matrix b;
            private Matrix out;
            HelperThread(int r, Matrix a, Matrix b, Matrix o) {
                this.row = r;
                this.a = a;
                this.b = b;
                this.out = o;
            public String call() throws Exception {
                int dotProduct = 0;
                for (int c = 0; c < b.columns; c++) {
                    for (int z = 0; z < a.columns; z++) {
                        dotProduct += this.a.values[row][z] * this.b.values[z][c];
                    this.out.values[row][c] = dotProduct;
                return null;
        public static void main(String[] args) throws InterruptedException, ExecutionException {
            int size = 100;
            Matrix a = new Matrix(size, size);
            a.randomize();
            Matrix b = new Matrix(size, size);
            b.randomize();
            System.out.println("Warmup");
            for (int t = 0; t < 1000; t++) {
                Matrix c = a.ptimes(b);
                Matrix d = a.times(b);
                assert (c.equals(d));
            System.out.println("Single Threaded");
            for (int t = 0; t < 10; t++) {
                long start = System.nanoTime();
                Matrix d = a.times(b);
                long finish = System.nanoTime();
                System.out.println((finish - start)/1000000.0 + " milliseconds");
            System.out.println("Multi Threaded with " + Runtime.getRuntime().availableProcessors() + " threads");
            for (int t = 0; t < 10; t++) {
                long start = System.nanoTime();
                Matrix c = a.ptimes(b);
                long finish = System.nanoTime();
                System.out.println((finish - start)/1000000.0 + " milliseconds");
                Matrix d = a.times(b);
                assert (c.equals(d));
            System.exit(0);
        }

  • Weblogic JMS EJB : ThreadLocal access query : getting null in same thread

    We have two applications(one is jms and other is ejb) on single instance of weblogic managed server.
    On receving a new jms message the jms application call the ejb application by passing the new xml message.
    ejb application creates a threadlocal object and allocated transaction id to this transaction. I want to access this transactionid(present in threadlocal) in my jms application. But i am getting null.
    I believe i am in the same thread as i printing the thread number in the both the application log. I verified that same thread number was present for multiple messages
    in both logs [Except if one scenario of thread pooling is present that when jms calls ejb it frees the thread(23) and when ejb completes its job if gives back the thread(23) to jms...but it resets thread local]
    I need answer to following question
    1. Why is my transaction id null when i access through jms application.
    2. I believe i am in the same jvm instance.
    3. I believe i am in the same thread instance...( looking at logs except if someone can tell me i am not.....)
    4. Or if there is alternative solution to pick up threadlocal variable in my jms application.
    JMS application is new application trying to connect to existing ejb application which had the thread local design and we want to use that existing architecture before we decide to change. We need the transactionid for log corelation.

    I assume that either your JMS destination is backed by a database or your application is doing some database operations in the same transaction as the JMS send operation. I suspect that there is some kind of database maintenance process going on every night, which causes the database operations to be slow or not responding, which in turn causes the MDB transaction that the JMS send operation participates in to timeout.

  • Thread in Swing help please

    Hey gang, I am relatively new to Java world, and especially to swing and thread. I am trying to build an application with a main dashboard, where the users can click on a button and parse a text file. However, if there were an error in the file, I would like to stop paring the file, but not exit the application once there is an error. I don?t know quite how to stop the process without using System.exit(0); When I use System.exit(0); needless to say my main dashboard exits also, which I want to avoid.
    I was told to use threads by my friends, but I trying reading up on SwingWorker class found on the website to help with threads (at least I think so). I am still very lost. If there is any more clarification needed, please let me know

    Your problem has nothing to do with threads. As "kulkarni_ash" wrote, you need to surround code which crashes with try{ }catch(Throwable t}{...}. Most runtime problems are reported by throwing an exception, which is understood as "abrubtly abort code execution and gracefully return to closest enclosing catch". There is many exceptions classes, each tided to specific kind of error. Throwable is most general one, and you should not use it usually.
    Threads, on other hand are used only, if you expect to have a lot of work to be done and like to have it done "in background" what leaves user interface alive. Example is printing - without thread user interface will freez until last page is printed - with printing thread user may click cancel to abort printing.

  • Problem in Russian Forms while printing

    Hi All,
    when i'm printing Russian forms with TimesNewRoman Font,printer is printing some junk texts..but if i am using cyrlicCourier Font,it prints well.
    I need to print the form in TimesNewRoman Font.where i have to change the settings???
    Thanks
    Merlin

    Note, to print double digit characters( on uni-code enabled printer) we have to use cyrillic fonts.. Ordinary fonts may give junk values most of the time... Use TIMECYR (it is times font for unicode printer)
    close thread once your question is answered.
    Regards,
    SaiRam

  • Threading- Can I call methods from specific threads or from all in a group?

    I've just recently started working with threads. I've done a lot of searching and reading but I haven't seen the specific questions I'm wondering answered. Of course, it's about communication.
    The amount of newly created threads that will exist is indefinite. Sometimes I'll have one, sometimes ten. So I'll just call them t1 - t9. When I create them, I add them to a ThreadGroup - tg.
    This project contains 2 class files, Main and ThreadClass. I'll post all of the code so you can see what I'm doing.
    public class Main {
        public static void main(String[] args) {
            for (int i = 1; i < 10; i++) {
                ThreadGroup tg = new ThreadGroup("tg1");
                Thread t = new Thread(tg, new ThreadClass("t" + i));
                t.start();
    public class ThreadClass extends Thread {
        public ThreadClass(String name) {
            super(name);
        public void run() {
            System.out.println("New Thread - " + getName());
            while (true) {
                try {
                    Thread.sleep(100);
                } catch (InterruptedException e) {
                    System.out.println("Exception: " + e);
        public void printText() {
            System.out.println("Printing text from " + getName());
    }So whenever a new thread is created, it prints "New Thread - [ThreadNameHere]". But I also have printText() in ThreadClass that has not been used yet and that is what I really want to accomplish. Is there a way to call printText() by the thread group (tg1 in this case) so it is executed across all threads that belong to the group? Is there a way to call printText() in a specific thread from my Main class, such as "t3"?
    Thank you for your help!
    Edited by: sdouble on Sep 9, 2008 10:10 AM - Fixed a typo

    Yes, usually you want to implement Runnable, not extend Thread. You're not adding new functionality to Threads or making some kind of more-specific version of them.
    You can get each thread in your ThreadGroup back out into an array by using one of the varients of Enumerate, but nothing stops you from just putting your objects (that implement Runnable) into an ArrayList or any collection of your own that you want to as you make them, and then later iterating over it and calling the method that you want.
    Something like this...
    public class MyThread implements Runnable {
       public void run() { ... }
       public void printStuff() { ... }
    public static void main(String[] args) {
       MyThread a = new MyThread();
       MyThread b = new MyThread();
       ArrayList threadList = new ArrayList();
       threadList.add(a);
       threadList.add(b);
       for(MyThread thread : threadLIst) {
          thread.printStuff();
    }

  • Printer wont print properly from the net

    I have A r200 Epson printer that has work fine until a few days ago. Now it won't print correctly from the web pages i.e. If you ask it to print a thread from here it prints headings frames signatures but not text in boxes they are left blank. Can any one advise please.

    Sorry Guys False alarm, Printer heads had blocked. Must be the hot weather we are having

  • ThreadInfo's getThreadId() == java.lang.Thread's getId() ?

    Hi Folks
    I am trying to add MBean to show CPU consumption of various threads in my application.
    The threads created during the course of the application execution are maintained in a vector list.
    In my instrumentation code, I use this list of threads and
    a) iterate over each Thread instance and get its thread id ( thread.getId() )
    b) Using this long value, I determine the CPU consumption of this thread as :
    ThreadMXBeanInstance. getThreadCpuTime(threadId)
    However this does not seem to be giving me the correct value.
    On debugging using a generic program, where I print the thread ID , name, CPU consumption of all the threads in the JVM, as :
    ThreadMXBeanInstance.getAllThreadIds()
    for( each ThreadInfo...)
    //print attributes using ThreadInfo.getThreadName(..)..getThreadId(..)...etc..
    the thread ID printed by ThreadInfo.getThreadId() seems to be always +1 + the threadID got as in (a))+.
    Please let me know if you can throw some light on the above subject?
    ps : I am using Java 6, u10 on a WINXP, SP2 + 2CPU Intel Core processor with 2 GHz & 2GB memory.
    Great Thanks in advance.

    Hi,
    Are you sure you haven't made a mistake somewhere?
    Here is a small program that iterates over the threads and print their name and thread id has obtained from Thread and ThreadInfo. I've run it on JDK 6u10 and as you can see the information match. What do you get if you run it on your install? (hint: run it with -Dcom.sun.management.jmxremote to get the same results than I).
    Here the program:
    package threadid;
    import java.lang.management.ManagementFactory;
    import java.lang.management.ThreadInfo;
    import java.lang.management.ThreadMXBean;
    * @author dfuchs
    public class Main {
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            final ThreadMXBean tmb = ManagementFactory.getThreadMXBean();
            final Thread[] ts = new Thread[tmb.getThreadCount()];
            ThreadGroup tg = Thread.currentThread().getThreadGroup();
            while (tg.getParent()!=null) {
                tg = tg.getParent();
            tg.enumerate(ts,true);
            for (Thread t : ts) {
                if (t==null) continue;
                final ThreadInfo ti = tmb.getThreadInfo(t.getId());
                System.out.println(t.getName()+"[id="+t.getId()+"]: name=" +
                        ti.getThreadName()+", id="+ti.getThreadId());
    }Here is the output:
    Reference Handler[id=2]: name=Reference Handler, id=2
    Finalizer[id=3]: name=Finalizer, id=3
    Signal Dispatcher[id=4]: name=Signal Dispatcher, id=4
    RMI TCP Accept-0[id=9]: name=RMI TCP Accept-0, id=9
    main[id=1]: name=main, id=1Hope this helps,
    -- daniel
    [http://blogs.sun.com/jmxetc|http://blogs.sun.com/jmxetc]

  • Grey patches are found while moving pop-up print dialog box

    Hi,
    Please help me with this one.
    I am trying to print in a Windows environment,
    I call printJob.printDialog() from my program to get the pop window. But if i move this box with my mouse, it always leaves behind grey patches on my swing application that I developed.
    I just don't know what to do.
    Any pointers ?

    in response to the user selecting "print", do:   Thread pThread = new PrintingThread(instance);   //where instance is a reference to the gui frame
        pThread.start();...and define this class:   class PrintingThread extends Thread {
            JFrame gui;
            PrintingThread(JFrame g)
                gui=g;
                //do any initialization you need here
            public void run()
                gui.setEnabled(false);
                // call printJob.printDialog() here
                //then when it returns do:
                gui.setEnabled(true);

  • How to get a Thread Dump from Windows Service?

    We're running WLS 8.1 as a Windows Service, but we can't seem to generate a Thread Dump when the server locks up (apparently).
    Can anybody recommend a wrapper that will do this?
    --Kurt                                                                                                                                                                                                                                                                                                                                                                                           

    Hi,
    Please refer to the following URL for more information http://e-docs.bea.com/wls/docs81/adminguide/winservice.html
    To cause the WebLogic Server instance to print a thread dump to standard out, do either of the following:
    Use the weblogic.Admin THREAD_DUMP command. For more information, refer to "THREAD_DUMP" in the WebLogic Server Command Reference.
    Open a command prompt and enter the following command:
    WL_HOME\bin\beasvc -dump -svcname:service-name
    where WL_HOME is the directory in which you installed WebLogic Server and
    service-name is the Windows service that is running a server instance.
    For example:
    D:\bea\weblogic81\server\bin\beasvc -dump -svcname:mydomain_myserver
    Cheers
    Raj

  • How do increase the font when requesting a print

    When I find it necessary to print a thread of question/answers the printed font size if incredibly small and for MR MAGOO a waste of ink and paper.
    Any tricks to increase the font size of the page(s) i want to print so that it is closer to 12 points ?
    There are some forums that have a print version of their forum web pages.

    Don Archibald wrote:
    Hi, mac midiguy -
    In many browsers, Command-+ (that's the + key on the keypad set) will increase the font size for text displayed on a page. That should carry through when you print the page.
    +I can increase the web page but it will not print the same size +
    >
    You can also select the text, across many entries in a thread including the entire thread if needed, then click on the selected text and drag it off onto the desktop where it should turn into a text document. You can then open that in a text app or word processor, change the text to a size that suits you, and then print it. This has the advantage that you can remove any elements/portions of the thread that don't contribute to the solution, or that you don't otherwise want.
    +Good hint: I'll try this when get to a computer with attached printer+

Maybe you are looking for

  • B2B-51507    Error : Incomplete Internal-Properties structure.

    Hi, I send 997 AS2 by manual. And get below error. B2B-51507 Error : Incomplete Internal-Properties structure. ERROR_LEVEL_COLLABORATION ERROR Error Brief : XEngine error. below is 997 xml . <?xml version="1.0" encoding="UTF-8"?><Transaction-997 xmln

  • IMac shuts down as if someone unplugged it

    I'm not sure what the "shutting down" problem is for others, but for the 2nd time in 3 days, my iMac has turned off as if someone unplugged it. I use a surge protector so I don't think that's the problem, especially because I've used the same surge p

  • Urgent Inspection type

    Hi friends, Can anybody tell me How I can post material from QI in material to material transfer posting 309 mvt.Their is any inspection type that I can assign to material or I can create new inspetion type for this requirement.using customer enhance

  • How to identify mis-behaving startup app?

    I've probably changed something but for the life of me don't know what. When booting up my Bold 9780 I get an error message informing me that an app "!" is terminating because it has been denied email permissions. The only problem is that I don't kno

  • Sub-contracting charges to be capitalised

    Dear All, Kindly give your input on the following, One of my client who is manufacturing Circuit Board, this activity is done both in-house production as well as sub-contracting. i. they are producing circuit board in In-house, as per the BOM compone