Problem in Applet while communicating with Javascript

Hi,
I’m facing a problem with applet. Applet calls JavaScript methods and vice versa. Applet works fine with JRE 5 to JRE 6 up to build no 1.6.0._7 but it fails with build no 1.6.0_10.
The problem description is given below:
After embedding applet in my HTML page using <OBJECT> tag, I’ve to check either any problem during applet’s execution, I want to get the error reason by calling my defined method getErrorReason() in applet that returns the error reason, I call the getErrorReason() against the applet’s object in JavaScript immediately after embed applet code in my HTML page, a JavaScript errors occurs and my applet fails to perform its execution.
JavaScript error: Object does not support this property.
The error points to the HTML page area where I’m calling getErrorReason() against applet object.
The above JavaScript error occurs after the successful completion of Applet’s init(). I’m facing this problem only in JRE 6 build 1.6.0_10-b33.
Please suggest me any solution.
Thanks in advance.
Regards,
Israr Ahmed

Hi Bharath,
Even i got similar error and i tried deleting the below(Attaching the stack trace is always better way.)
1) delete the folder ‘workspace’ or rename(including all files and subfolders) in the path D:\Documents and Settings\lzcr8r\Documents\SAP\workspace
2) delete all .dtr/.dtc/.metadata directories in your personal folder (e.g. C:\Documents and Settings\lzcr8r).
Restart the IDE once you are done with the above steps.
Second part to increase the virtual mem
1) RtClick on the Shortcut of NWDS -->Properties and in the Target put the below
"C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vmargs -Xms512m -Xmx1536m  "C:\j2sdk1.4.2_08\bin\javaw.exe"
2) You can also try  Creating a bat file with the complete path of your IDE and start your ide from the bat
   content in the bat eg: "C:\Program Files\netbeans-4.1\bin\netbeans.exe" -vmargs -Xms512m -Xmx1536m
Here -Xms512m is the min JVM size and -Xmx1024m is the max JVM size.
You can place this batch file anywhere and double click the batch file.
It will automatically start your IDE
3) if you are using Tomcat you can try creating an env variable and assign Value
Variable Name:  CATALINA_OPTS
Variable Value:  -server -Xmx800m
please award points if usefull.
Regards
Souza
Edited by: Souza Aluri on Apr 9, 2008 9:46 AM

Similar Messages

  • Problem in Signed Applet while communicating with Javascript

    Hi,
    I’m facing a problem with applet. Applet calls JavaScript methods and vice versa. Applet works fine with JRE 5 to JRE 6 up to build no 1.6.0._7 but it fails with build no 1.6.0_10.
    The problem description is given below:
    After embedding applet in my HTML page using <OBJECT> tag, I’ve to check either any problem during applet’s execution, I want to get the error reason by calling my defined method getErrorReason() in applet that returns the error reason, I call the getErrorReason() against the applet’s object in JavaScript immediately after embed applet code in my HTML page, a JavaScript errors occurs and my applet fails to perform its execution.
    JavaScript error: Object does not support this property.
    The error points to the HTML page area where I’m calling getErrorReason() against applet object.
    The above JavaScript error occurs after the successful completion of Applet’s init(). I’m facing this problem only in JRE 6 build 1.6.0_10-b33.
    Please suggest me any solution.
    Thanks in advance.
    Regards,
    Israr Ahmed

    We are using the HttpURLConnection. If I have to go down the stack to the Socket object, well I guess I have to re event the wheel so to speak.
    I have tried both Connection: close and Connection: Keep-Alive. Not at the same time :) but in different intrim releases of test applet.
    // Here is the current incarnation of how I am trying to connect.
    URL url = new URL(sURL);
    trace("attempting to connect to URL: " + sURL, DEBUG);
    connection = (HttpURLConnection)url.openConnection();
    connection.setDoOutput(true);
    connection.setDoInput( true );
    connection.setRequestMethod("POST");
    connection.setUseCaches( false );
    connection.setInstanceFollowRedirects( true );
    connection.setAllowUserInteraction( false );
    connection.setRequestProperty("Pragma", "no-cache");
    connection.setRequestProperty("Expires", "-1");
    connection.setRequestProperty("Connection", "Keep-Alive");
    connection.connect();
    // Now I write our form POST data and flush and close the output stream.
    BufferedOutputStream bos = new BufferedOutputStream(connection.getOutputStream());
    bos.write(sForm.getBytes());
              bos.flush();
    bos.close();
    // Get the input and read
    bis = new BufferedInputStream(connection.getInputStream());
    trace( "reading input stream for action: " + sAction );
    byte[] responseBuffer = new byte[4096];
    int bytesRead = 0;
    while( (bytesRead = bis.read( responseBuffer, 0, responseBuffer.length )) != -1 )
    sbResponse.append( new String( responseBuffer, 0, bytesRead ));
    totalBytesRead += bytesRead;
    catch (Throwable e)
    e.printStackTrace();
    try
    m_connections.remove( sAction );
    connection.disconnect();
    catch ( Throwable t ) {}
    finally
    if ( bis != null )
    try
    bis.close();
    catch( Throwable t ) {}
    With the above code in place what I am now seeing, as opposed to a premature EOF exception, is blocking behavior on the read.

  • Conversion Error: I/O error while communicating with native process

    Hi,
    I am trying to use Oracle Outside In Technology Image Export for conversion of images. I am trying to run the example ExportTest that comes with the downloaded SDK.
    I get the below error while running the ExportTest example.
    Conversion Error: I/O error while communicating with native process .
    Am I missing any settings?
    Please guide to the right forum if this is not the one for posting queries on Oracle Outside In Technology Image Export.
    Thank you.

    Hi Revanth,
    I am using Image Export 8.3.7 and I am trying to run the java class "ExportTest" that is in the location sdk\samplecode\ExJava\Examples\ExportTest\src of the download.
    My input folder has one jpg - puzzle.jpg (this is just a simple jpg), I am trying to convert it to TIFF. ExportTest.java uses the classes in Export.jar . Export.jar is located in the sdk\samplecode\ExJava\Examples\ExportTest . You can see source files of the Export.jar at location sdk\samplecode\ExJava\Java API\src of the download. I am running the 'ExportTest' by providing the arguments (input folder, output folder and ix.cfg - this file comes with the download). So now when I run this class I was getting the error I mentioned in this post. Inorder to find more details about the error I modified the 'Export.java' (at sdk\samplecode\ExJava\Java API\src\com\outsideinsdk) just to printStackTrace when the exception occurs and rebuilt the 'Export.jar' and ran the 'ExportTest.java'.
    And below is the stack trace that I got :
    java.io.IOException: CreateProcess: nullexporter.exe "inputpath_u=AGkAbgBwAHUAdA
    BcAHAAdQB6AHoAbABlAC4ASgBQAEc=" "outputpath_u=AG8AdQBwAHUAdABcAHAAdQB6AHoAbABlAC
    4ASgBQAEcALgBUAEkARgBG" "outputid=FI_TIFF" "fallbackformat=FI_TEXT" "tiffcolorsp
    ace=24BitRGB" "preferoitrendering=false" "tiffcompression=Packbits" "mapbuffersi
    ze=8192" "defaultprintfontheight=20" "graphicwidthlimit=0" "reordermethod=off" "
    unmappablechar=0x002A" "timezone=0" "graphicheightlimit=0" "defaultmarginleft=14
    40" "ssshowheadings=false" "quickthumbnail=false" "graphicoutputdpi=0" "ssdirect
    ion=AcrossandDown" "defaultmarginbottom=1440" "ssshowgridlines=false" "dbshowhea
    dings=false" "readbuffersize=2" "whattoexport=all" "graphicsizelimit=0" "imagewa
    termarkopacity=0" "blue=-1" "handlenewfileinfo=no" "outputid=FI_TIFF" "lzwcompre
    ssion=enabled" "usedocpagesettings=true" "defaultmarginright=1440" "numberofstat
    callbacks=0" "dbfittopage=NoScaling" "tempbuffersize=2048" "pdffilterreorderbidi
    =no" "imagecropping=nocropping" "defaultmargintop=1440" "documentmemorymode=larg
    e" "m?
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:66)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:566)
    at java.lang.Runtime.exec(Runtime.java:491)
    at java.lang.Runtime.exec(Runtime.java:457)
    at com.outsideinsdk.Export.convert(Export.java:262)
    at com.outsideinsdk.ExportTest.convert(ExportTest.java:142)
    at com.outsideinsdk.ExportTest.main(ExportTest.java:214)
    hope this helps to find the problem.
    Thank you

  • Error while communicating with the server

    Hi Experts,
    I'm having the following issue, when I try to send data using an input schedule the server says that there was an error while communicating with the server and don't send the data, I took a look at the log file and it says the following,
    ==============[BPC Logging]==============
    [Message Type] : ERROR
    [Job Name]     : OSoft.Services.Application.FileAccessService.FileAccessServiceProxy
    [DateTime]     : 4/6/2011 8:42:44 AM
    [UserId]       : CAMESAP\BPC_SYSADMIN
    [Message]       : UJF_EXCEPTION E018     Cannot find document/directory 0
    ==============[BPC Logging End ]==============
    Also i went to take a look at the default script logic, because i remember that this error happened to me when i wrongly program an script logic in the default.lgf  but it shows me the following error when I open it,
    System.InvalidCastExeption: Specified cast is not valid
    at System.data.DataColumnCollection.get_Item(String name)
    at System.data.DataRow.get_Item(String columnName)
    at Osoft.Consumers.Admin.AdminLogicClient50.LogicMain.GetLogic()
    If I compile the file, the error stop appearing, put with all new logic files it happens at first, I think that these two errors are very deep related, if anyone can help me will be very appreciated,
    Thanks in advanced

    Hi,
    I have faced the similar kind of problem in BPC NW 7.5 SP5.
    The main reason is when you are trying to send any data via input schedule, you will get this web server communication issue.
    1) Check if any thing you are calling script logic under default.LGF. Exclude the logic out from default and test it.
    2) Process all the dimensions in application
    3) Perform Lite optimization and check are there any errors.
    4) Finally check BPC COM+ services  and check if any service stopped and also check osoft send governer service in microsoft services.
    5) Diagnoise usign server manager.
    6) Try input some thing in apshell and check if u face the same web server communication error?

  • An error occured while communicating with the web server

    hi Experts
    Im having a problem with bpc when i try to send data in an input schedule
    message error prompt
    "an error occured while communicating with the webserver"
    Any body encounters this?
    Thanks

    Hi,
    I am from support team, so this is the method how I troubleshoot this kind of issue.
    First, I would like to say that this error message in BPC for Excel is a very common error, and it means nothing. Please move on the following steps:
    1. Reproduce the issue again.
    2. Logon to ABAP side, go to RSA1. Enter OBJECT=UJ* and SUBOBJECT=UJQ.
    Note: UJQ means query related. The same, you can use UJD to filter all Data Manager's activity.
    3. Under UJQ, you will find the log, which you reproduced in step 1. It must be shown as Red. Double-click it. See what the error message is.
    4. Besides the error, right-side, you will see a Details button. Click on it, and another window with MDX Statement will show up.
    5. Copy the MDX statement out for next usage.
    6. Go to another T-code MDXTEST (this is a test tool for MDX statement).
    7. Copy the MDX statement into MDXTEST, and run it. (find the run button at above).
    What is the error message?
    Based on my experience, if this is a Time out error, related to MDX Paser, you can try note:
    1032461 MDX parser does not start
    If not, it must be a specific error. Need to check further, accordingly.

  • Parts of string lost while communicating with Arduino.

    While communicating with arduino, the string I receive from arduino is buffered but it isn't totally read by LabVIEW
    and some information is lost, changing the data I plot. Anyone knows how to solve this problem?
    Maybe useful information:
    Arduino mega
    Baud rate: 19200
    Loop delay in Arduino: 10 ms
    The string is composed by 3 integers values concatenated like this:
    gh123ab123cd123ef
    I´m attaching the Vi.
    Thx very much!
    Paulo
    Attachments:
    Labview-LETE.vi ‏34 KB
    Labview-LETE.vi ‏34 KB

    Duplicate Post.

  • An error occurred while communicating with the scanner canon mp640

    Since 3 weeks I have this error *An error occurred while communicating with the scanner" when I tried to scan some document.
    The all in one CANON PIXMA MP640 is connected via WIFI to my network and the printer works without problems.
    I have repaired the disk permission but I have the same problem.
    I have also removed the Scanner only from the system preferences and re-installed the software CD from CANON, no changes.
    Do you have any idea about this type of problem? and help me for a solution?
    Thanks a lot for a reply
    Amedeo

    First, delete the scanner again. Then I would suggest downloading the latest version from the Canon website.
    http://www.usa.canon.com/cusa/support/consumer/printers_multifunction/pixma_mp_s eries/pixma_mp640#DriversAndSoftware
    Select your OS and download/install.

  • I'm trying to scan but instead of the scan a message comes up from PS saying "An error occurred while communicating with the scanner." help- I cannot scan!

    I'm trying to scan but instead of the scan a message comes up from PS saying "An error occurred while communicating with the scanner." help- I cannot scan!

    Best practices: Usage
    Supply pertinent information for quicker answers
    The more information you supply about your situation, the better equipped other community members will be to answer. Consider including the following in your question:
    Adobe product and version number
    Operating system and version number
    The full text of any error message(s)
    What you were doing when the problem occurred
    Screenshots of the problem
    Computer hardware, such as CPU; GPU; amount of RAM; etc.

  • Error occured while communicating with web server

    In Netweaver if you receive this error  " error occured while communicating with web server "
    check your script logic file if you have mande any change to dimension
    names
    Vinoo

    Hi,
    validate below note
    Note 1330145 - an error occured while communicating with the web server
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b161a590-0201-0010-5590-91fa5076a914
    regards
    nag

  • An error occurred while communicating with the BI server.

    Hi Expert,
    A error occured when I finish updating the new patch of the Addon, When I finish updating it, it works okay , but when I reboot the system, it disconnet our server and give the following exception :
    An error occurred while communicating with the BI server.
    System exception thrown while marshaling .NET type System.Byte[] to RFCTYPE_BYTE.
    Are there anyone met such issues?
    Please help
    Len

    Hi,
    Are you getting this error while connecting to the Backend through BEx Tools.
    Is that system available or System down while connecting.
    Rgds,
    Murali

  • Error on timesheet submission "An error occurred while communicating with the server.

    Hello, we have many users who are encountering errors submitting timesheets following our migration to Project Server 2013 (SP1 April 2014 CU). The error is:
    An error occurred while communicating with the server. Check connectivity with your administrator to determine whether further action is necessary.
    This follows the specific timesheet, if I open a delegate session on my machine, I can reproduce the error. However, simply deleting and recreating the timesheet has resolved it for many users, at least until the next timesheet submission.
    Has anyone seen this sort of widespread behavior and have a solution beyond deleting and recreating the given timesheet?
    Thanks!

    Hello Joncantrell
    I just ran into issue and found a way to resolve, though it may not be the best.  I think it is a bug, but here is how I fixed it.
    1) Delegating as the user
    2) Deleted the timesheet
    3)  Going line by line, I check each task that had a status of "Not Submitted" and "Send Progress for Select Task".
    4) The error came up only for one task.
    5) Open that schedule, remove resource from task, saved and published.
    6) Deleted and recreated timesheet
    7) Submitted timesheet and processed normally.
    I hope this helps
    Cheers!
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • MAX don't release LAN connction while communicating with Agilent 86122A

    Dear guys,
    Yesterday I met a communication issue while talking to Agilent 86122A via LAN.
    It showed I cannot run MAX before launching LabVIEW; otherwise I'd have trouble in send commands in LabVIEW.
    I doubt if MAX MAX don't release LAN connection while communicating with Agilent 86122A?
    Please advise,thanks.
    I debugged as below:
    1, Ping the IP of Agilent 86122A shows internet is OK.
    2, I restarted the instrument, LabVIEW reported the same error code.
    3, I restarted PC, launched LabVIEW first and run the code (*IDN?), everything is OK!!!
    4, Again, I send *IDN? With MAX, and it seemed to be OK.
    5, hit x to close MAX and then run the same and simple code (*IDN?) in LabVIEW, but it reports error code -1073807346.

    Caglar,
    The documents you mention ahould include the proper prcedure for using this hardware in LabVIEW. Here are my recommendations:
    The version of NI-VISA  you mentioned is not valid. The most recent version is 4.6.2. I would recommend ugrading if you do not have this version. After the upgrade,ensure that tulip is enabled as well as the other settings and see if this helps.
    When talking about the instrument, the biggest concern that usually is relevant with 488.1 is that it will not respond to *IDN?. In your case, it looks like it does, and should work as 488.2 is backwards compatible. It seems to me, the issue is still with the 82357A, and we have not yet reached the voltmeter.
    In order for NI-VISA to work with your device, NI-VISA must be the primary visa driver.
    Hope this helps, let us know how the upgrade turns out. If you continue to have issues, take some screenshots of the preferences in MAX and upload them on the forum.
    Regards,
    Peter Flores
    Applications Engineer

  • "error occurred while communicating with scanner" mac os x 10.8.2 with new hp 6700.

    device will not scan to computer.  returns "error occurred while communicating with scanner".  this error returns from the print/scan settings, from image capture and from the HP scan utility.  the printer will copy so the scanner will function to some extent.  it is brand new. on a wireless network.  prints fine
    OS is fully up-to-date, drivers are current, downloaded from HP and installed rather than using CD.  device has been unplugged from wall, computer restarted, printers cleared and reinstalled.
    any other ideas?
    some more info...
    if a sheet is placed in the scan feeder, the scanner illuminates and makes a ping sound.
    firewalls are off
    router has UPnP on
    old printer, an hp6500, worked fine with identical setup
    and a further note as I try to solve this...
    the webscan function works from the printer web server
    HP Utility does not have a Scan section.  HP Utility Applications has Scan 3.  this does not work

    Hi BetterL8,
    I understand your frustration. The software you are using was designed for the older operating system not for Mavericks. There has not been software released for the c310 that is compatible with Mavericks therefore, you will be using the Apples Print and Scan not the HP Scan. Because you have this old software still on the computer, I recommend you uninstall it and download the Apple Software Update. Follow the instructions below:
    Scrub
    Open the Applications folder > HP or Hewlett Packard folder > HP Uninstaller
    Click continue, click on one of the printers in the list.
    Hold down Control, Option and Command
    While holding the three buttons down, Click uninstall.
    Reset Printing System
    Click the Apple icon ( ), and then click System Preferences.
    In the Hardware section, click Print & Fax/Scan. The Print & Fax/Scan  dialog box opens.
    Right-click (or Ctrl +click) in the left panel, and then click  Reset printing system…
    Click OK to confirm the reset.
    Type the correct Name and Password.
    Click  OK to reset the printing system. The Print & Fax dialog box shows no printer selected
    Note: This will remove all printers in the print and Fax/Scan, any printer removed can be re-added later by clicking the plus (+) symbol
    Repair Disk Permissions (this is good measure to ensure non of your permissions differ)
    On the Dock, click  Applications, and then click  Utilities.
    Double-click  Disk Utility.
    Highlight your hard drive/partition on the left (by default this is "Macintosh HD").
    Click the Repair Disk Permissions button at the bottom of the window.
    Once the repair is complete, restart the computer.
    Restart the computer.
    Check for apple updates
    Connect the USB cable if it is not already connected
    Click on the Apple icon
    Select Software Updates.
    Restart the computer.
    Leave the printer on and unplug the power cable, reconnect after 1 minute.
    See next post for further instructions....
    Please click the Thumbs up icon below to thank me for responding.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Sunshyn2005 - I work on behalf of HP

  • Error encountered while communicating with primary IP-address

    Hi
    I have recently deployed my first Exchange Server. This is an Exchange Server 2013 Standard and I set up everything using this document on Technet for installation: http://technet.microsoft.com/en-us/library/bb124778(v=exchg.150).aspx
    For post-installation I used this document on Technet: http://technet.microsoft.com/en-us/library/bb124397(v=exchg.150).aspx
    I have setup access to port 25, 587, 143, 993, 110, 995, 80, 443 in my routers SPI-firewall and created DNAT rules for each of these ports as well. I can send mail without any issues, but I cannot receive. Reverse DNS is working both internally and externally.
    I can telnet to port 25 on my external IP and external domain which is exchange.mydomain.tld
    My Exchange-server is running inside a Gen1 Hyper-V virtual machine on a Windows Server 2012 R2.
    My Exchange Server has the following resources:
    OS: Windows Server 2012 R2
    CPU: 2 cores of AMD FX-6120 3.30GHz
    RAM: 3584MB
    HDD1: IDE 80GB VHDX - is currently used for all system files and for Exchange.
    HDD2: SCSI 127GB VHDX - will be used for Exchange DB and logs when everything is working.
    When sending mail from any internal or external e-mail address to an internal e-mail address I get the following error in Exchange Queue Viewer:
    "451 4.4.0 Error encountered while communicating with primary target IP address:"421 4.2.1 Unable to connect." Attempted failover to alternate host, but that did not succeed. Either there are no alternate hosts, or delivery failed to all alternate
    hosts. The Last"
    How can I solve this issue? If you need any more information please let me know and I will see if I can find it.

    Hi I have now tried to send mail to an internal address using telnet. This returned the following value:
    250 2.6.0 <[email protected]> [InternalId=1971389988866] Queued mail for delivery
    Next I tried to send to an external mail by using telnet and it returned this result when adding the reciepient:
    550 5.7.1 Unable to relay
    This is the output of the Test-Servicehealth cmdlet:
    Role                    : Mailbox Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeDelivery, MSExchangeIS, MSExchangeMailboxAssistant
                              s, MSExchangeRepl, MSExchangeRPC, MSExchangeServiceHost, MSExchangeSubmission, MSExchangeThro
                              ttling, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Client Access Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeMailboxReplication, MSExchangeRPC, MSExchangeServi
                              ceHost, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Unified Messaging Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeServiceHost, MSExchangeUM, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Role                    : Hub Transport Server Role
    RequiredServicesRunning : True
    ServicesRunning         : {IISAdmin, MSExchangeADTopology, MSExchangeEdgeSync, MSExchangeServiceHost, MSExchangeTranspo
                              rt, MSExchangeTransportLogSearch, W3Svc, WinRM}
    ServicesNotRunning      : {}
    Can we use this information to find a possible source for my issues?

  • Unknown Error while communicating with O365 BEC Web Service

    Hi Guys,
    When I try to add a new mail user in O365 Exchange, one strange error is thrown.
    Are any guys  kind enough to help me ?
    Here is the script and the error.
    PS C:\Users\o365-user> $cred = New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList
    '[email protected]', $(ConvertTo-SecureString -String '*******' -AsPlainText -Force)
    PS C:\Users\o365-user> $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri 'https:
    //ps.outlook.com/powershell/' -Credential $cred -Authentication Basic -AllowRedirection
    WARNING: Your connection has been redirected to the following URI:
    "https://pod51053psh.outlook.com/powershell-liveid?PSVersion=4.0 "
    PS C:\Users\o365-user> Import-PSSession $session
    WARNING: The names of some imported commands from the module 'tmp_zkc5sid4.gpq' include unapproved verbs that might
    make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the
    Verbose parameter. For a list of approved verbs, type Get-Verb.
    ModuleType Version Name ExportedCommands
    Script 1.0 tmp_zkc5sid4.gpq {Add-AvailabilityAddressSpace, Add-DistributionGroupMember...
    PS C:\Users\o365-user> $users=Get-MailUser
    PS C:\Users\o365-user> New-MailUser -Name '[email protected]' -DisplayName 'Test LIU'
    -MicrosoftOnlineServicesID '[email protected]' -Password $(ConvertTo-SecureString -String '*****' -AsPlainText -Force)
    Unknown Error while communicating with O365 BEC Web Service (Exception type
    "Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException", message=
    "Microsoft.Exchange.Management.BecWebService.CouldNotCreateBecSyncServiceException: Couldn't create BEC Web Service:
    The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft
    Corporation, L=Redmond, S=WA, C=US couldn't be found.
    Parameter name: certificateSubject ---> System.ArgumentException: The matching certificate for certificateSubject
    CN=ExoProvToO365.outlook.com, OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be
    found.
    Parameter name: certificateSubject
    at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
    dName(String certificateSubject, Boolean checkForValid)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)
    --- End of inner exception stack trace ---
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.InvokeWithRetry[TResponse](Action operation)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.GetUserByUpn(GetUserByUpnRequest request)
    at Microsoft.Exchange.ProvisioningAgent.BecWebServiceLiveIdManager.GetMemberType(SmtpAddress memberName)", inner
    message "System.ArgumentException: The matching certificate for certificateSubject CN=ExoProvToO365.outlook.com,
    OU=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=WA, C=US couldn't be found.
    Parameter name: certificateSubject
    at Microsoft.Exchange.Security.Cryptography.X509Certificates.TlsCertificateInfo.FindFirstCertWithSubjectDistinguishe
    dName(String certificateSubject, Boolean checkForValid)
    at Microsoft.Exchange.Management.BecWebService.BecWebServiceHelper.CreateService(Uri url)")
    + CategoryInfo : NotSpecified: (0:Int32) [New-MailUser], RecipientTaskException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=d97a193e-91a7-4430-ac64-6b7003f5b9b0,TimeStamp=4/23/2015
    9:37:58 AM] [FailureCategory=Cmdlet-RecipientTaskException] 3F9FDA25,Microsoft.Exchange.Management.RecipientTasks
    .NewMailUser
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'ApplicationImpersonation' -User 'test1_1@smokeazu
    rebeta5.onmicrosoft.com'
    Couldn't find a user with the identity "[email protected]".
    + CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=88777637-298d-4bb1-972f-b61161566a57,TimeStamp=4/23/2015
    9:37:59 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
    cTasks.NewManagementRoleAssignment
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> New-ManagementRoleAssignment -Role 'Mailbox Search' -User '[email protected]
    microsoft.com'
    Couldn't find a user with the identity "[email protected]".
    + CategoryInfo : NotSpecified: (:) [New-ManagementRoleAssignment], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=SG2PR01MB0540,RequestId=2b64d3a2-97da-4de5-be8c-00ad73452456,TimeStamp=4/23/2015
    9:38:00 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 921A76AD,Microsoft.Exchange.Management.Rba
    cTasks.NewManagementRoleAssignment
    + PSComputerName : pod51053psh.outlook.com
    PS C:\Users\o365-user> Remove-PSSession $session
    PS C:\Users\o365-user>
    Thanks
    Budlion LIU

    Hello,
    Or you can also ask on Exchange Online Forum:
    https://social.technet.microsoft.com/Forums/msonline/en-US/home?forum=onlineservicesexchange
    Thanks,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Simon Wu
    TechNet Community Support

Maybe you are looking for