Reverse iterator error

I was expecting the code below to output the elements of the list but in the reverse order. Hoever the compiler error that happens at the foreach loop is beyond me. Am I declaring the foreach loop wrong? Thanks for suggestions.
import java.util.*;
public class Test {   
public static Iterator reverse(List list){
    Collections.reverse(list);
    return list.iterator();
    public static void main(String[] args) {
        List list = new ArrayList();
        list.add("1");list.add("2");list.add("3");
        for(Object obj:reverse(list)) //ERROR: foreach not applicable to expression type
        System.out.print(obj);          
}

> ..but, I am using it , right?
Yes. My point is that there is little - if anything
in this case - to be gained by wrapping
Collections.reverse() in another method.
~Oh, I see what you mean, just try that directly:
import java.util.*;
public class Test {   
    public static void main(String[] args) {
        List list = new ArrayList();
        list.add("1");list.add("2");list.add("3");
        for(Object obj:Collections.reverse(list)) //ERROR: foreach not applicable to expression type
        System.out.print(obj);          
}...Just tried that but I guess I did something wrong, and got another compiler error at the same line again.

Similar Messages

  • VSTS loadtest error while running Loadtest with Runsettings as No of test iterations , ERROR is : could not read result repository: unknown transaction id in results:

    Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    Hello All,
    I am facing the following error while running a loadtest (when i choose the scenario to be executed for No of test iterations). But the same loadtest with the Run duration for X minutes is running fine without any issues. 
    Any suggestions on the issue i am facing
    error is :
    could not read result repository: unknown transaction id in results:
    or
    could not read result repository: unknown request id in results: 
    Thanks
    Satish

    Hi Kotapati,
    >>Subject: VSTS loadtest error while running Loadtest with Runsettings as  No of test iterations ,  ERROR is :  could not read result repository: unknown transaction
    id in results:
    According to your description, you mean that when you run your load test using the Test Iterations way and then get the error message, am I right?
    If yes, please you try to close the VS, and then open this VS again. Then clean your load test project/solution and then re-build it, run your load test again check this issue again.
    In addition, I suggest you could try to create a new load test and then run it using Test Iterations way check if you get the issue for the specified load test or all load tests.
    If possible, I suggest you could share me simple load test for us so that we will further help you.
    You could upload your load test to OneDrive and then copy link here.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • DNS question and no name available via DNS and no reverse DNS errors

    We are running an OS X server, 10.4.11, OD Master. We are getting some error messages, and we have setup DNS to forward requests for example.com. (our website) to our web developer's external web server where our website is being hosted.
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no name available via DNS for 192.168.0.5
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no reverse DNS entry for server, various services may not function properly
    Oct 15 10:31:48 [server name omitted] /usr/sbin/PasswordService: incorrect digest response
    - and -
    Oct 15 09:54:00 [server name omitted] DirectoryService[103]: GSSAPI Error: Miscellaneous failure (Server not found in Kerberos database)
    Some Background:
    We are running internal DNS services only. We have a domain, example.com. and our OS X Server, server.example.com. We have a website that is being hosted offsite by our web developer. Long ago when they were setting up the SSL certificate for the site, they obtained a certificate for example.com INSTEAD of www.example.com. So, our web developer setup a redirect to redirect web requests to www.example.com to example.com.
    Now, this brings us to our OS X server (server.example.com). We are hosting internal DNS with the same domain, example.com. When employees inside our LAN would put in our web address, example.com, or www.example.com, it would take them to our OS X server. As a workaround, in the DNS settings for the zone in server Admin, I set the Server IP address for the zone to "Other" and specified the external address to the server where the site is hosted by our developer then setup an A record for our server. (We cannot forward requests to www.example.com since our web developer automatically redirects these requests to example.com since that is where the SSL certificate and the search engines are linked to).
    Well obviously this had serious repercussions for server stability. So, I set the server IP address back to the address of our OS X server itself, 192.168.0.5.
    Now, I then went into command line and manually edited the zone files. Here's part of our zone file:
    $TTL 3600
    example.com. IN SOA server.example.com. sysadmin.example.com. (
    2008031015 ; serial
    3h ; refresh
    1h ; retry
    1w ; expiry
    1h ) ; minimum
    example.com. IN NS server.example.com.
    example.com. IN A [external IP address of web server]
    server IN A 192.168.0.5
    We are getting the following error messages regularly:
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no name available via DNS for 192.168.0.5
    Oct 15 10:29:05 [server name omitted] servermgrd: servermgr_dns: no reverse DNS entry for server, various services may not function properly
    Oct 15 10:31:48 [server name omitted] /usr/sbin/PasswordService: incorrect digest response
    - and -
    Oct 15 09:54:00 [server name omitted] DirectoryService[103]: GSSAPI Error: Miscellaneous failure (Server not found in Kerberos database)
    Questions:
    Do I need to go back to our zone file and change the A record for example.com. to match our OS X server's address: 192.168.0.5?
    Secondly, is there anything I can do in DNS or elsewhere on the server to redirect web requests to example.com to our web developer's offsite server since the developer's server redirects www.example.com to example.com?
    Thanks in advance? I am stumped.
    Thanks,
    Tyler

    Problem was resolved.
    All I ended up doing was edition my reverse lookup file, db.192.168.0. It was correct, and I simply re-saved it without making any changes. Strangely enough, that did it. No idea why. Maybe a permissions issue with the file?
    I'm still running the server with address record for the domain (example.com.) mapped to our external web server. no problems.
    Tyler

  • Suspend 20 Iterations Error in Soap Assess Response (ODS)

    OPA Experts,
    I'm trying to replace the default error message you receive when the inferencing cycle has errored-out after 20 iterations. I'm restricted to using ODS and none of the features of OWD. Using Java framework.
    I've encountered this several times before and was able to stop via error() in the rules, but for this particular instance (see below), I can throw the error and view both this and the 20 iterations message in OPM (20 iterations in red box at top of OPM interface and custom error message in output window), but the soap assess response presents the 20 iterations (ThinkException) message and nothing else.
    "This particular instance" means an illegal attribute value and relationship population in the same entity. E.g. TaxReturn entity --> <attribute>tax_filing_status = "Single" and <relationship>tax_filing_spouse populated. A person filing a tax return can only have a tax_filing_spouse populated when they have a tax_filing_status of "Married Filing Jointly".
    What I've tried so far:
    Catching and throwing the error via rules
    OnReturnResultEvent
    InferencingListener
    SoapServerException
    ThinkException override (which isn't really possible but I thought I'd try anyway )
    OnBeforeThinkEvent
    The request, in all of the above cases, only touches my empty constructors and none of my methods.
    Here's one example (among many) of my log4j log (edited for space and readability purposes):
    ========================================================================================
    388 [http-127.0.0.1-9000-Processor4] INFO  com.oracle.util.plugins.PluginRegistry  - Successfully created plugin factory: handleIllegalTaxRequest.HandleIllegalTaxRequest
    8509 [http-127.0.0.1-9000-Processor2] INFO  com.oracle.determinations.engine.Session  - User setting attribute i_return_filing-status, entity taxreturn, instance name 54f63ed31435527aebb709fac1417c00, session 1 to value 1
    21080 [http-127.0.0.1-9000-Processor2] INFO  com.oracle.determinations.engine.Session  - Engine inferring attribute o_per_pend-person, entity person, instance name SELF1120128911, session 1 to value true
    21080 [http-127.0.0.1-9000-Processor2] INFO  com.oracle.determinations.engine.Session  - Finishing inferencing on session 1
    21081 [http-127.0.0.1-9000-Processor2] TRACE com.oracle.determinations.ocs.UnknownMemberListener  - In UnknownMemberListener
    21083 [http-127.0.0.1-9000-Processor2] ERROR com.oracle.determinations.server.services.AbstractNativeService  - Could not reach a determination for rulebase 'FakeNameOfRulebase'. Reason: Think cycle has not stabilised after 20 iterations.  This is probably due to a fault in the inferencing listener.
    com.oracle.determinations.server.exceptions.ThinkException: Could not reach a determination for rulebase 'FakeNameOfRulebase'. Reason: Think cycle has not stabilised after 20 iterations.  This is probably due to a fault in the inferencing listener.
      at com.oracle.determinations.server.assess.AssessEngine.assess(AssessEngine.java:147)
      at com.oracle.determinations.server.services.assess.AssessAction.process(AssessAction.java:67)
      at com.oracle.determinations.server.services.AbstractNativeService.processRequest(AbstractNativeService.java:119)
      at com.oracle.determinations.server.DSServlet.doPost(DSServlet.java:103)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:722)
    ========================================================================================
    None of the inferencing responses in any of my logs present "tax_filing_spouse" relationship...so I must assume it's getting hung up on this. If I change the tax filing status in the request, I get the correct assess response with 0 errors. I tried getDecisionReport() of InferencingEvent to verify, but as mentioned above, only my constructors are being touched and none of my methods.
    Now, I could be approaching this incorrectly in my Java code, or there could be a way to catch and suspend this in the rules, but I've extended the capacity of my efforts and am about ready to throw my laptop out of the window. Any help would be greatly appreciated. I really need it!!!!
    v/r
    Mike

    Hi Mike,
    I'm not really sure what you want to achieve, this error message means that your assessment results are invalid and none of the conclusions can be relied upon so you really need to fix the rules themselves. This error can be caused by a loop in the rule logic as well as a a problem with an inferrencing listener (as suggested in the error message). You can check for rule loops in OPM and / or use visual inspection as you know which attribute / value triggers the problem.
    If you could share your rulebase and the source code for your UnknownMemberListener that may shed some light on the issue.
    If you really need to change the error message to you SOAP clients you may need to implement a custom service but this is unlikely to be trivial.

  • Reverse Telecine error

    Does any one know what an "Error-43" means in the reverse telecine log? I am not able to batch reverse or single clip reverse any of my clips. The process stops 3/4 of the way through, I have tried many different clips and settings but keep getting error -43 in the log....?

    remove the "/" in your file name. that happened to me too. Renamer4Mac is a great free utility that may help you.

  • Reverse Termination Error  The employee is not assigned to a Payroll

    Hello,
    I am trying to reverse terminate an employee, but I am getting the following error while doing so.
    Oracle Version : Release 12.1.1
    "APP-PAY-06047: This employee is not assigned to a Payroll
    Cause: You cannot create Nonrecurring, additional, adjustment or override element entries for employees who are not assigned to a Payroll."
    Please if anyone can help in resolving this error, and what might be causing this error, as all other employees are successfully reverse terminated, except this one.
    Thanks and Regards,
    Deepti

    Hi Gaurav,
    Actually the patch will be applicable, if the scenario matches with the bug. But the scenario is not as mentioned in the mentalink note cause section.
    Hence I cannot apply this patch for this issue, when the cause doesnt match. Like you, even I searched everywhere, but this issue is not logged or resolved anywhere.
    Let me know, if you get any workaround or solution for this.
    Thanks for your help.
    Thanks and Regards,
    Deepti

  • Reverse Geocoding Error

    Hey all,
    I'm getting the below error when trying to reverse geocode.
    My user_sdo_geom_metadata srid is 8307
    All gc_road_segment geometry srid's are 8307
    Where else could this SRID conflict be coming from?
    Thanks in advance...
    Paul
         <component_error>
    Error:
    Message:Error in ReverseGeocoder
    Nested exception is:
    java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13208: internal error while evaluating [window SRID does not match layer SRID] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 281
    ORA-06512: at line 1
    java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13208: internal error while evaluating [window SRID does not match layer SRID] operator
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_10I", line 281
    ORA-06512: at line 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:304)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:271)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:625)
         at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:112)
         at oracle.jdbc.driver.T4CStatement.execute_for_describe(T4CStatement.java:351)
         at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:951)
         at oracle.jdbc.driver.T4CStatement.execute_maybe_describe(T4CStatement.java:383)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1057)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1218)
         at oracle.spatial.geocoder.server.ReverseGeocoder.findRoad(ReverseGeocoder.java:246)
         at oracle.spatial.geocoder.server.ReverseGeocoder.reverseGeocode(ReverseGeocoder.java:99)
         at oracle.spatial.geocoder.server.GeocoderImpl.reverseGeocode(GeocoderImpl.java:386)
         at oracle.spatial.geocoder.server.GeocoderImpl.geocode(GeocoderImpl.java:400)
         at oracle.spatial.geocoder.GCServer.process(GCServer.java:375)
         at oracle.spatial.geocoder.GCServer.doPost(GCServer.java:184)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    </component_error>

    I don't have a geometry but I'll include the xml I'm passing in to geocode (it is successfully geocoded) and the xml I'm passing in to reverse geocode (this is where i get the exception)
    Thanks
    Paul
    <?xml version="1.0" standalone="yes"?>
    <geocode_request vendor="elocation">
    <address_list>
    <input_location id="27010">
    <input_address match_mode="relax_street_type">
    <us_form2 street="Ouray NW" city="Albuquerque" state="NM"/>
    </input_address>
    </input_location>
    </address_list>
    </geocode_request>
    ========================================
    <?xml version="1.0" standalone="yes"?>
    <geocode_request vendor="elocation">
    <address_list>
    <input_location id="1" country="us" longitude="-106.69919185" latitude="35.11241" />
    </address_list>
    </geocode_request>

  • Reverse Engineering Error ODI-17517: Error during task interpretation ODI-15068: Unknown flexfield code

    Dear Experts
    In process Reverse Engineering using RKM SAP ERP but error this result.
    Reverse Engineering
    View image: r e logalagent test
    Error
    View image: r e logalagent error
    Error text
    com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: Error during task interpretation.
    Task: 2
    java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)
      at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:809)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:744)
    Caused by: java.lang.Exception: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:476)
      ... 11 more
    Caused by: org.apache.bsf.BSFException: The application script threw an exception: com.sunopsis.core.SnpsFlexFieldException: ODI-15068: Unknown flexfield code. BSF info: Initialize at line: 0 column: columnNo
      at bsh.util.BeanShellBSFEngine.eval(Unknown Source)
      at bsh.util.BeanShellBSFEngine.exec(Unknown Source)
      at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:471)
      ... 11 more
    Texto: //Command Name: Initialize
    import com.sap.mw.jco.*;
    import java.sql.Connection;
    import java.util.ResourceBundle;
    import java.util.Date;
    //Initializing resourceBundle
    odiSapErpResourceBundle = new OdiSapErpResourceBundle();//resourceBundle object to initialize & load resources
    odiSapErpResourceBundle.initializeResource();//initializing/loading resources
    resourceBundle = odiSapErpResourceBundle.getResourceBundle();
    //Check the ODI Release
    //Initialize Open Tool log file name
    //Initializing logger
    String logFileName = "";
    logFileName = <@=odiRef.getQuotedString("<?=new File(System.getProperty("java.io.tmpdir"),"sap_rkm_erp_"+odiRef.getSession("SESS_NO")+".log").toString()?> ") @>;
    OdiSapLogger sapLogger = new OdiSapLogger(logFileName, resourceBundle);
    sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"SAP ERP RKM - Initialize step.."} );
    //Check whether Table or View checkbox selected
    typeOfObject = "T";
    if ((";AT;Q;SY;ST;T;V;").indexOf(";V;") > -1)
      typeOfObject = "V";
    if ((";AT;Q;SY;ST;T;V;").indexOf(";T;") > -1)
      typeOfObject = "T";
    //Initializing SAP Connector
    OdiSAPERPAdapter odiSapERPAdapter = new OdiSAPERPAdapter(sapLogger, odiSapErpResourceBundle);
    odiSapERPAdapter.setObjectType(typeOfObject);
    //Helper object
    OdiSAPERPMetadataHelper odiSAPERPMetadataHelper = new OdiSAPERPMetadataHelper(odiSapERPAdapter, sapLogger);
    <?
    // SAP connection properties get from Topology Manager Defintions
    String hostName = odiRef.getInfo("SRC_DSERV_NAME");//SRC_DSERV_NAME
    String userName = odiRef.getInfo("SRC_USER_NAME");
    String password = odiRef.getInfo("SRC_PASS");
    String systemNo = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_SYSTEM_NUMBER" );
    String sapClient = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_CLIENT" );
    String language = odiRef.getFlexFieldValue( odiRef.getInfo("SRC_I_CONNECT"), "1400", "SAP_LANGUAGE" );
    ?>
    //Setting the SAP Connection
    odiSapERPAdapter.setSAPConnection("<?=hostName?>", "<?=systemNo?>", "<?=sapClient?>", "<?=language?>", "<?=userName?>", "<?=password?>", null, null);
    //Get the repository connection
    Connection repoConnection = odiRef.getJDBCConnection("DEST");
    sapLogger.fine("ODIKM-SAPERP-RKM-10000","",new Object[] {"repoConnection: "+repoConnection});.
      at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:837)
      at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)
      at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
      at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
      at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
      at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
      at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
      at java.lang.Thread.run(Thread.java:744)
    What I must correct?
    What other tests can I perform?
    Thanks for any light

    Dear Expert
    Still facing this problem.
    I did several tests, changing flexfields in physical topology and the parameters of RKM.
    But the result is always the same.
    What else could do.
    The doubt remains.
    Should be poss edit details.
    >> >>> review history this post <<<<<
    I can not enter values in JDBC because the JDBC option is not active.
    Any light, suggestion or critics is welcome.
    Also I have a SR open with serveridade 1 in orcl.
    Thanks for All

  • Reverse lookup error when installing on Linux/MaxDb

    Hello,
    I'm trying to install NW CE 7.1 SP5 on Linux/MaxDB.
    The OS is RedHat EL 5.
    I've chosen all standard options, nothing custom/exotic.
    When entering the database parameters I enter sap.mycompany.com as Database Host.
    Then I get an error message saying:
    This computer's host name is sap.mycompany.com but a reverse lookup returned 'sap'. This will lead to problems later on when starting the Web application server. SOLUTION: Insert a line ' 127.0.0.1 sap.mycompany.com' into the host file etc/hosts, and then continue with the installation.
    The solution doesn't work and we're stuck here.
    Thanks for your help
    regards.

    Hi,
    I had the same problem but I fixed it easy, I have changed the hostname and quitted the domain.
    in other words, before the hostname was "sap.company.com" and then only "sap".
    Nacho

  • Reverse GR error:Account determination for entry GCOA...not possible

    Hi!
    If we encounter the error Account determination for entry GCOA PRD 0002 ___ ZRO1 not possible when reversing GR,  does this have something to do with the number of available stocks of the materials?
    In our other servers, the transaction key PRD is blank.  but we ca reverse GRs.. but in our production server, PRD is also blank but we cannot reverse the GR.  The error Account determination for entry GCOA PRD 0002 ___ ZRO1 not possible   comes up.
    What could be the reason for this?
    Appreciate your help..thanks so much!
    Regards,
    Paula

    Please specify below:
    1. what's the price control for problem material? S or V? And what's the price unit? 
    Price control is V, price unit is PC
    There is no change in PO price.. the price is 40.
    2. what's the movement type for the material document posted? What's the quantity
    in the material document?
    mvt type in GR is 101.. PO qty is 3996 pc and GR qty is 3996 pc.
    3. what's the accounting doucment posted during the goods movement. Please list all the lines
    in FI document with transaction key information(BSX/WRX...)
    89 - BSX
    96- WRX
    4. what's the current stock/stock value for the problem material, i.e. the stock/stock value before
    posting the GR reversal?
    current stock is 6,383.000 pc
    GR reversal has not been done yet...
    Thanks so much for your time..
    Regards,
    Paula

  • Reverse geocoder error

    We have tried to reverse geocode with SDO_GCDR.REVERSE_GEOCODE function and NAVTEQ sample data. The first step, we geocode an address to get the ordinates and then using reverse geoding function for the returned result like below:
    select SDO_GCDR.GEOCODE_AS_GEOMETRY(
    'NAVTEQ',
    SDO_KEYWORDARRAY(
    '780 COLINAS MIRA',
    'SAN DIEGO'),
    'US')
    from dual;
    and result is:
    MDSYS.SDO_GEOMETRY(2001, 8307, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1), MDSYS.SDO_ORDINATE_ARRAY(-117.10536,32.67193))
    And we try with above ordinates, we get the following error:
    SELECT SDO_GCDR.REVERSE_GEOCODE('NAVTEQ',
    SDO_GEOMETRY(2001, 8307,
    SDO_POINT_TYPE(-117.10536, 32.67193, NULL), NULL, NULL),
    'US') FROM DUAL;
    Error starting at line 1 in command:
    SELECT SDO_GCDR.REVERSE_GEOCODE('NAVTEQ',
    SDO_GEOMETRY(2001, 8307,
    SDO_POINT_TYPE(-117.10536, 32.67193, NULL), NULL, NULL),
    'US') FROM DUAL
    Error report:
    SQL Error: ORA-29532: Java call terminated by uncaught Java exception: Error:
    Message:Error in ReverseGeocoder
    Nested exception is:
    oracle.jdbc.driver.OracleSQLException: ORA-13208: internal error while evaluating [sdo_nn_distance ancillary] operator
    ORA-06512: at "MDSYS.SDO_GCDR", line 778
    ORA-06512: at "MDSYS.SDO_GCDR", line 831 29532. 00000 - "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
    resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.
    We don't know how to resolve that problem, have anyone can help us in this case? Thanks

    Hey Ray,
    Thanks for that link - it looks like what I'm running into. I made the suggested code changes, but when I tried to run it, I got some weird error and the app won't even go past the splash screen in the simulator. The log shows the following:
    [Session started at 2010-05-23 15:57:07 -0700.]
    GNU gdb 6.3.50-20050815 (Apple version gdb-1461.2) (Fri Mar 5 04:43:10 UTC 2010)
    Copyright 2004 Free Software Foundation, Inc.
    GDB is free software, covered by the GNU General Public License, and you are
    welcome to change it and/or distribute copies of it under certain conditions.
    Type "show copying" to see the conditions.
    There is absolutely no warranty for GDB. Type "show warranty" for details.
    This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
    Attaching to process 1190.
    dyld: Symbol not found: __CFStringGetUserDefaultEncoding
    Referenced from: /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    Expected in: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.1.3.sdk/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    in /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    No memory available to program now: unsafe to call malloc
    Data Formatters temporarily unavailable, will re-try after a 'continue'. (Unknown error loading shared library "/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib")
    Cannot access memory at address 0x0
    Cannot access memory at address 0x0
    I don't think it is related to the changes I am making, but I can be wrong. I searched for the web, but have not found any useful tips. I am using SDK 3.2.2 on OS X 10.6.3.
    -Sam-

  • Informix Datastore reverse engineering error

    Hi ,
    When i am trying to do customised reverse engineering of informix tables. It is able to retrieve four tables only and failing at the last step mentioned below. there are 140 tables in the database. can anyone help me with this. i am using the linux agent
    STEP NAME:
    Set Metadata
    CODE:
    SnpsReverseSetMetaData -MODEL=122001
    ERROR:
    java.lang.NullPointerException
    Thanks

    Dear Expert
    Still facing this problem.
    I did several tests, changing flexfields in physical topology and the parameters of RKM.
    But the result is always the same.
    What else could do.
    The doubt remains.
    Should be poss edit details.
    >> >>> review history this post <<<<<
    I can not enter values in JDBC because the JDBC option is not active.
    Any light, suggestion or critics is welcome.
    Also I have a SR open with serveridade 1 in orcl.
    Thanks for All

  • Iterator Error

    Hi Experts,
    Now Im working with Table Iterator. For that Im following Web blog wrote by Brain,
    /people/brian.mckellar/blog/2003/10/31/bsp-programming-htmlb-tableview-iterator
    In the Web log, I have the doubt when creating Drop down list Box.
    I wrote the following code from the blog,
    WHEN 'CURRENCY'.
           IF p_edit_mode IS NOT INITIAL.
            p_replacement_bee = CL_HTMLB_DROPDOWNLISTBOX=>FACTORY(
                               id                = p_cell_id
                               selection         = m_row_ref->CURRENCY
                               table             = me->m_currencies_ref
                                nameOfKeyColumn   = 'NAME'
                                nameOfValueColumn = 'VALUE' ).
           ENDIF.
    But it shows the following Error,
    <b>Class ZCL_BCM_SDN_ITERATO1,Method IF_HTMLB_TABLEVIEW_ITERATOR~RENDER_CELL_START     41     @0A\QError@
    Field "M_CURRENCIES_REF" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . . . . . .     </b>
    Please any one help on this issue. I couldn't rectify this Error,
    Thanks in Advance,
    Points will be rewarded for all helpful answers.

    As per the blog, it should be as follows:
    In the iterator class create the attribute:
    M_CURRENCIES_REF type ref to DATA
    <b>To Fill the M_CURRENCIES_REF:</b>
    IF_HTMLB_TABLEVIEW_ITERATOR~GET_COLUMN_DEFINITIONS.
      FIELD-SYMBOLS: <currency> TYPE IHTTPNVP.
      CLEAR me->m_currencies.
      APPEND INITIAL LINE TO me->m_currencies ASSIGNING <currency>.
      <currency>-NAME = 'USD'. <currency>-value = 'US Dollar'.
      APPEND INITIAL LINE TO me->m_currencies ASSIGNING <currency>.
      <currency>-NAME = 'EUR'. <currency>-value = 'Euro'.
      APPEND INITIAL LINE TO me->m_currencies ASSIGNING <currency>.
      <currency>-NAME = 'ZAR'. <currency>-value = 'SA Rand'.
      GET REFERENCE OF me->m_currencies INTO me->m_currencies_ref.
    Hope this will solve your problem.
    <b>*Reward each useful answer</b>
    Raja T

  • Reverse engineer error with Hyperion Essbase and Planning

    We are getting the following error in ODI Operator (3rd step) when trying to reverse-engineer Hyperion Essbase and Planning models. com.microsoft.sqlserver.jdbc.SQLServerException: Cannot invoke a rollback operation when the AutoCommit mode is set to "true".
    Our ODI repository resides in SQL Server.. Any help is appreciated. Thanks.

    Hi Dmitriy,
    You should upgrade to the latest patch of ODI available on metalink.oracle.com 10.1.3.4.4.
    There was an issue in 10.1.3.4 ODI with the intial reverse when using SQL server. If you shutdown all the ODI UI's and then restart. And then reverse it should work correctly. But you have to make sure you shut down all ODI tools.
    Thanks,
    Denis

  • Reverse Termination error

    Hi
    I'm trying to reverse a termination that was done at the end of May 2006. I'm getting the following error.
    FRM-40735: ON-UPDATE trigger raised unhandled exception ORA-01422.
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "APPS.HRENTMNT", line 5927
    ORA-06512: at "APPS.HREMPTER", line 3454
    ORA-06512: at "APPS.PER_PERIODS_OF_SERVICE_PKG", line 1066
    Does anyone have any idea as to what should be done to reverse this successfully?
    Thanks

    I agree...a TAR is probably best since there are a number of potential causes. If your issue has not been previously included in a MetaLink note, then Support will create new knowledge content that may help other customers in the future with this issue.
    You could always look at line 1066 in "APPS.PER_PERIODS_OF_SERVICE_PKG" to see what is trigger this.
    Rgeards,
    greg

Maybe you are looking for

  • Class file to java file conversion

    is it possible to convert .class file into .java file & if yes then how to convert .class file into .java file. plz. mail me ans. on [email protected] | [email protected]

  • Iam not able to run a simple batch file from within java

    This is how my code looks like. It does'nt give me any error but I dont see the output from batch file which is suposed to be a simple redirection of dir command... package mypackage1; import java.io.File; public class RunBatch public RunBatch() try{

  • No longer able to view the device in iTunes client

    All of a sudden, when syncing my iPod Nano, I can no longer click on the device name on the left hand pane to enter the view where I can control and change options while syncing. It still syncs, but when I click on the device name, nothing happens. T

  • I have an ipod classic and when i try to turn it on a picture of the sad ipod icon. How do i fix it?

    my ipod is 20GB and the screen colors are black and white. the outside of the ipod is white and the back is silver. fisrt of all when i connect it to the computer it wont show up in itunes or in the finder devices. second, the ipod shows a sad ipod i

  • Role Assignment Migration Issue

    Hi All, We migrated from EP6.0 to NW04 and encountered an issue with role assignment.  We currently have two LDAPs (1 for external customers and 1 for internal customers), when we did the migration, what we noticed is that for the external users, all