Runtime error accessing ArrayList

These 2 classes are basically the classes from the book developing games in java, without the fullscreen stuff. They are supposed to create an animation. They both compile fine but when I run I get an error message, an no animation, paint() is only called once. Here's the error message:
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at Animation.getFrame(Animation.java:60)
at Animation.update(Animation.java:43)
at AnimationTest1.animationLoop(AnimationTest1.java:58)
at AnimationTest1.run(AnimationTest1.java:44)
at AnimationTest1.main(AnimationTest1.java:10)
I think this means the program is trying to access frame 4 when there is none. Right? I just can't get my brain around this. Any help would be great!
import java.awt.Image;
import java.util.ArrayList;
/*     this class manages a serie of images (frames) and the amount of time to
     display each frame */
public class Animation {
     private ArrayList frames;
     private int currFrameIndex;
     private long animTime;
     private long totalDuration;
     //creates a new, empty animation, calls start().
     public Animation() {
          frames = new ArrayList();
          totalDuration = 0;
          start();
     //adds an image to the animation, + how long to display the image.
     public synchronized void addFrame(Image image, long duration) {
          totalDuration += duration;
          frames.add(new AnimFrame(image, totalDuration));
     //starts this animation over from the beginning .
     public synchronized void start() {
          animTime = 0;
          currFrameIndex = 0;
     //updates this animations current frame if necessary
     public synchronized void update(long elapsedTime) {
          if (frames.size() >1) {
               animTime += elapsedTime;
               if (animTime >= totalDuration) {
                    animTime = animTime % totalDuration;
                    currFrameIndex = 0;
               while (animTime > getFrame(currFrameIndex).endTime) {
                    currFrameIndex ++;
     //gets the animations current frame. null if none availible.
     public synchronized Image getImage() {
          if (frames.size() == 0) {
               return null;
          else {
               return getFrame(currFrameIndex).image;
     private AnimFrame getFrame(int i) {
          return (AnimFrame)frames.get(i);
     private class AnimFrame {
          Image image;
          long endTime;
          public AnimFrame(Image image, long endtime) {
               this.image = image;
               this.endTime = endTime;
import java.awt.*;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
public class AnimationTest1 {
     public static void main (String args[]) {          
          AnimationTest1 test = new AnimationTest1();
          test.run();
     private static final long DEMO_TIME = 5000;
     private JFrame frame;
     private Animation anim;
     public void loadImages() {
          //load images
          Image player1 = loadImage("gif1.png");
          Image player2 = loadImage("gif2.png");
          Image player3 = loadImage("gif3.png");
          //create animation
          anim = new Animation();
          anim.addFrame(player1, 200);
          anim.addFrame(player2, 200);
          anim.addFrame(player3, 200);
          anim.addFrame(player2, 200);
     //loads image with ImageIcon
     private Image loadImage(String filename) {
          return new ImageIcon(filename).getImage();
     public void run() {
          try {
               frame = new JFrame();
               frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
               frame.setSize(300, 300);
               frame.setVisible(true);
               loadImages();
               animationLoop();
          finally {
     public void animationLoop() {
          long startTime = System.currentTimeMillis();
          long currTime = startTime;
          while (currTime - startTime < DEMO_TIME) {
               long elapsedTime = System.currentTimeMillis() - currTime;
               currTime += elapsedTime;
               anim.update(elapsedTime);
               //getContentpane.getgraphics??!!
               Graphics g = frame.getGraphics();
               draw(g);
               g.dispose();
               try {
                    Thread.sleep(20);
               catch (InterruptedException ex) {}
     //draw the animation
     public void draw(Graphics g) {
          g.setColor(Color.white);
          g.fillRect(0, 0, 300, 300);          
          g.drawImage(anim.getImage(), 0, 0, null);
}

106498II wrote:
i changed it to read:
while (animTime > getFrame(currFrameIndex).endTime) {
                    currFrameIndex ++;
                    if (currFrameIndex >3) {
                         currFrameIndex = 0;
                    }this gets rid of the error but still no animation. Perhaps its something to do with that I draw directly on the JFrame?On the JFrame? Better to draw in a JPanel or JComponent. Also, perhaps you're trying to animate on the EDT in which case you get the beginning picture, and the end picture but usually you get nothing in between. Are you using a non-EDT thread or a Swing Timer?
Addendum: yeah it looks like you're trying to put the EDT (event dispatch thread -- the main thread that runs Swing) to sleep here. Please don't do this. Also you're trying to draw outside of a paint or paintComponent method.
Solution: Run don't walk to the Sun java2D and Swing graphics tutorials and read and study them.
Edited by: petes1234 on Dec 11, 2007 7:21 PM

Similar Messages

  • Portal Runtime Error - Access Denied

    Hi Gurus,
        I have developed a simple model using two BAPIs in the VC.
    Once I save and deplay the model, I am getting a message 'Deployed Successfully'. But when i click on the Run <My model> link, i am not getting the Portal screen with the layout i have designed. I am getting an empty screen.
    When i do a preview for my model in the portal, I get the following error:
    "  Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Access denied (Object(s): portal_content/com.sap.gm.cnt/vcmodels/com.myComp.myProduct.2L.USER_LIST/com.myComp.myProduct.iviews/com.myComp.myProduct.2M.Userlist).
    Exception id: 10:04_23/12/06_0005_83777250
    See the details for the exception ID in the log file "
    can somebody tell me what am i doing wrong? Or what should I do to correct this?
    Regards,
    Ravi

    hi Ravi,
         Check whether you have connected to a portal server. In the right hand top corner you get a small button to connect to portal server. If it says it have deployed successfully then in the contentadmin->portalcontent->visualcomposer folder you can see your iView created there.
    Regards,
    Gopi

  • JavaScript Runtime Errors in init.debug.js

    I have a custom branding solution for a SharePoint 2013 site collection in Visual Studio.  When I navigate the site collection or debug the solution, I seemingly randomly get Unhandled Exceptions in the /_layouts/15/init.debug.js.  It's rather
    0x800a03ee-JavaScript runtime error:  Expected ')' or 0x80070005 JavaScript runtime error:  Access is denied.  The first error occurs just navigating the site collection.  The second error occurs when I hover over the name with presence
    at the bottom while editing an item.  I haven't edited this script at all, so what can cause this JavaScript that is in the hive to throw exceptions, and what is a good approach to debug it in order to get to the root of the problem?

    Thank you for your response. I'm in a SharePoint 2013 development environment using IE10.  When I added the site collection as a trusted site in the local intranet zone in IE 10, I no longer get the JavaScript runtime related to the name of presence
    and Access.  When I deploy the solution, I do not get any errors.  But if I debug in Visual Studio, the solution, which is set of features that installs a master page with custom navigation, I get this error when I navigate the site collection: 
    Unhandled exception at line 6784, column 13 in layouts/15/init.debug.js?rev=z/JdnR/rlmz5Wvyfz5qrBg==
    0x800a03ee - JavaScript runtime error: Expected ')'
    The error occurs in NotifyScriptLoadedAndExecuteWaitingJobs in init.debug.js, and the call stack goes back to DeltaManager$_ScriptLoader in start.debug.js and eventually to the browserHandler, ScriptResource.axd.
    init.debug.js, correct me if I'm wrong please, is a JavaScript that SharePoint adds during debugging.  If I go in the hive and add that ')' where it breaks, then everything breaks.  Why is this error thrown, and what is the rev parameter at the
    end of the query string?
    The custom master page in the solution being installed has a line:
    <
    asp:ScriptManagerid="ScriptManager"runat="server"EnablePageMethods="false"EnablePartialRendering="true"EnableScriptGlobalization="false"EnableScriptLocalization="true"/>
    I added ScriptMode="Debug", and the errors occur during debugging.  I changed it to ScriptMode="Release", and still got the same errors.
    I'm not sure if and where in the code things are breaking, but I'm having trouble understanding why SharePoint, Visual Studio, and Internet Explorer behave in this manner.

  • Portal Runtime Error while accessing BW reports through portal

    Hi,
    We are facing portal runtime error(An exception occurred while processing your request. Please send the exception id to your portal administrator) while accessing BI reports through portal frequently.
    We are unable to trace the error in the 'default trace' log file and although refreshing the cache solves this issue, it is difficult to explain this to every user individually.
    After many such errors, We found one log entry, which we are now not yet sure if it is relevant. The error states:
    1.
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.Access.WAS.protocol&gt;://&lt;System.Access.WAS.hostname&gt;&lt;BWLauncherComponent[PORTAL_URL]&gt;;jsessionid=&lt;Request.JSessionID&gt;?sap-ext-sid=&lt;ID[url_ENCODE]&gt;&amp;Language=&lt;Request.Language&gt;&amp;theme=&lt;LAF.Theme[url_ENCODE]&gt;&amp;sap-lafversions=&lt;LAF.AllVersions[url_ENCODE]&gt;&amp;&lt;Authentication&gt;&amp;&lt;Report&gt;&amp;&lt;BusinessParameters&gt;&#39;; the problem occured at position 230. Cannot process expression &lt;LAF.AllVersions&gt;
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:125)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:540)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:423)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Content pass of Application Integrator failed.
    Component Name:       'com.sap.portal.appintegrator.sap.BWReport',
    Context Name (iView):  <iview name location>
    Top Layer:            'BWReport/TopLayer',
    Producer ID (FPN):    'null',
    System Alias:         'Sap_bw',
    2.
    The cluster server element 111111 is not added in the EP cluster context,
       because prtbridge on 111111 is stopped  or not yet started (maybe the server is starting or shuting down).
    Please suggest us if the above logs are related to the issue or not
    Kindly provide us any inputs or solutions.

    Hi All,
    We are also having similiar type of error in our portal. 
    com.sap.engine.services.prtbridge##com.sap.engine.services.prtbridge
    #######SAPEngine_System_Thread[impl:5]_13##0#0#Error#1#/System/Server#Plain###
    The cluster server element 125898350 is not added in the EP cluster context,
       because prtbridge on 125898350 is stopped  or not yet started
    (maybe the server is starting or shuting down).
    We have implemented the FPN using RRA.
    This error comes only for few users when they navigate in Portal. After clearing the cache, it works for all. Kindly help us to resolve this issue.
    Regards,
    Venkatesh

  • Portal runtime error while accessing BI Report as URL iView

    Hi All,
    I created an URL Iview with the URL of BI report, when i am trying to access it then getting portal runtime error.
    I had check the log it is showing the following details about the error, could you please help me out what is the root cause based on the log details...??
    Thanks in advance.
    Logfile Details
    1) 08:48_14/09/10_0049_139354050*
    *[EXCEPTION]*
    *com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.ConnectionString&gt;&#39;; the problem occured at position 0. Cannot process expression &lt;System.ConnectionString&gt; because Invalid System Attribute:*
    *System:    &amp;#39;SAP_LocalSystem&amp;#39;,*
    *Attribute: &amp;#39;ConnectionString&amp;#39;.*
    *at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:125)*
    *at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)*
    *at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)*
    *at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*
    *at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)*
    *at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)*
    *at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)*
    *at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:235)*
    *at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)*
    *at java.security.AccessController.doPrivileged(AccessController.java:246)*
    *at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)*
    *at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)*
    *at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)*
    *at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)*
    *at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)*
    *at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)*
    *at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)*
    *at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)*
    *at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)*
    *at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)*
    *at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)*
    *at java.security.AccessController.doPrivileged(AccessController.java:219)*
    *at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)*
    *at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    2) Full Message Text*
    *Content pass of Application Integrator failed.*
    *Component Name:       'com.sap.portal.appintegrator.sap.Transaction',*
    *Context Name (iView): 'pcd:portal_content/net.ea.epson.BI_ROLES/com.epson.financeuser/ZB(3a)FINANCE_USER/com.Epson.UnitandGrossProfit',*
    *Top Layer:            'Transaction/DragAndRelateLayer',*
    *Producer ID (FPN):    'null',*
    *System Alias:         'BIDCLNT100',
    Thanks,
    Kalki Reddy.

    Hi Avadh,
    Thanks for your reply.
    I tested thru connection test of the system , it was tested successflly without any issues. all are into tick mark only.
    but when i am trying to use the system alias name while creating Trasaction iview also i am not able to get the system alias name in the dropdown for selecting the system alias.
    but system alias what ever it is "BIDCLNT100" is in active and connection test is done correctly without any issues.
    Please let me know the problem why i am not able to get the same system alias name "BIDCLNT100" not able to get in the drop down list while creating the transaction IView??
    Please reply , Thanks in advance
    Thanks,
    Kalki Reddy

  • The latest update has resulted in a runtime error (R6034) and I keep being told Microsoft Visual C   Runtime Library is being accessed incorrectly.  Anyone know how to overcome the problem?  I am using a Dell Inspiron  9400 running Vista.

    The latest update to itunes has resulted in a whole series of runtime errors (R6034).  Microsoft Visual C++ Runtime Library states it is being accessed incorrectly.  I am also told that Apple Mobile Device Failed to Start.  Additional messages suggest the error is in itunes.exe and ituneshelper.exe.  I also get Error 7 (Windows error 1114).  Anyone got any ideas how to overcome this (these) problems?

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99527)

  • Portal runtime error: Cannot access bean property

    Dear all,
    Does anybody have a clue what problem might couse the <b>Portal Runtime Error</b> described below?
    It does seem to occur when a second user wants to access the <b>Component</b>.
    <b>Portal Runtime Error</b>
    An exception occurred while processing a request for :
    iView : pcd:portal_content/com.xxxxx.luminaires/com.xxxx.iviews/Quotations/EasyQuote
    <b>Component</b> Name : EasyQuoteDemo.EasyQuoteComponent
    Tag tableView attribute model: Cannot access bean property quotationHeader.CurrentTableModel in page context.
    Exception id: 04:50_21/09/04_0070
    See the details for the exception ID in the log file
    Thxs in advance
    Joost

    Hi Dominik,
    Having a closer look at the problem, we found it is not the number of users.
    It seems our JAVA components keeps the conenctions with SAP open and reopens a new one every time we start the component.
    If we finished solving the problem, I will publish the solution.
    Greetings,
    Joost

  • Getting Portal Runtime Error while accessing one link in Portal Page.

    Hi,
    Can anyone tell why I am getting below error while accessing one of the portal page link:
    " Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 01:19_27/02/09_0046_16441150
    Refer to the log file for details about this exception. "
    Also please let me know how to get rid of this if possible.
    Thanks in Advance
    Vaibhav Srivastava

    Thank you for your prompt reply.
    Could you please elaborate the same.
    I am getting Portal runtime error while I am acessing an iveiw in E-recruiting. We have setup the role and user in both portal and Backend. But still the error. Could you pls send me the setting you have done.
    Portal runtime ERROR
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 02:27_27/04/09_0042_113148050
    Refer to the log file for details about this exception.
    regards
    Justin

  • HT5654 As a result of installing an itunes update I got a runtime error (R6034). I cannot access my library. If I uninstall my current version of Itunes and then reinstall Itunes from their website do I loose the songs that are currently in my library?

    As a result of downloading an Itunes update on my PC I got a runtime error (R6034). I now cannot access my Itunes Library. If I uninstall Itunes and then reinstall the latest version do I loose the songs in my library, which I paid for?
    Thanks

    Hi there norad73,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    -Griff W.

  • Runtime Error when accessing KM Content

    Hi Everyone,
    I am getting Runtime Error when accessing KM Content through Content Administration/KM Content.
    See the below error information.
    Runtime Error
    An exception occured while processing the request.
    Additional information: String index out of range: -28
    Exception ID = 00a67a58-06f5-2b10-b997-9edccc061ca6
    What could be the problem.
    Any help will be appreciated.
    thank you
    regards
    sunil

    hi Romano
    Here is the log trace file text.
    #1.5#001321C84B3300A304DC7AFD00001D50000465605028DB15#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces a problem time in sequence#2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#11651182th#
    #1.5#001321C84B3300A304DC7AFF00001D50000465605028DBEB#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces the following problem: #2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.#
    #1.5#001321C84B3300A304DC7B0100001D50000465605028DCB3#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java###CBS Instance pulse thread will try to recover#1#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#
    #1.5#001321C84B3300A304DC7B0200001D50000465605028DE21#1237364243036#com.sap.tc.cbs.server.rt.impl.CourteousTimer##com.sap.tc.cbs.server.rt.impl.CourteousTimer######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Java###A problem during RUN
    [EXCEPTION]
    #1#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.
         at com.sap.tc.cbs.server.rt.impl.Pulsar.beforeExecution(Pulsar.java:86)
         at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:116)
         at java.lang.Thread.run(Thread.java:534)
    #1.5#001321C84B3300A304DC7B0400001D50000465605028DF04#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces a problem time in sequence#2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#11651183th#
    #1.5#001321C84B3300A304DC7B0600001D50000465605028DFDA#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces the following problem: #2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.#
    #1.5#001321C84B3300A304DC7B0800001D50000465605028E0A1#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java###CBS Instance pulse thread will try to recover#1#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#
    #1.5#001321C84B3300A304DC7B0900001D50000465605028E1FE#1237364243036#com.sap.tc.cbs.server.rt.impl.CourteousTimer##com.sap.tc.cbs.server.rt.impl.CourteousTimer######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Java###A problem during RUN
    [EXCEPTION]
    #1#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.
         at com.sap.tc.cbs.server.rt.impl.Pulsar.beforeExecution(Pulsar.java:86)
         at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:116)
         at java.lang.Thread.run(Thread.java:534)
    #1.5#001321C84B3300A304DC7B0B00001D50000465605028E2DF#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces a problem time in sequence#2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#11651184th#
    #1.5#001321C84B3300A304DC7B0D00001D50000465605028E3B5#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces the following problem: #2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.#
    #1.5#001321C84B3300A304DC7B0F00001D50000465605028E473#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java###CBS Instance pulse thread will try to recover#1#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#
    #1.5#001321C84B3300A304DC7B1000001D50000465605028E5D8#1237364243036#com.sap.tc.cbs.server.rt.impl.CourteousTimer##com.sap.tc.cbs.server.rt.impl.CourteousTimer######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Java###A problem during RUN
    [EXCEPTION]
    #1#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.
         at com.sap.tc.cbs.server.rt.impl.Pulsar.beforeExecution(Pulsar.java:86)
         at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:116)
         at java.lang.Thread.run(Thread.java:534)
    #1.5#001321C84B3300A304DC7B1200001D50000465605028E6B9#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces a problem time in sequence#2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#11651185th#
    #1.5#001321C84B3300A304DC7B1400001D50000465605028E798#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces the following problem: #2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.#
    #1.5#001321C84B3300A304DC7B1600001D50000465605028E856#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java###CBS Instance pulse thread will try to recover#1#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#
    #1.5#001321C84B3300A304DC7B1700001D50000465605028E9AD#1237364243036#com.sap.tc.cbs.server.rt.impl.CourteousTimer##com.sap.tc.cbs.server.rt.impl.CourteousTimer######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Java###A problem during RUN
    [EXCEPTION]
    #1#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.
         at com.sap.tc.cbs.server.rt.impl.Pulsar.beforeExecution(Pulsar.java:86)
         at com.sap.tc.cbs.server.rt.impl.CourteousTimer.run(CourteousTimer.java:116)
         at java.lang.Thread.run(Thread.java:534)
    #1.5#001321C84B3300A304DC7B1900001D50000465605028EAA5#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces a problem time in sequence#2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#11651186th#
    #1.5#001321C84B3300A304DC7B1B00001D50000465605028EB87#1237364243036#com.sap.tc.cbs.server.rt.impl.Pulsar##com.sap.tc.cbs.server.rt.impl.Pulsar######6575e170137111de9951001321c84b33#Thread[CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33,10,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error#1#/Applications/CBS/Administration#Java### faces the following problem: #2#CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33#java.lang.IllegalStateException: CBS-Pulsar 12432550/ad9cf170-12e8-11de-99b2-001321c84b33 did not confirm instance activity for more than 180 sec.#
    regards
    sunil

  • Runtime error SQL error 3114 occurred when accessing program CX_ w

    Hi Friends,
    Iam in a big mess . I have one query based on one my Zinfocube.This query ia attached in the workbook .. Previuolsy all was fine , but now whever iam executing this query it is throwing me the exception
    Query 0: Runtime error SQL error 3114 occurred when accessing program CX_ with parallel processing via RFC.
    and
    Beim Lesen der Daten sind Fehler aufgetreten. Navigation ist möglich
    I am not able to get the cause of error ..
    Can anybody help me in this regrd as its a bit urgent.
    Thanks in advance..

    Hi , thanks for replying ,
    I have tried running query through RSRT also , its not working still it is giving me the same error .
    In st22 it is showing me the follwing dump.
    DBIF_REPO_SQL_ERROR
    Short text
        SQL error 3114 occurred when accessing program
    What happened?
        The system is no longer linked to an ORACLE instance.
        No further operations can be performed on the database.
    What can you do?
        You cannot eliminate this error yourself.
        Please inform your database administrator.
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
        Note which actions and input led to the error.
        For further help in handling the problem, contact your SAP administrator
        You can use the ABAP dump analysis transaction ST22 to view and manage
        termination messages, in particular for long term reference.
    Error analysis
        The system attempted to access an ORACLE instance to which
        it is no longer linked.
        This situation may arise because the ORACLE instance
        has been stopped due to an error or an external operation.
    How to correct the error
        Database error text........: "ORA-03114: not connected to ORACLE"
        Triggering SQL statement...: "CX_SQL_EXCEPTION==============CP "
        The current status of the ORACLE instance cannot be determined.
        It may be still inactive or the database administrator may have
        restarted it.
        In any case, all systems that have accessed the ORACLE instance
        must be restarted after the ORACLE instance has been restarted.
        If you were working on a central system, inform
        your system administrator.
        If you were working on an external local system, inform
        the person responsible for this system.
        If you were working on your own local system, restart
        the system yourself.
        If the error occures in a non-modified SAP program, you may be able to
        find an interim solution in an SAP Note.
        If you have access to SAP Notes, carry out a search with the following
        keywords:
        "DBIF_REPO_SQL_ERROR" " "
        "CL_SQL_RESULT_SET=============CP" or "CL_SQL_RESULT_SET=============CM006"
        "NEXT_PACKAGE"
        If you cannot solve the problem yourself and want to send an errornotification to SAP, include the following information:
    1. The description of the current problem (short dump)
       To save the description, choose "System->List->Save->Local File
    (Unconverted)".
    2. Corresponding system log
       Display the system log by calling transaction SM21.
       Restrict the time interval to 10 minutes before and five minutes
    after the short dump. Then choose "System->List->Save->Local File
    (Unconverted)".
    3. If the problem occurs in a problem of your own or a modified SAP
    program: The source code of the program
       In the editor, choose "Utilities->More
    Utilities->Upload/Download->Download".
    4. Details about the conditions under which the error occurred or which
    actions and input led to the error.
    If the error occures in a non-modified SAP program, you may be able to
    find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following
    keywords:
    "DBIF_REPO_SQL_ERROR" " "
    "CL_SQL_RESULT_SET=============CP" or "CL_SQL_RESULT_SET=============CM006"
    "NEXT_PACKAGE"
    Thanks in Advance..

  • TS1424 runtime error programC:\Program files(x86) R6034- cant access i tunes -what should I do?

    Cant access my i tunes on my lap top -says Runtime error program C:\ Program files (x86) R6064 ~ what should I do?

    Hi Paddington27,
    Thanks for using Apple Support Communities.  This article has steps you can take for the error you're seeing:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Ari

  • Portal Runtime error - An exception occured : when accessing the SRM Portal

    Dear Consultants,
                                     We are logging onto the SRM Portal using url link. SAP Netweaver 7.0
    But when we are trying to access any tabs in the Navigation frame of the portal it is throwing an error.
    Error - Portal Runtime error
    An exception has occured while processing your request.
    Can you please let me know how can I find the correct reason for the error.
    regards
    Arindam

    Hi Arindam,
    Pls check Default Trace log in the NWA tool, path would be NWA --> Monitoring --> Logs and Traces --> Select Default Trace.
    Find the log messages with the Exception ID found on your Portal Runtime error. These logs would specify the exact cause of error.
    Thanks,
    Swapna Priya.

  • Portal Runtime Error Reason: Access denied

    Dear Portal Experts,
    I know you might be familiar with the error and I'm kinda frustrated with the errors. Ok these are the facts:
    I'm implementing SRM 701 - Portal
    Got this error:
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 07:04_14/10/11_0076_1729150
    Refer to the log file for details about this exception.
    Log Result (part of):
    Component Name:       'com.sap.portal.appintegrator.sap.WebDynpro',
    Context Name (iView): 'pcd:portal_content/com.sap.pct/specialist/com.sap.pct.srm.srm70/com.sap.pct.srm.fl_ehp1/com.sap.pct.srm.srm70.fl_core/com.sap.pct.srm.srm70.fl_roles/com.sap.pct.srm.core.ro_employeeselfservice/fl_goshopping/com.sap.pct.srm.srm70.iv_shop_ess',
    Top Layer:            'WebDynpro/TopLayer',
    Producer ID (FPN):    'null',
    System Alias:         'SAP_SRM',
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Cannot retrieve system object for this alias.
    System Alias:  &\#39;SAP_SRM&\#39;,
    System ID:     &\#39;pcd:portal_content/com.sap.01SystemLandscape/com.sap.SAPSRM&\#39;.
    User:          &\#39;MANAGER1&\#39;,
    Reason:         Access denied (Object(s): portal_content/com.sap.01SystemLandscape/com.sap.SAPSRM)
    If I give MANAGER1 super admin, all works. My analysis: It's only user permission problem
    I've done this:
    Everyone Group has READ permission and END USER ticked at level object (SAPSRM)
    Checking the related iView, has the same permission (obviously because it's inherited from the object SAPSRM)
    MANAGER1 has Everyone Assigned Groups
    So, everyone, is there something missing?
    Really appreciate your help

    It seems SAP_SRM is a system object. Correct? Try this:
    I assume you have already added everyone group to permissions of SAP_SRM, set it to OWNER. In addition, go to permission source and add everyone group there as well and perform the same action.
    I remember I had some Bex iViews and I had faced similar problem. It always used to work whenever I used to add user/group to permission source.
    Ameya

  • Microsoft visual c++ runtime library runtime error! program c:/program files(x86)/mpzilla firefox.... blocks access to firefox... how to remove?

    microsoft visual c++ runtime error
    runtime error!
    program c:/program files(x86)/mozilla firefox/firefox.exe
    this application has requested the runtime to terminate it in an unusual way please contact the applications support team for more information
    this pops up when going to firefox and prevents access to firefox
    HOW DO YOU REMOVE THIS FROM FIREFOX?

    Some have suggested uninstalling and reinstalling the VLC media player:
    [http://groups.google.com/group/mozilla.feedback.firefox/browse_thread/thread/a5d0e8baf5402036 http://groups.google.com/group/mozilla.feedback.firefox/browse_thread/thread/a5d0e8baf5402036]. It could also be that some other plugin in Firefox needs updated, like Adobe Flash player.
    I'd also recommend making sure that you're up to date with the latest version of Firefox.

Maybe you are looking for