Invalid bitmap data from drawing

Hey guys, this is my codes:
private function loaderComplete(event:Event):void
graphics.clear();
var loaderInfo:LoaderInfo = LoaderInfo(event.target);
bitmapData = new BitmapData(loaderInfo.width, loaderInfo.height);
bitmapData.draw(loaderInfo.loader);
graphics.beginFill(data.color);
graphics.beginBitmapFill(bitmapData);
graphics.drawRect(0,0,loaderInfo.loader.width,loaderInfo.loader.height);
graphics.endFill();
And I encounter this error: ArgumentError: Error #2015: Invalid BitmapData.
Is there anything I miss out or something like that?

What are you loading?
Check the properties on the BitmapData.

Similar Messages

  • BD/ctor-ArgumentError: Error #2015:Invalid Bitmap Data

    When upload to the server the following error occurs: BD/ctor-ArgumentError: Error #2015:Invalid Bitmap Data or Muse freezes.

    Hello,
    On the weekend, I tried to upload my website again. I got an interesting error message.
    Error: Error #1000: The system is out of memory.
                at flash.data::SQLStatement/internalExecute()
                at flash.data::SQLStatement/execute()
                at Function/http://adobe.com/AS3/2006/builtin::apply()
                at com.adobe.muse.framework.database::RecordManager$/retryOnSQL3119Errors()
                at com.adobe.muse.framework.database::RecordManager$/getRecordFromTable()
                at com.adobe.muse.framework.database::RecordManager/getRecord()
                at com.adobe.muse.framework.objectModel::DataBase/getDBRecord()
                at com.adobe.muse.framework.objectModel::DataBase/instantiate()
                at com.adobe.muse.framework.objectModel::PersistContext/instantiate()
                at com.adobe.muse.framework.objectModel::PersistList/getItemAt()
                at mx.collections::ListCollectionView/getItemAt()
                at mx.collections::ListCollectionView/http://www.adobe.com/2006/actionscript/flash/proxy::nextValue()
                at com.adobe.muse.site.links::BaseLink/getProxy()
                at com.adobe.muse.site.links::BaseLink/hasLinkProxy()
                at com.adobe.muse.site.links::BaseLink/isMediaLink()
                at com.adobe.muse.site.links::BaseLink/needMoreImageData()
                at com.adobe.muse.site.links::LinkUtils$/getUnexpectedLinkStatuses()
                at com.adobe.muse.importExport::ExportUtil$/preflightLinksInActiveDoc()
                at com.adobe.muse.importExport.html.ui::MuseExportMenuRegion/onChildItemClick()
                at com.adobe.muse.framework.menus::MuseMenuRegionBase/onChildItemClickEvent()
                at flash.events::EventDispatcher/dispatchEventFunction()
                at flash.events::EventDispatcher/dispatchEvent()
                at com.adobe.muse.framework.menus::MuseMenuItemBase/onClick()
                at flash.events::EventDispatcher/dispatchEventFunction()
                at flash.events::EventDispatcher/dispatchEvent()
                at com.adobe.muse.framework.menus::MuseMenuManager/onMenuItemSelect()
                at flash.events::EventDispatcher/dispatchEventFunction()
                at flash.events::EventDispatcher/dispatchEvent()
                at com.adobe.pash.air::AIRMenuManager/onClickMenuItem()
    There is also the latest MuseLog.txt.
    Von: Zak Williamson (Adobe) [email protected]
    Gesendet: Freitag, 21. Juni 2013 19:58
    An: Mondputzer
    Betreff: BD/ctor-ArgumentError: Error #2015:Invalid Bitmap Data
    Re: BD/ctor-ArgumentError: Error #2015:Invalid Bitmap Data
    created by  <http://forums.adobe.com/people/ZakWilliamson%28Adobe%29> Zak Williamson (Adobe) in Help with using Adobe Muse CC -  <http://forums.adobe.com/message/5436292#5436292> View the full discussion

  • Invalid Bitmap Data error when Flex tries to play a Crossfade transition?

    Hi All,
    I've got a Grid like this in my Flex 4 app.  When the view that contains this Grid is visible, and the view is changed to another view, my application tries to play the Crossfade effect as the transition to the other view.  My transition is defined like this:
         <s:transitions>
              <s:Transition fromState="*" toState="*">
                   <s:Parallel>
                        <s:CrossFade duration="150" target="{this}" />
                   </s:Parallel>
              </s:Transition>
         </s:transitions>
    This applies the transition to any view.  There's only one effect in there at the moment but it's in a Parallel block since I've experimented with multiple transitions.
    Now, when I'm on a view where this Grid is visible, and I try to transition to another view, I get an "Invalid BitmapData" error.  HEre's the complete stack trace:
    ArgumentError: Error #2015: Invalid BitmapData.
         at flash.display::BitmapData/ctor()
         at flash.display::BitmapData()
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:99]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getRealBounds()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:135]
         at spark.utils::BitmapUtil$/getSnapshot()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\utils\BitmapUtil.as:63]
         at spark.effects::AnimateTransitionShader/getValueFromTarget()[E:\dev\4.0.0\frameworks\projects\spark\src\spark\effects\AnimateTransitionShader.as:283]
         at mx.effects::Effect/http://www.adobe.com/2006/flex/mx/internal::captureValues()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\effects\Effect.as:1462]
         at mx.effects::CompositeEffect/http://www.adobe.com/2006/flex/mx/internal::captureValues()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\effects\CompositeEffect.as:377]
         at mx.effects::CompositeEffect/captureStartValues()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\effects\CompositeEffect.as:358]
         at mx.core::UIComponent/commitCurrentState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9778]
         at mx.core::UIComponent/setCurrentState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9701]
         at mx.core::UIComponent/set currentState()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:6087]
         at main/previousButton_clickHandler()[C:\Data\dev\Flex\main\src\main.mxml:48]
         at main/__previousButton_click()[C:\Data\dev\Flex\main\src\main.mxml:241]
    Here's what the grid looks like.  I experimented with adding and removing controls from the grid, and eventually narrowed it down to a a VGroup I've got in the grid.  If I remove that VGroup (and all it's children), the transition plays fine.  Add it back in, and everything blows up again.  I tried using a VBox instead of a VGroup, but there was no change--same error.  I also tried getting rid of horizontalAlign="center", and again, no change.
    <mx:Grid id='membershipGrid' >
         <mx:GridRow>
              <mx:GridItem>
              </mx:GridItem>
              <mx:GridItem>
                   <s:Label text="One Year" fontWeight="bold"/>
              </mx:GridItem>
              <mx:GridItem>
                   <s:Label text="Two Year" fontWeight="bold"/>
              </mx:GridItem>
              <mx:GridItem>
                   <s:Label text="5 Year" fontWeight="bold"/>
              </mx:GridItem>
              <mx:GridItem>
                   <!-- Comment out this VGroup, and everything works fine -->
                   <s:VGroup horizontalAlign="center">
                        <s:Label text="Monthly Autorenew"  fontWeight="bold"/>
                        <s:Label text="Payment plan option is not available" fontStyle="italic" />
                        <s:Label text="for multiple year memberhips." fontStyle="italic" />
                   </s:VGroup>
              </mx:GridItem>
         </mx:GridRow>
         <mx:GridRow>
              <mx:GridItem>
                   <s:Label text="Standard Membership" />
              </mx:GridItem>
              <mx:GridItem>
                   <s:RadioButton id="standardOneYear" group="{membershipTypeSelection}"
                                     label="{pricing.getMembership(MembershipName.STANDARD_ONE_YEAR).currencyPrice}" />
              </mx:GridItem>
              <mx:GridItem>
                   <s:RadioButton id="standardTwoYear" group="{membershipTypeSelection}"
                                     label="{pricing.getMembership(MembershipName.STANDARD_TWO_YEAR).currencyPrice}" />
              </mx:GridItem>
              <mx:GridItem>
                   <s:RadioButton id="standardFiveYear" group="{membershipTypeSelection}"
                                     label="{pricing.getMembership(MembershipName.STANDARD_FIVE_YEAR).currencyPrice}" />
              </mx:GridItem>
              <mx:GridItem horizontalAlign="center">
                   <s:RadioButton id="monthlyAutorenew" group="{membershipTypeSelection}"
                                     label="{pricing.getMembership(MembershipName.MONTHLY_AUTORENEW).currencyPrice}" />
              </mx:GridItem>
         </mx:GridRow>
    </mx:Grid>
    So, what's going on?  How can I get this transition to work?  Thanks!

    Flex harUI wrote:
    Sometimes that can happen if something gets sized too small.
    Thanks for suggesting that.  It got me thinking about some other things, and I then realized that the Grid itself was in a container with TileLayout, and a requestedColumnCount of 5.  That was a mistake--I had initially been playing with the TileLayout for my "grid" but then switched to using an actual mx:Grid control, and should have gotten rid of the TileLayout with the requestedColumnCount of 5.
    I changed my layout object to an instance of VerticalLayout, and now the problem has gone away.
    My theory, based on your suggestion that something might be sized "too small," is that when I added enough controls to my Grid (which all appeared in tile 1), tiles 2 through 5 got "too small" and thus Invalid BitmapData errors were thrown when the transition tried to figure out what bitmaps to fade in/out.
    Sound reasonable?
    Now I just have to re-enable all the other controls that I disabled while trying to hunt down this problem, and hopefully the Invalid BitmapData error won't recur.
      -Josh

  • Graphics clear() doesn't clear bitmap data from beginBitmapFill()?

    I'm working on a game whose background has many layers that each scroll at different speeds.
    Inside each layer I have a Sprite, I've started using graphics.beginBitmapFill, but what I've found is that the graphics.clear() function doesn't actually clear the contents set by the previous call to graphics.begin.BitmapFill.
    Each frame, I adjust the matrix to shift the layer as needed.  Then, I call graphics.clear() and graphics.beginBitmapFill() with the adjusted matrix. Since my layers have alphas in the bitmap, I can see the contents that was drawn the previous frame.
    Any thoughts?

    I did the clear on the "graphics" object of the Sprite, but not the BitmapData the sprite is rendered too.
    5 hours of messing with it, just to find the solution 10 minutes after I post.   Ain't that the way it works ;)
    Thanks

  • Bitmap data can't draw MC with FLV

    I've created a prototype that will copy the pixel data from a movie clip then create a JPG image from it via PHP. It works perfectly. But when the MovieClip (called mcImage) contains a Video Object loaded with a streamed FLV, it won't copy the pixel data to the Bitmap object. The image generated is white. Here's a sample code:
    var oBitmap:BitmapData = new BitmapData(nW, nH, true);
    var oMatrix = new Matrix();
    var oColorTrans:ColorTransform = new ColorTransform();
    var oRect:Rectangle = new Rectangle(0, 0, nW, nH);
    oMatrix.translate(-nX, -nY);
    oBitmap.draw(mcImage, oMatrix, oColorTrans, 1, oRect);
    Is there something i am missing?

    Hi kglad, thanks for your response. Yes i'm calling that code after the FLV is streamed. But it captures after the FLV content is stopped. By the way, i found the reason. It's a security measure to prevent streamed video theft. But i found an article how to take video screen shots at http://www.adobe.com/devnet/flashmediaserver/articles/protecting_video_fms.html. It requires a change in FMS and Flash Player. Do you have any ideas? I'll read the article first.

  • I have forgotten my password for icloud, have an invalid email address and do not know my security answers. How can I transfer all my data from my old iphone to the new one?

    I have forgotten my password for icloud, have an invalid email address and do not know my security answers. How can I transfer all my data from my old iphone to the new one?

    In this case you won't be able to do that?

  • SSIS 2012 is intermittently failing with below "Invalid date format" while importing data from a source table into a Destination table with same exact schema.

    We migrated Packages from SSIS 2008 to 2012. The Package is working fine in all the environments except in one of our environment.
    SSIS 2012 is intermittently failing with below error while importing data from a source table into a Destination table with same exact schema.
    Error: 2014-01-28 15:52:05.19
       Code: 0x80004005
       Source: xxxxxxxx SSIS.Pipeline
       Description: Unspecified error
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC0202009
       Source: Process xxxxxx Load TableName [48]
       Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Invalid date format".
    End Error
    Error: 2014-01-28 15:52:05.19
       Code: 0xC020901C
       Source: Process xxxxxxxx Load TableName [48]
       Description: There was an error with Load TableName.Inputs[OLE DB Destination Input].Columns[Updated] on Load TableName.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed
    the specified type.".
    End Error
    But when we reorder the column in "Updated" in Destination table, the package is importing data successfully.
    This looks like bug to me, Any suggestion?

    Hi Mohideen,
    Based on my research, the issue might be related to one of the following factors:
    Memory pressure. Check there is a memory challenge when the issue occurs. In addition, if the package runs in 32-bit runtime on the specific server, use the 64-bit runtime instead.
    A known issue with SQL Native Client. As a workaround, use .NET data provider instead of SNAC.
    Hope this helps.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • LPX-00601: Invalid token in: err while trying to read data from xml

    Hey ,
    While trying to read data from xml i got err:
    LPX-00601: Invalid token in: 'path'
    the proc. i'm using to read data from the xml is:
    procedure read_xml_file_test (in_filename in varchar2)
    is
    my_dir  varchar2(20) := 'XML_DIR;
      cur_emp2 number:=0;
      l_bfile   BFILE;
      l_clob    CLOB;
      l_parser  dbms_xmlparser.Parser;
      l_doc     dbms_xmldom.DOMDocument;
      l_nl      dbms_xmldom.DOMNodeList;
      l_nl2    dbms_xmldom.DOMNodeList;
      l_n       dbms_xmldom.DOMNode; 
      l_n2     dbms_xmldom.DOMNode;
      l_temp    VARCHAR2(1000);
    v_errors        internet_clients.errors%type; 
    src_csid       NUMBER := NLS_CHARSET_ID('UTF8'); 
    dest_offset    INTEGER := 1;
    src_offset     INTEGER := 1;
    lang_context   INTEGER := dbms_lob.default_lang_ctx;
    warning        INTEGER;
    v_count       number := 0;   --total records
    v_count_s      number := 0;   -- sucsess record
    v_count_f      number := 0;   -- failed record
    v_flag varchar2(1);
    v_char2 varchar2(1);
    v_l1 VARCHAR2(255);
    v_l2 VARCHAR2(255);
    v_l3 VARCHAR2(255);
    v_l4 VARCHAR2(255);
    v_l6 VARCHAR2(255);
    BEGIN
      l_bfile := BFileName(my_dir, in_filename);
      dbms_lob.createtemporary(l_clob, cache=>FALSE);
      dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
      dbms_lob.loadclobfromfile(l_clob, l_bfile, dbms_lob.getlength(l_bfile), dest_offset,src_offset, src_csid, lang_context, warning);                        
      dbms_lob.close(l_bfile);
      -- make sure implicit date conversions are performed correctly
      dbms_session.set_nls('NLS_DATE_FORMAT','''DD/MM/RR HH24:MI:SS''');   
      -- Create a parser.
      l_parser := dbms_xmlparser.newParser;
      -- Parse the document and create a new DOM document.
        dbms_xmlparser.parseClob(l_parser, l_clob);
        l_doc := dbms_xmlparser.getDocument(l_parser);
      -- Free resources associated with the CLOB and Parser now they are no longer needed.
      dbms_lob.freetemporary(l_clob);
      dbms_xmlparser.freeParser(l_parser);  
      -- Get a list of all the  nodes in the document using the XPATH syntax.
      l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');
      -- Loop through the list and create a new record in a tble collection
      -- for each  record.
      FOR cur_emp IN 0 .. dbms_xmldom.getLength(l_nl) - 1 LOOP
       l_n := dbms_xmldom.item(l_nl, cur_emp);
       cur_emp2:=0;
       loop
         v_count := v_count + 1;
         begin
        -- Use XPATH syntax to assign values to he elements of the collection.
        dbms_xslprocessor.valueOf(l_n,'L1/text()',v_l1);
        dbms_xslprocessor.valueOf(l_n,'L2/text()',v_l2);
        dbms_xslprocessor.valueOf(l_n,'L3/text()',v_l3);
        dbms_xslprocessor.valueOf(l_n,'L4/text()',v_l4);
        dbms_xslprocessor.valueOf(l_n,'L6/text()',v_l6);
            exception
      when others then 
      null;
      end;
    exit when cur_emp2=dbms_xmldom.getLength(l_nl2);
      END LOOP;
      end loop;
      -- Free any resources associated with the document now it
      -- is no longer needed.
      dbms_xmldom.freeDocument(l_doc);
      --remove file to another directory   
          --COMMIT;  -- do not use the commit if you want to run this proc. from within the search_dir_list proc , because it execute a select from tmp table dir_list which contain a "on commit delete rows"  clause.    
      /*EXCEPTION
      /*WHEN OTHERS THEN
       dbms_lob.freetemporary(l_clob);
        dbms_xmlparser.freeParser(l_parser);
       dbms_xmldom.freeDocument(l_doc);
        null;
        ROLLBACK; */
    END;While trying to execute this i got:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: 'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP'
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 939
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 967
    ORA-06512: at "MARKET.READ_XML_FILE_TEST", line 51
    ORA-06512: at line 1
    i guess i mised somthing at the line
    l_nl := dbms_xslprocessor.selectNodes(dbms_xmldom.makeNode(l_doc),'soap:Envelope/soap:Body/GetFieldsNameResponse/GetFieldsNameResult/diffgr:diffgram/DataSet_FRM_GANERIC_PROP/FRM_GANERIC_PROP');i attached here part of my xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <soap:Body>
    - <GetFieldsNameResponse xmlns="http://tempuri.org/">
    - <GetFieldsNameResult>
    - <xs:schema id="DataSet_FRM_GANERIC_PROP" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    - <xs:element name="DataSet_FRM_GANERIC_PROP" msdata:IsDataSet="true" msdata:Locale="he-IL">
    - <xs:complexType>
    - <xs:choice minOccurs="0" maxOccurs="unbounded">
    - <xs:element name="FRM_GANERIC_PROP">
    - <xs:complexType>
    - <xs:sequence>
      </xs:sequence>
      </xs:complexType>
      </xs:element>
      </xs:choice>
      </xs:complexType>
      </xs:element>
      </xs:schema>
    - <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
    - <DataSet_FRM_GANERIC_PROP xmlns="">
    - <FRM_GANERIC_PROP diffgr:id="FRM_GANERIC_PROP1" msdata:rowOrder="0">
      <L1>val1</L1>
      <L2>val2</L2>
      <L3>val3</L3>
      <L4>val4</L4>
      <L6>val6</L6>
      </FRM_GANERIC_PROP>
      </DataSet_FRM_GANERIC_PROP>
      </diffgr:diffgram>
      </GetFieldsNameResult>
      </GetFieldsNameResponse>
      </soap:Body>
      </soap:Envelope>I Guess it somthing that have to do with node definition ,
    but i have tried so many combinations and none ot those worked for me.
    i'm deeply stuck here.
    What do i miss here?
    THANKS yair
    Edited by: yair_k on 02:30 14/10/2010

    Hey , after got a lot of success with the xml reading part , i wonder if you
    can help me with a problem while trying to reading that xml from a web service.
    i use a procedure as followes:
    FUNCTION read_from_web_service(in_username in varchar2 , in_password in varchar2)
      RETURN CHAR
    AS
      l_service          UTL_DBWS.service;
      l_call             UTL_DBWS.call;
      l_a_ns                     VARCHAR2(32767);
      l_wsdl_url         VARCHAR2(32767);
      l_namespace        VARCHAR2(32767);
      l_service_qname    UTL_DBWS.qname;
      l_port_qname       UTL_DBWS.qname;
      l_operation_qname  UTL_DBWS.qname;
      l_xmltype_in       SYS.XMLTYPE;
      l_xmltype_out      SYS.XMLTYPE;
      l_return           VARCHAR2(32767);
    BEGIN
      l_wsdl_url        := 'http://www.company.com/publisherService/ServiceGetpublisherTable.asmx?wsdl';
      l_namespace       := 'http://tempuri.org/';
      l_service_qname   := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTable');
      l_port_qname      := UTL_DBWS.to_qname(l_namespace, 'ServiceGetpublisherTableSoap');
      l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'GetFieldsName');
      l_service := UTL_DBWS.create_service (
        wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
        service_name           => l_service_qname);
      l_call := UTL_DBWS.create_call (
        service_handle => l_service,
        port_name      => l_port_qname,
        operation_name => l_operation_qname);
      l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
        <GetFieldsName xmlns="' || l_namespace || '">
        <user>' || in_username || '</user>
        <password>'|| in_password || '</password>
        </GetFieldsName>');
      l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
                                       request     => l_xmltype_in);
      UTL_DBWS.release_call (call_handle => l_call);
      UTL_DBWS.release_service (service_handle => l_service);
      l_return := l_xmltype_out.extract('//GetFieldsName/text()').getstringVal();
       dbms_output.put_line(l_return);     
      RETURN l_return;
    END;but when i run it i got message:
    ORA-29532: Java call terminated by uncaught Java exception: javax.xml.rpc.soap.SOAPFaultException: Server did not recognize the value of HTTP Header SOAPAction: .
    regarding the line:
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    So , i deeply stuck here!
    my web service description is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    - <wsdl:types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
    - <s:element name="GetFieldsName">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetFieldsNameResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetFieldsNameResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="GetMSG_ByUser_Not_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
    - <s:element minOccurs="0" maxOccurs="1" name="GetMSG_ByUser_Not_ReadedResult">
    - <s:complexType>
    - <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_Readed">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="user" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="password" type="s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="Rec_Id" type="s:string" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:element name="SetMSG_ByUser_Not_Readed_As_ReadedResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="SetMSG_ByUser_Not_Readed_As_ReadedResult" type="s:boolean" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </wsdl:types>
    - <wsdl:message name="GetFieldsNameSoapIn">
      <wsdl:part name="parameters" element="tns:GetFieldsName" />
      </wsdl:message>
    - <wsdl:message name="GetFieldsNameSoapOut">
      <wsdl:part name="parameters" element="tns:GetFieldsNameResponse" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_Readed" />
      </wsdl:message>
    - <wsdl:message name="GetMSG_ByUser_Not_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:GetMSG_ByUser_Not_ReadedResponse" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapIn">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_Readed" />
      </wsdl:message>
    - <wsdl:message name="SetMSG_ByUser_Not_Readed_As_ReadedSoapOut">
      <wsdl:part name="parameters" element="tns:SetMSG_ByUser_Not_Readed_As_ReadedResponse" />
      </wsdl:message>
    - <wsdl:portType name="ServiceGetpublisherTableSoap">
    - <wsdl:operation name="GetFieldsName">
      <wsdl:input message="tns:GetFieldsNameSoapIn" />
      <wsdl:output message="tns:GetFieldsNameSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <wsdl:input message="tns:GetMSG_ByUser_Not_ReadedSoapIn" />
      <wsdl:output message="tns:GetMSG_ByUser_Not_ReadedSoapOut" />
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <wsdl:input message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapIn" />
      <wsdl:output message="tns:SetMSG_ByUser_Not_Readed_As_ReadedSoapOut" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ServiceGetpublisherTableSoap" type="tns:ServiceGetpublisherTableSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:binding name="ServiceGetpublisherTableSoap12" type="tns:ServiceGetpublisherTableSoap">
      <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="GetFieldsName">
      <soap12:operation soapAction="http://tempuri.org/GetFieldsName" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="GetMSG_ByUser_Not_Readed">
      <soap12:operation soapAction="http://tempuri.org/GetMSG_ByUser_Not_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="SetMSG_ByUser_Not_Readed_As_Readed">
      <soap12:operation soapAction="http://tempuri.org/SetMSG_ByUser_Not_Readed_As_Readed" style="document" />
    - <wsdl:input>
      <soap12:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap12:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ServiceGetpublisherTable">
    - <wsdl:port name="ServiceGetpublisherTableSoap" binding="tns:ServiceGetpublisherTableSoap">
      <soap:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
    - <wsdl:port name="ServiceGetpublisherTableSoap12" binding="tns:ServiceGetpublisherTableSoap12">
      <soap12:address location="http://www.company.com/publisherService/ServiceGetpublisherTable.asmx" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>also i have to mention that i have changed publisher references inside the code , and i also canot
    supply username and password , so i guess you canot test it. still i not shure if my definitions (namespace est.) inside my code defined correctly.
    hope you can help me with this.
    regards
    yair

  • Extract image data from a bitmap image in C# HELP Please!!

    Hi there, 
    I am trying to extract the image data from a bitmap file - i.e. delete the image's BMP header.
    But I keep getting an error (System.IndexOutOfRangeException) in line 85 (if I am not mistaken) inFilename = args[0];
    Where the Console Application just crashes. 
    https://msdn.microsoft.com/query/dev12.query?appId=Dev12IDEF1&l=EN-US&k=k(EHIndexOutOfRange);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.5);k(DevLang-csharp)&rd=true
    Any idea what is going wrong? 
    I thank you for your time and help in advance,
    IP
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    namespace ConsoleApplication1
    class Program
    private static string inFilename, outFilename;
    private static string errorMessage;
    private static void ShowUsage()
    Console.WriteLine("BMP2CSV by David Bolton. http://cplus.about.com (C) 2013");
    Console.WriteLine(@"Usage: bmp2csv input[.bmp] [output.csv]");
    Console.WriteLine(@"[means optional]");
    Console.WriteLine("Input extension must be .bmp, ouutput (if supplied) .csv");
    private static bool outputCsv(byte[] data, int width, int height)
    try
    using (var sw = new StreamWriter(outFilename))
    var ptr = 0;
    for (var y = 0; y < height; y++)
    var line = new StringBuilder();
    for (var x = 0; x < width; x++)
    line.Append(data[ptr++].ToString()).Append(',');
    sw.WriteLine(line);
    return true;
    catch
    Console.WriteLine("Error writing to " + outFilename);
    return false;
    private static bool ProcessFile()
    try
    using (var filein = new BinaryReader(File.OpenRead(inFilename)))
    var Signature1 = filein.ReadByte(); // now at 0x1
    var Signature2 = filein.ReadByte(); // now at 0x2
    if (Signature1 != 66 || Signature2 != 77) // Must be BM
    errorMessage = "Input File is not a BMP file";
    return false;
    filein.ReadDouble(); // skip next 8 bytes now at position 0xa
    var Offset = filein.ReadInt32(); // offset in file now at 0ea
    filein.ReadInt32(); // now at 0x12a
    var fileWidth = filein.ReadInt32(); // now at 0x16
    var fileHeight = filein.ReadInt32(); // now at 0x1a
    filein.ReadBytes(Offset - 0x1a); // should now be at offset bytes into file
    var data = filein.ReadBytes((int)filein.BaseStream.Length - Offset);
    // read remainder of file into data- array of bytes
    //Console.WriteLine("Data Length = {0}",data.Length);
    return outputCsv(data, fileWidth, fileHeight);
    catch
    errorMessage = "Error reading " + inFilename;
    return false;
    private static void Main(string[] args)
    errorMessage = "Ok";
    if (!ExtractParameters(args))
    return;
    if (!File.Exists(inFilename))
    Console.WriteLine("Cannot find file " + inFilename);
    return;
    if (ProcessFile())
    Console.WriteLine("file successfully processed - output in " + outFilename);
    else
    Console.WriteLine("File processing failed: " + errorMessage);
    private static bool ExtractParameters(string[] args)
    inFilename = args[0];
    var extension = Path.GetExtension(inFilename);
    if (extension.Length == 0)
    inFilename += ".bmp";
    else
    if (extension.ToUpper() != ".BMP")
    ShowUsage();
    return false;
    switch (args.Count())
    case 1: // No output filename so swap extensions
    outFilename = Path.GetFileNameWithoutExtension(inFilename) + ".csv";
    break;
    case 2:
    { // check outfiulename has no extension or a .csv only
    outFilename = args[1];
    extension = Path.GetExtension(outFilename);
    if (extension.Length == 0)
    outFilename += ".csv";
    else if (extension.ToUpper() != ".CSV")
    ShowUsage();
    return false;
    break;
    default: // no parameters? You get the usage message
    ShowUsage();
    return false;
    return true;

    You probably did not specify the command-line arguments, i.e. the name of input and output files. In order to do this in Visual Studio for debugging, see
    https://msdn.microsoft.com/en-us/library/vstudio/1ktzfy9w(v=vs.100).aspx. So type something like “C:\My Folder\MyFile.bmp” “C:\My Folder\MyOutput.csv”, including quotation marks, according to your real disks and paths.
    The program should be fixed to detect such errors and call
    ShowUsage. Maybe ask the author.

  • Failed to retrieve data from the database/invalid argument provided when employing link between two web services datasources

    Post Author: vpost
    CA Forum: Data Connectivity and SQL
    I am trying to join information from two related web services within CR XI. I have successfully set up the web services as data sources have been able to get to the point where I get good data back. However, when I try to pull in certain fields, I get an error that says "Failed to retrieve data from the database/invalid argument provided". Here's the scenario:
    The web services are structured as follows:Web Service 1 (Artist) has attributes of Artist Name and Date of Birth.Web Service 2 (CD) has attributes of CD Title and Release Date. Underneath each CD are songs, each of which have a Song Title and Artist Name.
    I have defined both web services and defined a link between Artist.Artist Name and CD/Song.Artist Name. I am able to run a report with Song Title and Date of Birth that crosses web services. I am able to run another report with Song Title and CD Title that crosses the different levels in the second web service. However, if I add CD Title to the first report or Date of Birth to the second (both of which effectively force CR to employ the link between the two web services AND the CD/Song hierarchical structure in the second web service, I get the aforementioned error.
    Any assistance understanding how multiple web services can be linked in this manner would be greatly appreciated.
    Thanks in advance.

    Post Author: Mike Wright
    CA Forum: Data Connectivity and SQL
    Not sure about your exact situation, but having similar problem with another application and have tracked down to security. Added user to group Domain Admin and it works fine. It appears to be accessing a subdirectory which it does not have permission to use and then times out and returns the "invalid....". Seems that once the query just over a certain size (and I'm not sure what triggers this) it needs to make use of temparory file disk, intead of ram.
    I'm still trying to track down which temporary it's trying to uses - so if you have any ques.
    cheers

  • Filter out marked data from XY graph (Draw graph)

    Hi there,
    I've a question about "filtering" data from an XY Graph, please see the attachement.
    The graph shows some sample data (white plot) and a red "ballon" plot (you can press left mouse button
    and move over the graph to draw the red plot).
    My need is to get all samples inside the red ballon, but presently I got stuck with it!
    Any Ideas?!
    (The attached VI is saved by LabVIEW2009 version)
    Solved!
    Go to Solution.
    Attachments:
    Paint_XY_Graph.vi ‏24 KB

    To determine id a point is inside of the red baloon it must satisfy the condition where the X,Y is less than any X,Y point and greater than any other X,Y point.   To filter them out remove outliers from the array or set their values to nan to not plot them 
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Ps touch on Android ICS "prepare texture from bitmap data (): -1100"

    Why it appears this quote "prepare texture from bitmap data (): -1100" when i try to add several effect??
    it seems that not all has been installed properly...
    Huawei G615
    Thanks
    Diego

    ok let's try som of them:
    ADJUSTMENT
    BW OK
    Invert OK
    Sturation NO
    Temperature NO
    Curves OK
    Reduce noise NO
    FX BASIC
    Gaussian OK
    Directional blur NO
    Sharpen NO
    Edges OK
    Tint NO
    Lighting NO
    FX STYLIZE
    Gradient NO
    Halftone NO
    Threshold NO
    Glass NO
    Posterize NO
    Old photocopy NO
    Stamp NO
    Ripple NO
    FX ARTISTIC
    Chalck NO
    Graphic Pen NO
    Pencil NO
    Color Drops NO
    Watercolor NO
    Shred NO
    FX PHOTO
    Sepia NO
    Sleepy NO
    Grainy NO
    Soft light NO
    Crop OK
    Resize OK
    Flare OK
    Text OK
    Trasform OK
    Warp OK
    Camera fill OK
    Gradient OK

  • How to import data from corel draw file

    Dear Fellows
    i have a problem which is very interesting. i have a data like
    (rollno, name, course, duration and a photo of the candidate) in corel
    file. the problem is how to import selected data from the corel file
    into the oracle or any other database. Kindly guide me how to do this.
    Regards
    (BASIT)

    This can be automated... Most Windows applications support (or did support) DDE (Dynamic Data Exchange). In its basic form, you can send DDE commands to an application. E.g. load file using this filename, use the selection option on the menu, save the selection as a text file, etc.
    In other words, you can interact with an application using DDE only - no keyboard or mouse input required.
    DDE itself is fairly straightforward and not that difficult to code - the complexity is in the DDE payloads that need to be send to the application to make it behave the way you want it to. In the "old" days, this was documented in some fashion by applications. I cannot recall seeing any specific DDE commands and specs for common Window applications for many years now. Also, DDE was made part of the then new OLE2 spec and have since taken a backseat.
    Not even sure if apps today still properly support it...
    So instead of putting Corel data into Oracle, I would rather look at it the other way. After all, Oracle is the server - not Corel. Have a web front-end (written in APEX) that allows you to specify the participant's details and store this in Oracle.
    Create an export filter in Oracle that dumps this into a XML (or similar) format understood by Corel. Having Corel open this file, convert it, and print it. Then look at how to automated these steps in Corel (using VB for Apps or something).

  • Converting a movieclip to bitmap data (AS3)

    Hi,
    Just been gradually switching over to AS3, and I've hit a
    problem and its doing my nut in because I can't find a way to get
    it to work.
    Basically I want to take a portion of a movieclip and convert
    it into bitmap data into another movieclip.
    I know the basis would be something like:
    var b:BitmapData=new BitmapData(100,100,false);
    var bm:Bitmap=new Bitmap(b);
    mymc.addChild(bm);
    But I can't work out how to get that to pick up the movieclip
    that I'm trying to extract from.
    Hayyyulp.
    The link below is the kind of method I want, but because this
    is drawn at real time it would cause the area to expand with the
    movie clip, when all i want is to extract a portion and place it as
    a surface texture. (draw on the box on the right hand side)
    http://www.visitmyworld.co.uk/body.swf
    Also, I don't really think it necessary to update in
    realtime, that and id assume generating the bitmap area in real
    time would cause major slowdown issues. If anybody has any
    different solutions to what I propose then advice welcome.
    The reason id want a bitmap is that data id want to project
    could be complex layers, ie- items can be dragged on rather than
    just being drawn on.
    Cheers,
    Adam

    And also, whilst we're at it, I seem to have hit a bit of
    trouble with understanding to call a parent function
    ie - in AS2 you would put:
    _parent.myfunction()
    Any ideas?.

  • Convert FLV file to Bitmap data Arrays

    is there such way to do this? I'm doing the FLV files from Bitmap data sequence care of zeropointnine.com
    Is there a way to do this on reverse? Thanks!

    hi
    you could use BitmapData.draw() (see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/BitmapDat a.html#draw()) to copy the current video frame to a new bitmapData object in an Event.ENTER_FRAME listener.

Maybe you are looking for

  • Help Required For HF100 Used With FCE 4 ?

    No, it's not for me. A few days ago Tom Bigley tacked this question onto another HF100 thread but it seems to have gone unnoticed, so I am reprinting it here:- "Forgive me if I am going over old ground but I have just acquired a HF100 and want assura

  • Problem in Nls_lang (words on form appears like ??????????)

    hi i develop forms in old release of developer 10g suit and recompile it in higher release of developer 10g suit i have a problem with language in my forms , all my words on my forms appears question marks like ?????????? i`m using developer 10g suit

  • How to read file with JNI?

    Hello, I want to implement a native function that has as a parameter a File type. For example: public native void readFile(File f); But as far as I know the JNI does not support File type, or I am wrong? One way to solv this problem i of course to co

  • Quicktime error -50 with "H.264 for DSP"

    Hello. When compressing for HD DVD with the profile "H.264 for DVD Studio Pro" (on macosx 10.5.5, QuickTime 7.5.5) I systematically get a QuickTime error -50, about which I am finding no information at all. More, precisely this is what the logs repor

  • Giving input in runtime in defferent methods

    Write a program to find the difference between sum of the squares and the square of the sums of n numbers? If anyone can answer please answer it.