Bypass exception

my program was catching an exception that threw me off for a bit but i finally figured it out. my program was trying to convert the contents of a binary file to a string and perform regular expressions on it. is there a way to detect if a file is binary, or is there a way to not make my program throw or catch an exception here? just to tell u this is fine if my program tries to do this, but it cant stop, it hast to keep going.

chopficaro wrote:
my program was catching an exception that threw me off for a bit but i finally figured it out. my program was trying to convert the contents of a binary file to a string and perform regular expressions on it. is there a way to detect if a file is binary,Look at the entire contents of the file and see if it can all be converted into characters in whatever character set you're using.
or is there a way to not make my program throw or catch an exception here? Eh?
just to tell u this is fine if my program tries to do this, but it cant stop, it hast to keep going.Eh?
I'm not sure what you're asking, but it sounds like it might be something like this:
while (there are more characters to process) {
  try {
    process next character
  catch (whatever the excpetion is) {
    log the exception
    do whatever substitute processing makes sense for invalid characters
}

Similar Messages

  • Why does Web Start App ignore Proxy bypass/exception list in Proxy settings

    Hi All,
    I've been pulling my hair out on this one for a while now and finally decided to see if someone can help me out.
    In my office I have a intranet of numerous devices and pcs connected. There is also a proxy server on the network to allow connection through the the internet. I have my proxy settings setup to bypass the proxy for any addresses on my intranet. This is set in the normal way by adding ( http://192.168.1. to proxy settings exception list in IE. This proxy bypass list works fine for all other situation except the following:
    On my Intranet I have an embedded web server device I have been developing that has a java application deployed using web start. This application is a monitoring tool that allows the user to check the various settings and status of the embedded device. The problem is that when the app is launched for some reason web start tries to get the require jar file from the proxy instead of directly from the device, even when the IP address of the device it is trying to get it from is in the bypass list?? I don't think Web start is checking the exception/bypass list in the proxy settings to see if it should be using the proxy or not?? I can see this by using wireshark and inspecting the GET HTTP requests sent from my pc to the proxy server instead of directly to the ip address of the embedded device.
    If I change my proxy settings to use a direct connection/no proxy (untick the "use proxy server for your lan" box in IE settings) then everything works fine. However this is not a workable option for my customers as they don't want to have to continually change these settings when connecting to this device and then to the internet (which is the whole reason of having the exception / bypass list).
    I've tried many things including using the proxy settings in the Java console instead of getting them from the browser but the same thing occurs.
    Any help would much appreciated, as I not sure if it is something I am doing wrong, or a possible bug, or just the way it is meant to work??
    I'm using the following...
    Java version: 1.6 1.6.0_17
    Operating system: ( I've tried XP and Vista)

    I have the same problem, please anyone can help?

  • Bypass exception handler?

    Hi!
    I have got serveral hundreds of stored procs calling one error handling proc in case of an error.
    Inside this error handling proc I have use the command "raise_application_error" to generate an error message for the user of our application. Unfortunately, the calling stored procs contain an exception handler that catches the generated exception.
    It's hardly possible to change hundreds of stored procs.
    So is there a mechanism to raise the exception and pass it to the application regardless of the exisitence of an exception handler?
    Yours, Heiko Kaschube

    Actually, the exception you raised shouldn't be caught in the calling stored procs except there's "WHEN OTHERS THEN" section to catch all the exceptions which are not caught by other sections. What you need to do is, in "WHEN OTHERS THEN" section, check the error code. If the error is generated by raise_application_error, then raise the error again.

  • I am trying to access an https site and am getting a "This connection is untrusted" message. I am willing to bypass, but when I click the Add Exception button and then try to click the Confirm Security Exception button, nothing happens.

    I am trying to access an https site and am getting a "This connection is untrusted" message. I am willing to bypass, but when I click the Add Exception button and then try to click the Confirm Security Exception button, nothing happens.

    unfortunately the do_not_trust certificates might be a sign of unwanted software present on your pc that is intercepting secure network traffic. please go into the system control panel and uninstall programs like BrowserSafeguard, BrowserSafe, SafeGuard or other software that sounds suspicious and didn't get installed by you intentionally.
    <br><sub>reference: https://support.mozilla.org/en-US/questions/982532#answer-520145</sub>
    afterwards, run a full scan of your system with different security tools like the [http://www.malwarebytes.org/products/malwarebytes_free free version of malwarebytes] & [http://www.bleepingcomputer.com/download/adwcleaner/ adwcleaner].
    [[Troubleshoot Firefox issues caused by malware]]

  • Get certificate error trying to access yahoo mail, and there is no exception to bypass the error.

    I am getting a certificate error trying to access https://mail.yahoo.com. Unlike most other certificate errors, there is no option for "I understand the risks" to add an exception for the page, just the following:
    mail.yahoo.com uses an invalid security certificate. The certificate is not trusted because the issuer certificate is unknown. (Error code: sec_error_unknown_issuer)
    I tried setting the proxy to "no proxy" under Advanced settings, as well as clearing all cookies and other cache history. Did not resolve the problem. I cannot access my email.

    hello, which security program is running on your computer?

  • My Mac is bypassing a website filter... How can I stop it?

    I am a computer technician at our local high school. Right now, the school has about 800 Dell computers, but we are planning on introducing a few Macintosh labs within the next school year.
    Since they lack educational value, the school district's director of technology (my boss) has a web filter (Deep Nine) that blocks myspace, facebook, youtube, proxy sites, and other similar sites.
    Myspace is blocked via a keyword filter, any page containing the word "myspace" in the url, or in the document a set number of times, is automatically blocked. The other sites are simply blocked by URL. This filter works perfectly on our Dells, no one can access Myspace, Facebook, Proxies, etc.
    I brought my Macbook to work today, plugged it into the network, and logged onto the internet. I noticed instantly that my homepage (Facebook) loaded without being blocked at all. Curious, I tested myspace and youtube, and I could get on youtube fine, but myspace remained blocked.
    I checked on the Dell next to me, and all those sites will still being filtered and blocked. Yet my Macbook was able to access them without issue. So it would appear that my Macbook has some mystic ability to bypass the web address filter, but it can not bypass the keyword filter.
    I do not have any proxies configured. My Macbook connects to the network (and thus, the internet) the same exact way the other computers within the school do, with the exception of the other computers being within Active Directory.
    I need to find out if it is an issue with the Mac or with our Filter. I don't have any other Macs available to test with (Our only other Mac in the school is our DHCP server, and we do not use servers as "lab rat" computers).
    Has anyone had any similar issues with this? Or does anyone know of any way I can diagnose this with only one Mac and only one Filter?
    Specs: OS 10.5.5, Safari 3.1.2, wired networking.
    Message was edited by: Joey Hogan
    Message was edited by: Joey Hogan

    The DeepNines product works well and does much more than a simple URL filter. The problem lies entirely in your district setup and not in their product. If you're not using a proxy filter, then you have all access and routes designed to head out on typical port 80 traffic to your isp and ultimately the internet hence no proxy configs. The filter is integrated with LDAP accounts at each of your locations to tell it which users and groups are to get filtered at what level. That tie in is what breaks down who goes where. If you introduce new macs onto the network and they have not been configured to work with the DN appliance and are going out unfiltered... then there are 2 problems here. #1 is that you have computers attaching to the network, receiving leases and doing what they want. Use DHCP reservations or a whitelist to control who gets on your network. #2 is that your DeepNines filter has not been set to failover to BLOCK. Instead, it's allowing unknown users to bypass freely simply because it doesn't recognize their group/account. And Orange, stop slamming the company. They are a smaller business that has taken a much better approach to filtering than any other large corporation. Standard database driven URL filters DO NOT WORK....PERIOD! I challenge you to call any district that is running their appliance to get their opinion of it in comparison to any of the other basic url filters out there. I did just that last week and they had absolutely nothing but high praises for the DN product. One even laughed at Websense which they had before switching simply for the lack of ability to block anonymouse proxies.

  • Alert "An internal exception has occurred during discovery." related with Lync

    Greetings All,
    I'm facing this alert in one Lync 2013 agent. The problem is the SCOM agent is trying to execute a Lync 2010 PowerShell script in folder “'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync'” but this server is Lync 2013 so this folder
    does not exist, due to this error is generated the alert.
     I have recreated the SCOM health state folder in order to force all discoveries process, but the problem continues after. 
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Log Name:      Operations Manager
    Source:        Health Service Script
    Date:          3/13/2014 1:47:48 PM
    Event ID:      223
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      MYSERVER.MYDOMAIN.LOCAL
    Description:
    DiscoverCluster.ps1 : 
    -Script Name:      Lync Server MP Central Topology Discovery
    -Run as account:   nt authority\network service
    -Execution Policy: Bypass
    Value of Source Id is {333B2339-35AA-8115-0B0D-639F319A6333}.
    Value of ManagedEntity Id is {4B127CAD-36D6-FCAB-507F-03FF1CF5555}.
    Value of Target Computer is MYSERVER.MYDOMAIN.LOCAL.
    Failed to load Lync Server Module. Error: The specified module 'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync' was not loaded because no valid module file was found in any module directory..
    An exception occured during discovery script, Exception : System.Management.Automation.CommandNotFoundException: The term 'Get-CsManagementStoreReplicationStatus' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again.
       at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
       at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Health Service Script" />
        <EventID Qualifiers="0">223</EventID>
        <Level>2</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-03-13T12:47:48.000000000Z" />
        <EventRecordID>130617</EventRecordID>
        <Channel>Operations Manager</Channel>
        <Computer>MYSERVER.MYDOMAIN.LOCAL</Computer>
        <Security />
      </System>
      <EventData>
        <Data>DiscoverCluster.ps1</Data>
        <Data>
    -Script Name:      Lync Server MP Central Topology Discovery
    -Run as account:   nt authority\network service
    -Execution Policy: Bypass
    Value of Source Id is {88BB2339-35AA-8115-0B0D-639F31999999}.
    Value of ManagedEntity Id is {4B127CAD-36D6-FCAB-507F-77777777}.
    Value of Target Computer is MYSERVER.MYDOMAIN.LOCAL.
    Failed to load Lync Server Module. Error: The specified module 'C:\Program Files\Common Files\Microsoft Lync Server 2010\Modules\Lync' was not loaded because no valid module file was found in any module directory..
    An exception occured during discovery script, Exception : System.Management.Automation.CommandNotFoundException: The term 'Get-CsManagementStoreReplicationStatus' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
    spelling of the name, or if a path was included, verify that the path is correct and try again.
       at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
       at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
       at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame).
    </Data>
      </EventData>
    </Event>
    Thanks!

    Try adding the NETWORK SERVICE account to the following local groups on the Edge server:
    RTC Component Local
    RTC Local Administrators
    Then restart the System Center Management service.
    This fixed it for me. If you look at the membership of the equivalent local groups on a Lync Server 2013 Front End you'll see that these groups contain the NETWORK SERVICE account. Looks to be an oversight by MSFT.
    Also you can refer below link, Same issue here
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/f164f5a4-8dab-4f28-8cef-5d83d98d78a7/lync-2013-mp-lync-application-discovery-issue-for-the-dmz-servers?forum=operationsmanagermgmtpacks
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"

  • HT201406 IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even powe

    IOS7 installed OK to my iPhone 4S and worked OK for a while but I have somehow managed to completely jam my iPhone 4s. The touch screen won't work except for up and down gestures (some of the time). I can't make or answer calls, I can't even power if off. I can't access the hardward ID which Apple support seems to require for Chat.
    It might have happened when I was accessing my camera bypassing the lock screen!
    All I know is that the thing is now useless and it looks like I will have to wait for the battery to run down to see if powering it back up afterwards will solve the problem.

    I have since discovered the "hold down home key and power button" together for a few seconds and this seems to have worked .... phew!

  • Clicking on a t:selectBooleanCheckBox gives exception

    hi ,
    I need some help with the jsf h:selectBooleanCheckBox. My scenario is i have a link in my t:dataTable header . so whenever i click on that link a popup shows up with a list of checkboxes . whenever i click on any of those checkboxes in the popup and click submit button the user should be navigated to the main page generating a new column for that checkbox value. I get a null pointer exception when i click on those checkboxes and hit submit. This is how i am implementing the logic. This logic works for me when the checkboxes and on the jsp instead of a popup. Please help.
    code in my jsp
    <h:outputLink styleClass="tips" value="#AGselectPopup" rel="#AGselectPopup" title="Select Access Groups For This View"><t:outputText value="Access Groups..." />
    My popup div
    <h2 class="accessibility">Show only: Access Groups</h2>
    <div class="noDisplay" id="AGselectPopup">
              <h:form styleClass="radioCheckGroup" >     
               <h:panelGroup>
                            <fieldset id="popupAGs">
                   <legend class="accessibility">All Access Groups for this company</legend>
                      <t:dataList id="row" var="ag" layout="unorderedList"
                                 value="#{manageuserscontroller.popupAGList}" >
                              <t:selectBooleanCheckbox id="checkbox3" value="#{manageuserscontroller.selectedAGIds[ag.accessGroupID]}" rendered="#{ag.accessGroupID!= manageuserscontroller.accessGroupID}"/>
                              <t:outputText style="font-weight:bold;" id="text2" value="#{ag.name}" /><t:outputText value="(default)" rendered="#{ag.accessGroupID== manageuserscontroller.accessGroupID}" />
                             </t:dataList>
                  </fieldset>
              <div class="clr"><!-- --></div>
          </h:panelGroup>     
           <f:verbatim> <br /> </f:verbatim>
    <t:saveState value="#{manageuserscontroller.accessGroupID}" />Backing bean code
    private Map<Integer, Boolean> selectedAGIds = new HashMap<Integer, Boolean>();
       public void getSelectedAGItems(ActionEvent event) {
            // Get selected items.
          System.out.println("Inside selected AG Items method");
          System.out.println("Access group ID in selected AGItems method" + accessGroupID);     
         System.out.println("Selected AG list" + popupAGList);     
         selectedAGList = new ArrayList<AccessGroup>();
          for (AccessGroup accgrp : popupAGList) {
                System.out.println("inside for loop");
                int x = accgrp.getAccessGroupID();
                System.out.println("accessgroupid" + x);
         *if (selectedAGIds.get(x).booleanValue()) {*
                    selectedAGList.add(accgrp);
                    System.out.println("OK-user added to selected AG list");
                    System.out.println("Accessgroup id" + accgrp.getAccessGroupID());
                    System.out.println("Accessgroup name" + accgrp.getName());
               else
                    System.out.println("Accessgroup not selected");
          }I get the nullpointer exception at this line if (selectedAGIds.get(x).booleanValue())
    Please someone help when since i am struck with this and cann't go ahead with my task
    Thank You so much in advance

    You can try these steps in case of issues with web pages:
    You can reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and remove cookies only from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > "Use custom settings for history" > 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
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Need to avoid exception w.r.t database when caching disabled, skip database

    I have a situation here.
    Want to bypass database connection if caching disabled. If caching found enable, only then try to establish a database connection.
    One part of application should work when database is down as it doesn't require connection to database at all.
    While other parts should throw exception when database connection not available.
    the piece of code looks like this:
    public byte[] getStagedSchedule(long begin, int channelID, String stage, String username, String password, Number releaseID, Number planningTypeId ) throws SchedExExportException, SecurityServiceException
    byte[] ret = null;
    try
    Date myDate = new Date(begin);
    this.stageConfig = new StageConfig(stage, new Integer(channelID), myDate);
    if(!this.stageConfig.isCached())
    IService service = null; //database connection not required here (can handle that part)
    StageAccessService myStage = new StageAccessService(service, myDate, new Integer(channelID), stage,username, releaseID, planningTypeId);
    try{
    ret = myStage.getXML();
    catch(SchedExExportException e){
    LogUtils.getExtLogger().error("PSIStopProcessException: " + e.getMessage(), null, null, e);
    throw new SchedExExportException(e);
    else{
    IService service = ServiceFactory.getInstance("TxSchedEx"); //database connection string
    StageAccessService myStage = new StageAccessService(service, myDate, new Integer(channelID), stage,username, releaseID, planningTypeId);
    ret = myStage.getXML();
    if(service != null)
    service.release();
    catch (ServiceException e)
    LogUtils.getExtLogger().error("ServiceException: " + e.getMessage(), null, null, e);
    throw new SchedExExportException(e);
    return ret;
    Now this code is working as per my requirement. for the time being.
    But have two major problems to be solved here.
    1) this piece of code :
    this.stageConfig = new StageConfig(stage, new Integer(channelID), myDate);
    is getting called in other class as well. i.e. inside this:
    StageAccessService myStage = new StageAccessService(service, myDate, new Integer(channelID), stage,username, releaseID, planningTypeId);
    have initialise method. which internally calls this method:
    private boolean initialize(IService service, Date date, Number channel, String stage, Number releaseId, Number planningTypeId) throws PSIStopProcessException
    boolean ret = false;
    if ( ( null != service ) && ( null != date ) && ( null != channel)&& ( null != stage))
    this.service = service;
    this.scheduleDate = date;
    this.scheduleChannel = channel;
    this.stageConfig = new StageConfig(stage, channel, date);
    this.planningTypeId = planningTypeId;
    this.givenReleaseId = releaseId;
    ret = true;
    initRelease(releaseId);
    else if ( ( null == service ) && ( null != date ) && ( null != channel)&& ( null != stage)) // just to handle if database connection not available.
    this.scheduleDate = date;
    this.scheduleChannel = channel;
    this.stageConfig = new StageConfig(stage, channel, date);
    this.planningTypeId = planningTypeId;
    this.givenReleaseId = releaseId;
    ret = true;
    return ret;
    Because StageAccessService is the real entry point for all other classes to access information about stage (staging). (So making StageConfig singleton, won't help me)
    Now is there any way i can avoid :
    this.stageConfig = new StageConfig(stage, channel, date);
    getting called twice in my code.
    why this is required is this method checks for caching real values.
    public byte[] getXML() throws SchedExExportException
    byte[] ret = null;
    if ( !this.stageConfig.isCached() )
    ret = dynamicLoadXML();
    else
    ret = loadReleaseFromStage();
    if (ret == null && this.stageConfig.isLazyLoading())
    ret = dynamicLoadXML();
    saveScheduleInStage(ret);
    and so on.............
    try{
    if (this.stageConfig.isTransformSchedules() && ret != null)
    etc
    2) Other workaround can be like: check if database connection is there or not. log the exception in catch block. but don't throw back.
    So that the part which doesn't require database connection can work. But if request is not calling that part, then better throw exception also.
    I don't know whihc approcah is good in this case.
    Can anyone suggest anything better then this.
    thanks.

    I'm afraid that you need to provide further info about your two databases like versions, whether they have the replication option installed etc.
    Generally speaking you have two methods available:
    1. Use the replication options (needs setup like repadmins, master sites, snapshots etc)
    2. Script it yourself (ie rewrite the replicator :-) trough DBlinks, stored procedures etc.
    I would reccommend option 1 since you do not need to re-invent the wheel.
    null

  • SSL Error 61: chosen not to trust security certificate; How to bypass?

    I am trying to utilize Citrix XenApp to remotely access my work userid and applications from home. I can login and see my virtual desktop/applications, but when I try to run an application I get SSL Error 61: you have chosen not to trust "Equifax Secure Global eBusiness CA-1" the issuer of the server's security certificate. I have tried to update the certificate (FFx says its valid), add an exception (cannot because certif is valid), uninstall/reinstall application (no good), but still no luck. Have contacted my company's IT and they are baffled as well. Any ideas to bypass or redo a setting that says I do trust this certificate would be welcome.

    Pardon my ignorance, but can you please explain further. I've read over the info from the link provided but it is beyond my technical comprehension. Is the Citrix database on my end, on my company server's end?

  • I failed to Confirm Security Exception for a site confirmed to be trusted, but apparently only supported by Internet Explorer, and am now barred from the site, so how do I access it?

    I have been successfully accessing a secure site using a Citrix plugin. The security certificate for the site was renewed on 17 September and is valid, but is apparently supported by Explorer. When I accessed it today, Firefox reported it as Insecure. I attempted to bypass the Firefox block, but must have failed to Confirm Security Exception, so that my access is now denied as I 'have said this is not a trusted site' (error 183). Is there any way I can now access the site.

    Thank you for your reply.
    My problem isn't removing my log-in name and password for a site.
    The problem is I already had the log-in name and password saved by FF, but I was required by the site to change the password. FF did not recognize that it had changed and refuses to prompt me to save the new password.
    After several attempts to force the prompt, I deleted the site from the Saved Password list, hoping that the next time I entered my log-in name and password on that site FF would ask if I wanted to save both. That did not happen even after exiting FF and relaunching it.
    So, right now FF will not save my log-in name and password for a site that it used track for me. Given the complexity of the new password, I really do not want to manually enter it every time I use the site.
    Regards.

  • Exception Error:"INFOCUBE_NOT_FOUND"

    Hi,
    I need one help in getting a virtual cube to be available for executing queries.
    I have created some queries on virtual cube 0BCS_VC11 and transported to quality.But that cube is not working properly.When i selected that query for displaying data it is giving tha following exception error:
    Like....,
    *Short text*
        *Exception condition "INFOCUBE_NOT_FOUND" raised.*
    *What happened?*
        *The current ABAP/4 program encountered an unexpected*
        *situation.*
    *Error analysis*
        *A RAISE statement in the program "SAPLRSMDATASTATE" raised the exception*
        *condition "INFOCUBE_NOT_FOUND".*
        *Since the exception was not intercepted by a superior*
        *program, processing was terminated.*
        *Short description of exception condition:*
        *For detailed documentation of the exception condition, use*
        *Transaction SE37 (Function Library). You can take the called*
        *function module from the display of active calls.*
    Trigger Location of Runtime Error
        Program                                 SAPLRSMDATASTATE
        Include                                 LRSMDATASTATEU01
        Row                                     25
        Module type                             (FUNCTION)
        Module Name                             RSM_DATASTATE_GET
    Source Code Extract
    Line  SourceCde
        1 FUNCTION RSM_DATASTATE_GET.
        2 *"----
        3 ""Lokale Schnittstelle:
        4 *"  IMPORTING
        5 *"     VALUE(I_INFOCUBE) TYPE  RSD_INFOCUBE
        6 *"     VALUE(I_BYPASS_BUFFER) TYPE  RS_BOOL DEFAULT RS_C_FALSE
        7 *"  EXPORTING
        8 *"     REFERENCE(E_S_DATASTATE) TYPE  RRSM_S_DATASTATE
        9 *"     REFERENCE(E_REPORTING_RNSID) TYPE  RSSID
       10 *"  EXCEPTIONS
       11 *"      INFOCUBE_NOT_FOUND
       12 *"----
       13
       14   IF I_BYPASS_BUFFER = RS_C_FALSE.
       15     SELECT SINGLE * FROM RSMDATASTATE
       16                     INTO E_S_DATASTATE
       17                     WHERE INFOCUBE = I_INFOCUBE.
       18   ELSE.
        SELECT SINGLE * BYPASSING BUFFER
                        FROM RSMDATASTATE
                        INTO E_S_DATASTATE
                        WHERE INFOCUBE = I_INFOCUBE.
      ENDIF.
      IF SY-SUBRC <> 0.
        RAISE INFOCUBE_NOT_FOUND.
      ENDIF.
      if e_s_datastate-aggrexist = rs_c_true.
        e_reporting_rnsid = e_s_datastate-rollup.
      else.
        e_reporting_rnsid = e_s_datastate-qualok.
      endif.
    ENDFUNCTION.
    Can u please look into this and let me know the solution.now the queries which have been built on this cube are not executable.i ma not able to see its contents also.
    Thanks in advance

    This issue is resolved

  • App Error 602 & "Uncaught exception: Application net_rim_bb_messaging_app(144) is not responding; process terminated"

    Hi,
    I have spent a whole and very frustrating day trying to solve the following problem and in exasperation I resort to a posting here. Note no changes had been made to the phone prior to the start of the problem.
    My Blackberry 9800 Torch freezes on power-up. It can only be ‘unfrozen’ by taking out the battery or, if left alone, after many minutes it comes up with the white screen, ‘App Error 602' and ‘Reset’ which is highlighted. Resetting has the same effect as taking out the battery. After each restart, it goes through the usual security and time checks and then freezes again. However, on rare occasions I got the message “Uncaught exception: Application net_rim_bb_messaging_app(144) is not responding; process terminated”.
    Soon after the restart, after the Security Software Verification and on confirming the time/date, there is a very small window of opportunity (literally a couple of seconds) to access the phone. After much trial and error, I discovered that (in Manage Connections) by disabling the Mobile Network and WiFi - effectively putting it into ‘aeroplane mode’ - the device would work, without any problem and indefinitely. Except, of course, I couldn’t access the phone network nor the internet, which isn’t helpful(!).
    I have taken this opportunity to do a full back-up on to my PC, through BlackBerry Desktop Software (though I’m not sure this backs up downloaded Apps??). Separately, I've also copied all the subdirectories from the phone’s memory and media card on to the PC, retaining their correct structures (but presumably also copying the corruption causing the problem?).
    Any ideas???
    - thanks in advance!

    The method you are attempting is the automatic method...sometimes it just doesn't work, and you must take control. The simplest way is to, on a PC (you cannot do this on MAC):
    1) Make sure you have a current and complete backup of your BB...you can find complete instructions via the link in my auto-sig below.
    2) Uninstall, from your PC, any BB OS packages
    3) Make sure you have the BB Desktop Software already installed
    http://us.blackberry.com/software/desktop.html
    4) Download and install, to your PC, the BB OS package you desire:
    http://us.blackberry.com/support/downloads/download_sites.jsp
    It is sorted first by carrier -- so if all you want are the OS levels your carrier supports, your search will be quick. However, some carriers are much slower than others to release updates. To truly seek out the most up-to-date OS package for your BB, you must dig through and find all carriers that support your specific model BB, and then compare the OS levels that they support.
    5) Delete, on your PC, all copies of VENDOR.XML...there will be at least one, and perhaps 2, and they will be located in or similarly to (it changes based on your Windows version) these folders:
    C:\Program Files (x86)\Common Files\Research In Motion\AppLoader
    C:\Users\(your Windows UserName)\AppData\Roaming\Research In Motion\BlackBerry\Loader XML
    6a) For changing your installed BB OS level (upgrade or downgrade), you can launch the Desktop Software and connect your BB...the software should offer you the OS package you installed to your PC.
    6b) Or, for reloading your currently installed BB OS level as well as for changing it, bypass the Desktop Software and use LOADER.EXE directly, by proceeding to step 2 in this process:
    http://supportforums.blackberry.com/t5/BlackBerry-Device-Software/How-To-Reload-Your-Operating-Syste...
    Note that while written for "reload" and the Storm, it can be used to upgrade, downgrade, or reload any BB device model -- it all depends on the OS package you download and install to your PC.
    If, during the processes of 6a or 6b, your BB presents a "507" error, simply unplug the USB cord from the BB and re-insert it...don't do anything else...this should allow the install to continue.
    If you are on MAC, you are limited to only your carriers sanctioned OS packages...but can still use any levels that they currently sanction. See this procedure:
    KB19915How to perform a clean reload of BlackBerry smartphone application software using BlackBerry Desktop Software
    Good luck and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to bypass proxy when trying to send a mail using javamail smtp

    Hi,
    I am trying to make a servlet send a mail using javamail smtp protocol on port 25 but i m not able to send getting an exception, i suspect proxy is blocking, so any idea anyone how bypass a proxy.

    And if it does turn out that there's a proxy server blocking access to your target SMTP server, the best way to deal with that is to discuss the issue with the person responsible for your network configuration.

Maybe you are looking for