[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1

Title:ALL-IN-1 (tm) Support Conference
Notice:Please spell ALL-IN-1 correctly - all CAPITALS!
Moderator:IOSG::PYECE
Created:Fri Jul 01 1994
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2716
Total number of notes:12169

2577.0. "NUL_POINTER error when printing in 3.1" by OASS::BURNAMAN_B (And now, live, from Atlanta . . . ) Tue Mar 18 1997 17:54

    Greetings,
    
    I have a wierd customer problem.  Yesterday (Monday), users reported
    that they were unable to print to either queued or ported printers in
    3.1 ALL-IN-1 - they got a NUL_POINTER error on any document or mail
    message they tried to print.  That is UNLESS they selected PS as the
    format style - in this case, the document printed fine.
    
    They can read the document or message with no problem.
    
    In my research, I found that they cannot print to either DOCUMENT or
    FILE using anything other than PS as the format style.
    
    There are jobs retained on error in the background formatter queue
    from Sunday and yesterday - all with error 092FF7A2 - which I know
    translates to a printer attribute file error.
    
    Problem is, there is nothing wrong with any of the ANSI printer at-
    tribute tables and none of them are working - not even LP11 or A1TEXT.
    
    I have checked the relevent master files and all looks to be in order.
    
    File protections are ok and wouldn't return this error message anyway.
    
    ALL-IN-1 was not relinked, nor were the .TXLs compiled.  The error
    occurs regardless of whether /NOCUSTOM is used and even the manager
    account is affected.
    
    DCL printing is fine.  No upgrades were done and the system was not
    rebooted over the weekend.
    
    There are no script files in any of the site areas relative to this
    problem.  There are some customized .PRA tables in the site tables
    directory, but we get the error even if we rename them out of the
    way.
    
    When I ran TRACE, the error occurs right after this command in
    the .label temp_wpl section of WPSPLUS_FORMAT.SCP :
    
        get OA$FUNCTION = 'format "OA$TEMP:WPSPLUS$TMP.WPL",
    #WPL$FMT_DEST_FILE,' -
                '#WPL$FMT_DEST_FORMAT,' #WPL$FMT_QMENU ',,,' #WPL$FMT_RB -
                ',' #WPL$FMT_NOMSG ',,LOG$OA$TEMP,' #WPL$FMT_PV
    
    The "OA$TEMP:WPSPLUS$TMP.WPL" file is deleted immediately afterwards.
    
    I also get the same error when trying to print an ASCII EDT created
    file, but I believe this is because the WPSPLUS FORMATTING field in
    the ASCII EDT format master file record is set to Y.  I do not re-
    member if I set it to N and tried printing (it was late, I was tired),
    but that is something I will try when the customer gets in.
    
    Anybody have any ideas?
    
    Bruce in Atlanta
T.RTitleUserPersonal
Name
DateLines
2577.1IOSG::ELLIOTTRRussell ElliottTue Mar 18 1997 18:2722
    Bruce,
    
    You seem to have covered most things. You implied that you've checked
    both foreground and background - if that's not the case then that's
    worth a try. 
    
    It looks like a fundamental problem, seeing as everyone is getting the
    error, with every ANSI table. The "printer attribute file error" may
    therefore be a red-herring.
    
    >> Problem is, there is nothing wrong with any of the ANSI printer at-
    >> tribute tables and none of them are working - not even LP11 or A1TEXT.
    
    What draws you to this conclusion? I know it seems unlikely, but
    perhaps a rogue system manager got hold of them ;-). Have they been
    modified recently?
    
    Sorry, I can't think of anything else. 
    
    Russell.
    
    
2577.2WPS-PLUS Formatter errorIOSG::NEWLANDRichard Newland, IOSG, REO2-F/J9Tue Mar 18 1997 18:5212
From the information you have given it looks certain that the error is
coming from the WPS-PLUS formatter.  Try issuing a WPS-PLUS Format 
operation directly, e.g.

    <FORMAT 'FILE.WPL', 'FILE.LIS', 'LP11'

and report what happens.

Is the logical name WPL$PRT which points to the directory which contains 
the WPS-PLUS Printer Attribute files still set up correctly?

Richard
2577.3Answers and more info . . .OASS::BURNAMAN_BAnd now, live, from Atlanta . . . Tue Mar 18 1997 22:3124
    Hi Fellows,
    
    Russ, to answer your question first, we get the error regardless of
    whether we format in foreground or background.  I tried foreground
    formatting in hopes of getting a better error message, but did not.
    
    Richard, when I issued the <format command, I got the error.  Not
    surprisingly, when I changed the WPS-PLUS FORMATTING field of the
    ASCII EDT format master file record to N and printed an ASCII file
    to it using an ANSI table, it worked.
    
    I checked and found that none of the .FLC files have been modified
    recently.  The customer relinked ALL-IN-1 last nite, but that did
    not make any difference.
    
    Fortunately, a lot of their printer are PostScript, so they are not
    _totally_ dead in the water, but people that have only ANSI printers
    in their offices are pretty unhappy.
    
    Does any of this help?
    
    Thanks,
    
    Bruce in Atlanta
2577.4More suggestions...IOSG::ELLIOTTRRussell ElliottWed Mar 19 1997 11:5937
    Some info and suggestions:
    
    Printer Tables are not part of the TXLs.
    
    The NULL_POINTER error occurs with corrupt WPS-PLUS documents. Usually,
    but not always, this error would occur during reading and printing.
    
    The PRINT_ATTRIBUTE_FILE_ERROR error occurs when the Formatter reads in
    a printer attribute file (.PRA) that is not in the correct format. It
    discounts that the PRA can't be found because that would give a
    different error.
    
    You initially mentioned NULL_POINTER errors, but then mentioned a
    printer attribute file error. Are you sure that the "092FF7A2" error is
    the PRINT_ATTRIBUTE_FILE_ERROR? (Perhaps this is something I should
    know!).
    
    If the NULL_POINTER error is being received first then the
    PRINT_ATTRIBUTE_FILE_ERROR may be a duff error following the previous
    one.
    
    To see if a PRA is correctly formatted try to edit it with the PTU
    editor. You can do this either from Customization Management or from
    the Printer Tables subsystem (if you create a temporary PRA). In the
    test I did I got a different error when reading a corrupt PRA, but it's
    still a useful test.
    
    Using the Manage Printer Types subsystem choose a print style you know
    fails and double check which PRA is being selected. Check this PRA as
    described above.
    
    Double check where WPL$PRT is pointing to.
    
    I can't think of anything else to check at the moment.
    
    Russ.
    
2577.5Bigger hammer fixed the problemOASS::BURNAMAN_BAnd now, live, from Atlanta . . . Wed Mar 19 1997 19:4522
    Hi Russell,
    
    Thanks for the reply.  The reason I mentioned the .TXL's is that the
    problem might have been caused by someone modifying one of the script
    files used in printing to allow only PS formatting and then recompiled
    the TXL, thus causing the problem.  I knew the .PRA and .PRC files were
    ok because I could edit them in WP PT without getting blown out and I
    could see the files in the ALL-IN-1 subprocess when I did a directory
    of WPL$PRT - the files had size, a good date and world read/execute
    (basically everything that would make ALL-IN-1 happy).
    
    I initially suspected a corrupt document, but quickly dismissed this
    when I found that the same document would print fine if the PS table
    was used and, when I found that _any_ document would generate the
    error.  I could see one or two documents, but not all and not for all
    users.  This was a global problem.
    
    Turns out, rebooting the system corrected the problem.  Go figure.
    
    Thanks anyway,
    
    Bruce in Atlanta