Sysent.h is malformed

I get the following error when compiling a C++ program:
"/opt/SUNWspro/prod/include/CC/sysent.h", line 29: Error: Only one of a set of overloaded functions can be extern "C".
This arises from a redeclaration of sethostname(). In fact, it's hard to understand why any functions would be re-declared here, since this file includes other header files such as <unistd.h> that already declare them, and if they're not declared there, then they ought to be.
My environment is SXDE 9/07, and the Sun compilers that come with it.

The original problem was reported on Solaris, and the exact error listed in the original posting was fixed in patch -02 for Sun C++ on Solaris.
Similar problems were reported on LInux. I don't have access to a compiler with patch -03 installed, but patch 124865-04 for Sun C++ on Linux does not seem to have the problem. That patch will be released soon.
If you provide a small test case (3 or 4 lines should be enough), show the exact command line you use, and show the exact error message you get, I can tell you more.

Similar Messages

  • Use PL/SQL procedure to guard against malformed CSV files before upload

    Hi all,
    In my CSV upload utility, I've implemented error checking procedures, but they are invoked only AFTER data has been uploaded to temp table. This doesn't catch the following sample scenarios:
    1. The CSV is malformed, with some rows shifted due to fields and separators missing here and there.
    2. User has chosen a wrong CSV to upload (most likely number of fields mismatch)
    I'm wondering if it is a good idea to have procedure to read in the CSV, scan each line, count the number of fields (null fields but with delimiters showing the field exist is ok) for each record. If every single record matches the required number of fields for that table, then the CSV is ok, and the insert from external table to temp table is allow. This will ensure at least the CSV file has a valid matrix size for the target table, but rest of error checking is left until after temp table is populated.
    One of my concerns is, I specify "missing field values are null" in the external table parameters, which is necessary since not all fields are required. Does this specification causes a row with missing trailing separators still considered valid? If so then the stored procedure must be programmed to omit such a case.
    What do you think? Many thanks.

    Hi, Cuauhtemoc Amox
    Thank you for your advice. I have set web adi  using PL SQL interface.
    I have decided to go futher
    i have a procedure like that
    procedure delete_old_data ( p_id in number, p_description in varchar2)
    as
    begin
                   begin
                   if g_flag ='N' then
                   delete from xx_test;
                    g_flag='Y';
                    else null;
                    end if;
                    end;
    insert into xx_test (p_id,p_descriptiom);
    end;
    G_FLAG is a global variable with default value ='N'  in my package. When web_adi upload
    first row from excel sheet, then procedure delete all data from table and change g_flag to 'Y'.
    All other rows uploads succesfully; it  works fine.
    But when user change data in excel sheet and try to upload second time. DELETE_OLD_DATA procedure doesnt work in proper way.
    I have found what problem is. when user use same template and try to upload data several times there is same SESSION_ID in database.
    i.e. g_flag ='Y' when user try to upload second time. But when user log off and create template again it is work properly.
    My question is: How i can different upload attempts? May be there is some id for each upload proccess.
    if i can use this ID in my procedure user will have opportunity to use same template.
    Thank you

  • How do I change default page that appears after a bad/malformed URL?

    First of all, this is not a traditional malware/adware issue. Whenever I enter a malformed or bad URL, like http://blah, Firefox defaults to the homepage of my spouse's old workplace (a large, corporate law firm). While this is a personal computer, ages ago it was taken in the office to install software (Citrix) to allow it to synch it with the firm's network while used at home, etc; the program has since been uninstalled. Ever since the computer was brought back, it's had this issue with defaulting to the mainpage of the law firm whenever it finds an error. I would prefer another page, but I can't figure out where to look (and I have tried, though I admit my own limitations).

    This isn't possible without creating a new Apple ID.
    (83040)

  • Journal Envelope Header malformation

    Overview
    •     My company has Designed and Implemented an Journal Archive and Discovery Solution for a University.
    The solution provides Journal Archive and Discovery for approximately 22,000 users.
    Approximately 15,000 University users /students are using Sun Mail Messaging , that BCC’s every message to an Exchange 2007 Journal Mailbox.
    Journal Archive Solution , will then Journal Archive the Sun Mail message from the Exchange 2007 Journal Mailbox.
    Problem Description - Sun Mail Messages Journaled by Exchange 2007 are unable to be Journal Archived by Archiving Software
    •     Sun mail has a feature to enable Microsoft like journaling. The message looks quite similar to exchange 2003 journaling when it arrives in a Exchange mailbox ( the message gets into the exchange mailbox via SMTP).
    •     The internal recipients (mailboxes that have mailboxes on the Sun mail system) have the recipients email address as userid@ims-ms-daemon e.g
    Sender: <[email protected]>
    Message-id: <[email protected]>
    Recipients:
    <jbrown@ims-ms-daemon>
    <jdoe@ims-ms-daemon>
    <jshaw@ims-ms-daemon>
    <jsmith@ims-ms-daemon>
    <[email protected]>
    •     All the sender & recipient addresses were not preceded by smtp
    •     Archiving Software Journal Archive, requires an Exchange 2007 Journal Message Report field/header to be , Message-ID
    KB Article that outlines the required Header.
    http://technet.microsoft.com/en-us/library/bb331962(EXCHG.80).aspx
    •     Currently the Exchange 2007 Message Report Field/Header and the Sunmail message recipient address fields are incorrect and therefore cannot be archived by Archiving software.
    Current Workaround
    •     Manually Modified the current Sun Mail message format and recipient address fields , using the following process , and then the Sun Mail messages were archived successfully:
    Using Outlookspy the message was modified with the following changes, and EV was then able to process the message as an envelope Journal message and the results were exactly similar to how an exchange 2003 Envelope journal message is archived.
    1.     Add PR_CONTENT_IDENTIFIER_W Tag number:0x0008001F Type:PT_UNICODE Value:ExJournalReport
    2.     Change the Message-id: [email protected] to Message-ID: [email protected]
    3.     Replace ims-ms-daemon with xxxxx.edu (our internal mail domain)
    Sender: <[email protected]>
    Message-id: <[email protected]>
    Recipients:
    <[email protected] >
    <[email protected] >
    <[email protected] >
    <[email protected] >
    <[email protected]>
    Original message body     Modified message body
    Sender: <[email protected]>
    Message-id: <[email protected]>
    Recipients:
    <jbrown@ims-ms-daemon>
    <jdoe@ims-ms-daemon>
    <jshaw@ims-ms-daemon>
    <jsmith@ims-ms-daemon>
    <[email protected]>
    Sender: <[email protected]>
    Message-Id: <[email protected]>
    Recipients:
    <[email protected] >
    <[email protected] >
    <[email protected] >
    <[email protected] >
    <[email protected]>
    Actions Taken
    •     Conducted a meeting with Archiving Software Vendor Technical Product Management to discuss the problem , analyze root cause and determine action plan.
    Response
    • Journal Archive Solution is designed to archive messages that are eligible for archiving .
    •     The Current Exchange 2007 Journal format of Sun Mail messages is not eligible for archiving.
    •     Archiving Software is not designed to alter Exchange 2007 Message format.
    Root Cause
    •     Something is happening during the routing / redirection of the Sun Mail message to Exchange 2003 and then to the Exchange 2007 Journal Mailbox that is malforming the message format and spoofing Exchange 2007 to accept the Sun mail message format.
    Suggested Action Plan
    •     Follow the Sun Mail message flow, through the entire routing / redirection process , from Sun Mail to Exchange 2003 and then to the Exchange 2007 Journal Mailbox .
    •     Determine where and when the message is malformed in this process , and correct the problem .
    ***Important note on flow of mail, Sun uses SIEVE REDIRECT to send copy of messages to Exchange 2003 server, Exchange 2003 forwards to Exchange 2007, where archiving is than done from the journal folder.***
    SIEVE REDIRECT looks like this:
    #BEGINFILTER
    if anyof(true){
    keep;
    redirect "[email protected]";
    stop;
    #ENDFILTERDO you have any idea where header malformation can be happening and how to prevent it?

    DamnGoodSE wrote:
    &#149;     The internal recipients (mailboxes that have mailboxes on the Sun mail system) have the recipients email address as userid@ims-ms-daemon e.g
    Sender: <[email protected]>
    Message-id: <[email protected]>
    Recipients:
    <jbrown@ims-ms-daemon>
    <jdoe@ims-ms-daemon>
    <jshaw@ims-ms-daemon>
    <jsmith@ims-ms-daemon>
    <[email protected]>
    The Exchange format journal information is telling you which recipients received the email. A users email address may change over time or the email could have been forwarded to another account on the same system, so sending an email to "[email protected]" doesn't mean the user jbrown was the end recipient.
    Equally, recording the initial submission address doesn't tell you who received the email. A mailing list address doesn't tell you who received the email as mailing lists change over time.
    A possible enhancement to the journal format is to provide the "initial" submission address/forwarded address fields.
    &#149;     All the sender & recipient addresses were not preceded by smtpThe examples provided in the KB article you point to below don't have sender/recipient addresses preceded by "smtp:".
    &#149;     Archiving Software Journal Archive, requires an Exchange 2007 Journal Message Report field/header to be , Message-ID
    KB Article that outlines the required Header.
    http://technet.microsoft.com/en-us/library/bb331962(EXCHG.80).aspx
    I see nothing in that document to say that the header name is case sensitive i.e. "Message-ID" is not the same as "Message-id". In fact, the "Journal report that displays basic recipient fields" example use "Message-Id:"
    &#149;     Currently the Exchange 2007 Message Report Field/Header and the Sunmail message recipient address fields are incorrect and therefore cannot be archived by Archiving software.The information is not incorrect. It may not be in the format/case your particular "Archiving Software" expects however that doesn't mean they are wrong.
    DO you have any idea where header malformation can be happening and how to prevent it?I see no evidence of "header malformation".
    Regards,
    Shane.

  • I'm getting a 'JSON request was malformed' when trying to log in on a toolbar...what can I do? Thanks in advance!

    I am working with a company that requires me to log in on a toolbar, but when I do, I get the error 'JSON request was malformed'. WTH does that mean and what can I do? Thanks!

    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • I did the update to 3.6.11 - when it restarted it will not open any pages. When i go to check for updates it gives me this error: Update XML file malformed (200) - Any advice?

    I did the update to 3.6.11 - After it started Firefox it would go to the requested site in the addressbar, but the page would be blank. I went to check for updates and it told me there was a problem in updating. It gave me this error message: Update XML file malformed (200)
    I uninstalled and reinstalled and the same problem exists.
    Any advice?

    For the error message see [[AUS Update XML File Malformed 200]].
    As it appears not to be able to load any sites, a possible cause is your firewall blocking the new version of Firefox. For more details see [[Firefox cannot load websites but other programs can]].

  • 'Malformed xref' when creating in Acrobat 9 Pro

    I used a perl-based reader on a server to distribute PDFs from a website -- this has always worked, but any PDFs created with Acrobat 9 are not readable by the perl readers.
    I get "Malformed xref" error.
    I used the SAME file & saved in both 8 & 9.
    In 8, there's a chunk like this, which is missing in 9:
    xref
    5 20
    0000000016 00000 n
    0000000894 00000 n
    0000000969 00000 n
    0000001145 00000 n
    0000001337 00000 n
    0000001396 00000 n
    0000001539 00000 n
    0000001682 00000 n
    0000001819 00000 n
    0000001955 00000 n
    0000002136 00000 n
    0000002419 00000 n
    0000002509 00000 n
    0000003701 00000 n
    0000003906 00000 n
    0000004230 00000 n
    0000004325 00000 n
    0000004413 00000 n
    0000004513 00000 n
    0000000696 00000 n
    trailer
    Can anyone shed some light?

    I'm not familiar with PDF at all -- I've tried two different Perl packages: PDF::API2 and CAM::PDF. These have always worked great, but are choking on files from Acrobat 9 due to "malformed xref."
    Here are the 2 files (same file, saved in different Acrobat versions):
    http://www.danrichman.com/wwrea.pdf
    http://www.danrichman.com/wwrea_v8.pdf
    If you look at the raw files, that xref table is near the top of the "v8" file but nonexistent in the v9 file. I'm guessing this is what the Perl readers don't like.

  • How to get the HTTP response body if the body is a malformed XML document

    Hi,
    I am using HTTP service with resultFormat = "e4x" set. What i
    get in response is a malformed XML document in
    some cases. Usually HTTPService throws a FaultEvent with the
    fault detail set to faultCode:Client.CouldNotDecode
    faultString:'Error #1091' or some other Error #1085 and so.
    My client tries to log these errors on the server by using
    another HTTP service again. But i would like to know
    in the client code during run time what exact XML response
    came in the first HTTP response.
    How do i retrieve this information?
    thanks,
    Sunil

    service capture or charles debug proxy can do the job.
    flex builder 4 is rumored to include a traffic sniffer as
    well, but that's next year.

  • Java stored proc. malformed values in numeric Datafield ...

    The java stored procedure functiones well, if it access tables that are on the same server.
    Retrieving Data from numeric field of a resultset will result in malformed numeric values , if the table I access it on another server.
    like sms.tabname@server.
    No matter , which methods I use
    rset.getBigDecimal , rset.getFloat /these will retrieve sometimes values with 20 to 40 digits!.
    Maybe some NLS related problem ?

    Hi,
    Which RDBMS release/version are you using (and whish one is the target)?
    Kuassi, http://db360.blogspot.com

  • Error in Parsing XML using fx:XML/ [Error- 1090: XML parser failure: element is malformed]

    Hi All,
    I am getting error while loading XML in <fx:XML> tag.
    Error:
    TypeError: Error #1090: XML parser failure: element is malformed.
    MXML Code:
    <fx:Declarations>
    <fx:XML id="xmlSource2" source="sample.xml"/>
    </fx:Declarations>
    Sample XML Used: (sample.xml)
    <?xml version="1.0" encoding="UTF-8"?>
    <File>
        <Chemical id="000035676" displayFormula="C39-H45-N2-O6"
            displayName="Dimethyltubocurarine">
            <NameList>
                <NameOfSubstance>
                    Dimethyltubocurarine
                    <SourceList>
                        <Source>MESH</Source>
                    </SourceList>
                </NameOfSubstance>
                <SystematicName>
                    Tubocuraranium, 6,6',7',12'-tetramethoxy-2,2',2'-trimethyl-
                    <SourceList>
                        <Source>NLM</Source>
                    </SourceList>
                </SystematicName>
                <Synonyms>
                    Dimethyltubocurarine
                    <SourceList>
                        <Source>NLM</Source>
                    </SourceList>
                </Synonyms>
                <Synonyms>
                    Dimethyltubocurarinium
                    <SourceList>
                        <Source>NLM</Source>
                    </SourceList>
                </Synonyms>
                <Synonyms>
                    Methyltubocurarinum
                    <SourceList>
                        <Source>NLM</Source>
                    </SourceList>
                </Synonyms>
            </NameList>
            <NumberList>
                <CASRegistryNumber>
                    35-67-6
                    <SourceList></SourceList>
                </CASRegistryNumber>
                <RelatedRegistryNumber>
                    518-26-3 (iodide.hydriodide)
                    <SourceList>
                        <Source>MESH</Source>
                    </SourceList>
                </RelatedRegistryNumber>
            </NumberList>
            <ClassificationList>
                <ClassificationCode>
                    Neuromuscular nondepolarizing agents
                    <SourceList>
                        <Source>MESH</Source>
                    </SourceList>
                </ClassificationCode>
            </ClassificationList>
            <FormulaList>
                <MolecularFormula>
                    C39-H45-N2-O6
                    <SourceList>
                        <Source>NLM</Source>
                    </SourceList>
                </MolecularFormula>
            </FormulaList>
            <FormulaFragmentList></FormulaFragmentList>
            <NoteList></NoteList>
            <LocatorList>
                <FileLocator
                    url="http://cnetdb.nci.nih.gov/cgi-bin/srchcgi.exe?DBID=****3&SFMT=****_basic%2F10%2F0%2F0&TYPE=search&SRCHFORM=passthru%3D%Asrchform%3ASRCH%3A&FIELD_001=[CAS]35-67-6&#38;GoButton=Search&#38;FIELD_001_CTL=EXPR&#38;FIELD_908=&#38;FIELD908_CTL=HASABSTRACT&#38;FIELD_903=&#38;FIELD_903_CTL=YEARFORE&#38;DOCPAGE=10">CANCERLIT</FileLocator>
                <FileLocator
                    url="http://toxnet.nlm.nih.gov/cgi-bin/sis/search/r?dbs+toxline:@and+@term+@rn+35-67-6+@term+@org+DART">DART/ETIC</FileLocator>
                <FileLocator
                    url="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=search&db=PubMed&term=35-67-6[ECNO]+OR+&#34;~&#34;[MH]">MEDLINE</FileLocator>
                <FileLocator
                    url="http://www.nlm.nih.gov/cgi/mesh/2K/MB_cgi?term=35-67-6&rn=1">MESH</FileLocator>
                <FileLocator
                    url="http://toxnet.nlm.nih.gov/cgi-bin/sis/search/r?dbs+toxline:@term+@rn+35-67-6+@OR+@mh+""">TOXLINE</FileLocator>
            </LocatorList>
        </Chemical>
    </File>
    Also, when I am using HttpService to load same XML I am getting no such error!!
    <s:HTTPService id="employeeService"
                           url="sample.xml"
                           result="employeeService_resultHandler(event)"
                           fault="employeeService_faultHandler(event)"/>
    Please help!!
    Thanks.
    Abhinav

    I think url in XML is creating problem here.
    <FileLocator
                    url="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=search&db=PubMed&term=23-95-0[ECNO]+OR+&#34;~&#34;[MH]">MEDLINE</FileLocator>
    Is there any way to parse this XML using <fx:XML/> ??
    Thanks.

  • Nouveau errors (MMIO write FAULT) and usb string descriptor malformed

    Here's a bit of system information that's useful:
    - My laptop uses Optimus between the CPU (4700MQ) and the GPU (NVIDIA 770M)
    - I'm currently running Manjaro (blasphemy, I know) using the non-free NVIDIA drivers with bumblebee for Optimus (which works very well)
    I'm going to move to Arch from Manjaro, but there seem to be a few issues with my boot process (even on the USB drive).
    I get these errors on boot of Arch (taken from dmesg --level=err):
    [ 2.586251] nouveau E[ PBUS][0000:01:00.0] MMIO write of 0x00000000 FAULT at 0x418880 [ IBUS ]
    [ 2.586435] nouveau E[ PIBUS][0000:01:00.0] GPC1: 0x419eb4 0xbadf1000 (0x3800820c)
    [ 2.586468] nouveau E[ PIBUS][0000:01:00.0] GPC2: 0x419eb4 0xbadf1000 (0x3800820c)
    [ 3.223169] usb 3-11: string descriptor 0 malformed (err = -61), defaulting to 0x0409
    [ 4.588456] nouveau E[ PGRAPH][0000:01:00.0] HUB_INIT timed out
    [ 4.588474] nouveau E[ PGRAPH][0000:01:00.0] 409000 - done 0x00000244
    [ 4.588493] nouveau E[ PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
    [ 4.588517] nouveau E[ PGRAPH][0000:01:00.0] 409000 - stat 0x00000000 0x00000000 0x00000002 0x00000009
    [ 4.588539] nouveau E[ PGRAPH][0000:01:00.0] 502000 - done 0x00000300
    [ 4.588560] nouveau E[ PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
    [ 4.588585] nouveau E[ PGRAPH][0000:01:00.0] 502000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
    [ 4.588608] nouveau E[ PGRAPH][0000:01:00.0] 50a000 - done 0x00000300
    [ 4.588627] nouveau E[ PGRAPH][0000:01:00.0] 50a000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
    [ 4.588653] nouveau E[ PGRAPH][0000:01:00.0] 50a000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
    [ 4.588675] nouveau E[ PGRAPH][0000:01:00.0] 512000 - done 0x00000300
    [ 4.588695] nouveau E[ PGRAPH][0000:01:00.0] 512000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
    [ 4.588721] nouveau E[ PGRAPH][0000:01:00.0] 512000 - stat 0x00000000 0x00000000 0x00000000 0x00000000
    [ 4.588742] nouveau E[ PGRAPH][0000:01:00.0] init failed, -16
    Also in the warnings (only the nouveau entry):
    [ 2.522096] nouveau W[ DRM] voltage table 0x50 unknown
    Clearly, the nouveau errors come from the open source drivers, but I'm not sure what's causing them. The warning about the voltage table comes before the errors, which is interesting. On my Manjaro installation, I couldn't get the open source drivers to work with bumblebee, so switched to the non-free NVIDIA drivers which ended the errors (since nouveau isn't loaded), and then I could run processes on the GPU with Optimus. Clearly, my reference here is Manjaro, but the errors persist between both.
    As for the string descriptor 0 malformed, I have no clue. This happens both on Arch and Manjaro, however it hasn't cause any specific issue, but it is something I have to look at on my boot up, which isn't nice.
    Can anyone guess as to the source of the errors?
    EDIT: Here is the output of "dmesg | grep nouveau" which gives all the nouveau output during boot: http://pastebin.com/wQiuwApk
    Last edited by zikaeroh (2014-01-16 05:46:52)

    same problem here.

  • Malformed topic error - RoboHelp 9

    Hi,
    After checking out every suggestion on dealing with this error with no luck (including Peter Grainge's print issues and every other posting on malformed topics), I am at a loss - any help/suggestions on a solution would be GREATLY appreciated.
    I have three single source print layouts in my project - Administration Guide, Operations Guide, and Reference Guide.  A few of the topics are common to several of these layouts.  WebHelp compiles perfectly along with all three different TOCs.
    The Administration Guide generates a printed document, which needs the usual formatting in Word, but all the topics generate.  When I attempt to generate either the Operations or Reference Guide I get the malformed topic error message after about 10 topics - not always on the same topic.  Here's the puzzling thing to me - the topics that hang are topics that generated just fine in the Administration Guide.  Is this perhaps something to with my conditional build tags and the same topics being used for multiple layouts?
    Print Wizard settings:
    Generate Word doc only.
    Location -different folder for each single sourced print Guide
    Conditional Build Expression = None
    I have tried using the Microsoft Word Template styles and the Stylesheet - default.css in turn with the same result.
    I have been scouring the html code for weird leftovers from cutting and pasting topics from a previous Word doc (This project originated in Doc-To-Help, but as I had not created online Help previously, just a pdf output, I started a new project in RoboHelp and created each topic from scratch, but did cut and paste text from the Word doc.  I thought perhaps there might be an issue with Word tables which are plentiful in this project, but the error starts with topics that have no tables in them.
    Any suggestions, thoughts VERY WELCOME
    Many thanks in advance,
    Sally

    I encountered a Malformed Topic error message that I eventually resolved after trying many of the suggested resolutions.
    Here's what I tried that did not resolve the problem:
    Cleaned-up the HTML generated by the MS Word document <Word 2007>
    Ensured my topic/filenames weren't too long
    Removed tables
    Eliminated all Conditional Build Tags
    Deleted the 'offending' document
    Confirmed Memory requirements/capacity (on my machine)
    This did resolve the problem:
    Resolved by reducing the size of large file(s) - (by breaking-up one large document into many documents)
    Also of interest, the large document did contain many tables, which probably aggravated the condition (malformed topic)
    The environment
    I use RoboHelp Version 9.0.2
    On a network
    Also have a Local copy
    Use Visual Source Safe
    Have 351 Topics
    Printed doc approx. 850 pages
    Source docs are MS Word 2007
    Use RH Style Sheet and applicable Word settings
    I hope this info will help you determine which resolution is right for your situation!
    Cara
    Tech. Writer
    |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |||||||||||||||||||||||

  • The declaration of the type of this expression is incompleteor malformed

    error 320 at line 22 column 14
    the declaration of the type of this expression is incompleteor malformed
    error 0 at line 22,column 4
    statement ignored
    DECLARE
         v_value VARCHAR2(50);
         v_prod_id varchar2(100);
         v_prod_name VARCHAR2(100);
    BEGIN
         v_value:=:product.SIZE_LONG;
         v_prod_id:=:product.prod_id;
         v_prod_name:=:product.prod_name;
         IF v_value is not null then
         insert into product (prod_id,prod_name,DRESS_COMPOSITION,WASH_LABEL_INSTRUCTION,PRESSING_CHARGE,DYEING_CHARGE,
         EXTRA_CHARGE,FINISHING_CHARGE,ITEM_TYPE,TOTAL_FOB,SEASON_YEAR,INTERSTAT_CODE,RETAIL_EURO,WHOLESALE_EURO,
         RETAIL_USD,WHOLESALE_USD,RETAIL_GBP,WHOLESALE_GBP,CATEGORY)
         values (v_prod_id||'-L',v_prod_name||'-Long',:product.DRESS_COMPOSITION,:product.WASH_LABEL_INSTRUCTION,
         :product.PRESSING_CHARGE,:product.DYEING_CHARGE,:product.EXTRA_CHARGE,:product.FINISHING_CHARGE,:product.ITEM_TYPE,
         :product.TOTAL_FOB,:product.SEASON_YEAR,:product.INTERSTAT_CODE,:product.RETAIL_EURO,
         :product.WHOLESALE_EURO,:product.RETAIL_USD,
         :product.WHOLESALE_USD,:product.RETAIL_GBP,:product.WHOLESALE_GBP,:product.CATEGORY);
         LOOP
              insert into product_detail1(prod_id,item_code,item_name,qty,price,unit,avg_rate)
              values (:product_detail1.prod_id,:product_detail1.item_code,:product_detail1.item_name,
              :product_detail1.qty,:product_detail1.price,:product_detail1.unit,:product_detail1.avg_rate);
                   exit when NO_DATA_FOUND;
              NEXT_RECORD;
         END LOOP;
    elsif
         v_value is  null then
         delete from product where prod_id=(v_prod_id||'-L');
    end if;
    END;Please Guide
    why this errro comes
    Thanks And Regards
    Vikas Singhal

    i did that
         GO_BLOCK('product_detail1');
         FIRST_RECORD;
         LOOP
              insert into product_detail1(prod_id,item_code,item_name,qty,price,unit,avg_rate)
              values (v_prod_id||'-L',:product_detail1.item_code,:product_detail1.item_name,
              :product_detail1.qty,:product_detail1.price,:product_detail1.unit,:product_detail1.avg_rate);
              MESSAGE('KKKKKKKKKKKKK');
                   exit when :system.last_record = 'true';
                   NEXT_RECORD;
              END LOOP;
    AFTER THAT GIVING ERROR
    FRM: 40102 Record Must be Deleted Or enetered First
    the user requirement is
    i) First record is enetered
    master and detail
    after that he want same record for another record the only change is prod_code
    for LARGE,SMALL or SHORT etc.
    so i will create a button on form and a field with name size if the user choose the size and press the button then the one record is to insert in master detail and the prod_code is cahnged
    please guide
    Thanks And Regards
    vikas Singhal
    Edited by: vikas singhal on Aug 20, 2010 5:59 PM

  • SIP/2.0 400 Bad Request - 'Malformed/Missing URL'

    I have a problem with inbounds calls from an IP PBX to a callmanager 7.X. The call can not be stablished. This is the capture log of the call
    ***************************** SIP message buffer start *****************************
    INVITE sip:172.24.164.7 SIP/2.0
    Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
    To:
    From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876
    CSeq: 487 INVITE
    Call-ID: [email protected]ygi-con...
    Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, NOTIFY, REFER, MESSAGE, UPDATE
    Contact:
    Content-Type: application/sdp
    Supported: replaces, norefersub
    User-Agent: Epygi Quadro SIP User Agent/v5.3.2 (MIDIGW)
    Max-Forwards: 70
    Content-Length: 390
    v=0
    o=- 170 395 IN IP4 10.151.100.12
    s=-
    c=IN IP4 10.151.100.12
    t=0 0
    m=audio 6052 RTP/AVP 0 8 96 97 2 98 18 102 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:96 G726-16/8000
    a=rtpmap:97 G726-24/8000
    a=rtpmap:2 G726-32/8000
    a=rtpmap:98 G726-40/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:102 iLBC/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    ***************************** SIP message buffer end ******************************
    13:57:05 Receive SIP message # (31/03/2014 18:57:05:315 GMT) # UDP # 494 bytes # buff size 1 # from: 172.24.164.7:5060 # to: 10.151.100.12:5060
    ***************************** SIP message buffer start *****************************
    SIP/2.0 400 Bad Request - 'Malformed/Missing URL'
    Reason: Q.850;cause=100
    Date: Mon, 31 Mar 2014 18:57:17 GMT
    From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876
    Allow-Events: presence
    Content-Length: 0
    To: ;tag=1787501341
    Call-ID: [email protected]ygi-con...
    Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
    CSeq: 487 INVITE
    ***************************** SIP message buffer end ******************************
    13:57:05 TLayer::MsgToTU # Msg type: 400 # TID: 286 # DID: 285
    13:57:05 Try to send SIP message # (31/03/2014 18:57:05:316 GMT) # UDP # 459 bytes # buff size 1 # from: 10.151.100.12:5060 # to: 172.24.164.7:5060
    ***************************** SIP message buffer start *****************************
    ACK sip:172.24.164.7 SIP/2.0
    Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
    To: ;tag=1787501341
    From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876
    CSeq: 487 ACK
    Call-ID: [email protected]ygi-con...
    User-Agent: Epygi Quadro SIP User Agent/v5.3.2 (MIDIGW)
    Max-Forwards: 70
    Content-Length: 0
    ***************************** SIP message buffer end ******************************
    13:57:05 SipSessDlg::Inc4xxProc # Got 400 message # OID: 285 # SID: 16249136886150664
    13:57:05 SipSessDlg::ErrorHandling # Error: Negotiation, Move to terminate state # OID: 285 # SID: 16249136886150664
    13:57:05 UA --> CM # ReportError # Error: Negotiation # Sip error: 400 # SID: 16249136886150664
    13:57:05 SipSessDlg::TerminateTransactions # OID: 285 # SIPID: [email protected]ygi-con... # SID: 16249136886150664
    Can anyone help me?

    Hello, did you edit the logs before posting it here? if not, then we are missing the fields in the incoming INVITE message from PBX.
    No phone numbers in the Invite header and From & To fields are also missing.
    Please check with the PBX.
    ***************************** SIP message buffer start *****************************
    INVITE sip:172.24.164.7 SIP/2.0 ----> Number missing here
    Via: SIP/2.0/UDP 10.151.100.12:5060;rport;branch=z9hG4bKEPSVBUS863e8efa-5b23-4053-89c5-67c08916ac85
    To: ----> Number missing here
    From: ;tag=13946664875f3f5b48-2149-4cab-9f44-32090d7cf876 ----> Number missing here
    CSeq: 487 INVITE
    Call-ID: [email protected]ygi-config.loc
    Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, INFO, NOTIFY, REFER, MESSAGE, UPDATE
    Contact:
    Content-Type: application/sdp
    Supported: replaces, norefersub
    User-Agent: Epygi Quadro SIP User Agent/v5.3.2 (MIDIGW)
    Max-Forwards: 70
    Content-Length: 390
    v=0
    o=- 170 395 IN IP4 10.151.100.12
    s=-
    c=IN IP4 10.151.100.12
    t=0 0
    m=audio 6052 RTP/AVP 0 8 96 97 2 98 18 102 101
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000
    a=rtpmap:96 G726-16/8000
    a=rtpmap:97 G726-24/8000
    a=rtpmap:2 G726-32/8000
    a=rtpmap:98 G726-40/8000
    a=rtpmap:18 G729/8000
    a=fmtp:18 annexb=no
    a=rtpmap:102 iLBC/8000
    a=rtpmap:101 telephone-event/8000
    a=fmtp:101 0-15
    //Suresh
    Please rate all the useful posts

  • Startup problem - "truncated or malformed library" flashing message

    I was updating the software on my iBook G4 (hadnt done so in a while so it was about 11 items) and i think the battery ran out or something as when i next looked the screen was black as if it had shut down.
    Now i cant seem to get it to startup again. The chime is heard then the grey screen with the logo appears but after that the screen goes black with a flashing message:
    dyld: -sh truncated or malformed library: /user/lib/libncurses.5.dylib (file is empty)
    underneath that is the date and time (still changing), followed by:
    init: single user shell terminated, restarting
    ...and its just stuck here. sorry i im not too familiar about what to do in this situation. thanks in advance.
    ibook G4 Mac OS X (10.3.4)

    Yes, you should be able to use the Install Disk for your other iBook, but you may have to install it in a particular way. However, I would suggest you trying to reset your NVRAM on the broken iBook. Follow these directions (from http://docs.info.apple.com/article.html?artnum=106482) to do this:
    1. Start up into Open Firmware by pressing and holding the Command-Option-O-F key combination during startup.
    2. At the Open Firmware prompt, type: reset-nvram
    3. Press Return.
    4. When prompted for your password, enter it and press the Return key. It responds OK.
    5. At the Open Firmware prompt, type: reset-all
    6. Press Return.
    The iBook should reboot and maybe it will boot Mac OS X. If not, you can do two things to try installing Mac OS X from your the Install Media for the other iBook.
    1) Try booting the broken iBook from the Install Disk by holding down the C key (until you see Mac OS X begin to boot) after turning the iBook on.
    2) If the Installer reports that your iBook isn't supported do this:
    a) Eject the Install Disk by holding down the mouse button while the iBook is booting.
    b) Put the broken iBook into Firewire Target Disk Mode and connect it to the other iBook. Turn on the other iBook and boot from the Install Disk. Choose to install Mac OS X on the drive in the broken iBook (which will appear as a Firewire hard drive in the Installer). Installing from a system specific Install Disk doesn't always work, but it's worth a shot. Good luck!
    PowerMac G5   Mac OS X (10.4.6)   1GB RAM, nvidia 6800 ultra, Apple 30" Cinema Display

Maybe you are looking for