NoSuchElement exception

When we run our application sometimes we see this error "java.util.NoSuchElementException" and app stops loading. We managed to find that in some places while referring to the attribute bindings we missed ".inputValue", for example instead of bindings.userCanUpdateTerritory.inputValue we call only bindings.userCanUpdateTerritory.
Question:
1. Is there any setting in jdev's Java runtime or in web.xml that can help to capture the exact attribute names. Simply by seeing "java.util.NoSuchElementException" we are completely clueless.
Appreciate some help on this.
Below is the error:
####<Dec 12, 2010 11:15:27 PM PST> <Error> <oracle.adf.view.rich.component.fragment.UIXPageTemplate> <indl144193> <DefaultServer> <ACTIVE ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <SALES_ADMIN> <c07b9a7a529f9d0e:-628024b8:12cde87628d:-8000-000000000000029d> <1292224527012> <ADF_FACES-10018> <Tear down of page template context failed due to an unhandled exception.
java.util.NoSuchElementException
at java.util.ArrayDeque.removeFirst(ArrayDeque.java:251)
at java.util.ArrayDeque.pop(ArrayDeque.java:480)
at oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl.popContextChange(ApplicationContextManagerImpl.java:66)
at oracle.adf.view.rich.component.fragment.UIXPageTemplate.tearDownVisitingContext(UIXPageTemplate.java:251)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:157)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1181)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:259)
at org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler.renderView(TrinidadFaceletViewHandler.java:120)
at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:57)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:43)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:109)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:598)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:114)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:97)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:164)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
####<Dec 12, 2010 11:15:26 PM PST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <indl144193> <DefaultServer> <ACTIVE ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <SALES_ADMIN> <c07b9a7a529f9d0e:-628024b8:12cde87628d:-8000-000000000000029d> <1292224526989> <ADF_FACES-00009> <Error processing viewId: /editProposals-task-flow-definition/EditProposal URI: /oracle/apps/sales/territoryMgmt/territories/ui/page/EditProposal.jsff actual-URI: /oracle/apps/fnd/applcore/patterns/uishell/MainArea.jsff.
java.lang.IllegalArgumentException: Cannot convert of type class oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding to class java.lang.Boolean
at com.sun.el.lang.ELSupport.coerceToBoolean(Unknown Source)
at com.sun.el.parser.AstNot.getValue(Unknown Source)
at com.sun.el.parser.AstOr.getValue(Unknown Source)

Hi,
exceptions look ugly but they are the most honest view onto a problem. Yours says at its end
viewId: /editProposals-task-flow-definition/EditProposal URI: /oracle/apps/sales/territoryMgmt/territories/ui/page/EditProposal.jsff actual-URI: /oracle/apps/fnd/applcore/patterns/uishell/MainArea.jsff.
java.lang.IllegalArgumentException: Cannot convert of type class oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding to class java.lang.Boolean
Obviously you use an El reference to the binding layer that you assign to a boolean attribute. Instead of #{bindings.attributeName.*inputValue*} you seem to just use just #{bindings.attributeName}
Also, it appears the problem is in a page template
Frank

Similar Messages

  • What is wrong with my map?

    I'm trying to figure out why ADD works, but REMOVE, LOOKUP, and QUIT don't. They give NoSuchElement Exceptions. Thanks in advance.
    import java.io.*;
    import java.net.*;
    import java.util.*;
    // Begin phoneServer Class
    public class phoneServer implements Serializable{
         phoneServer(){
         // Create Map to Store Names/Numbers
              Map directory = new TreeMap();
                        // Initial Read of directoryFile
                        boolean fileExists = false;
                        try{
                             ObjectInputStream initialRead = new ObjectInputStream(new FileInputStream("phoneDirectory.txt"));
                             directory = (TreeMap)initialRead.readObject();
                             fileExists = true;
                             initialRead.close();
                        }catch(IOException e){
                             System.out.println(e);
                        }catch(ClassNotFoundException e){
                             System.out.println(e);
                        // Read the existing directoryFile if Map does not exist
                        if(fileExists==false){
                             try{
                                  BufferedReader br = new BufferedReader(new FileReader("delimiters.txt"));
                                  String s = br.readLine();
                                  while(!s.equals("")){
                                       StringTokenizer sTok = new StringTokenizer(s,"#");
                                       while(sTok.hasMoreTokens()){
                                           directory.put(sTok.nextToken(),sTok.nextToken());
                                       s = br.readLine();
                                  saveMap(directory);
                             }catch(IOException e){
                                  System.out.println(e);
                   try{
                   // Create initial Server Socket
                   ServerSocket servSock = new ServerSocket(1111);
                   System.out.println("Phone Server Started.");
                   System.out.println("Press CTRL-C to Stop.");
                   // Begin Loop for Server
                   while(true){
                        Socket connectedSock = servSock.accept();
                        String client = connectedSock.getInetAddress().getHostName();
                        System.out.println("Connection made to client: " + client);
                        // Create I/O Streams
                        BufferedReader clientReader = new BufferedReader(new InputStreamReader(connectedSock.getInputStream()));
                        PrintWriter serverWriter = new PrintWriter(new OutputStreamWriter(connectedSock.getOutputStream()), true);
                        boolean on = true;
                            serverWriter.println("Welcome: " + client);
                            serverWriter.println("Please enter a command: ");
                             String input = clientReader.readLine();
                             String command = "";
                             String name = "";
                             String phoneNumber = "";
                             while(on){
                               printList(directory);
                               StringTokenizer st = new StringTokenizer(input,"+");
                               while(st.hasMoreTokens()){
                                    command = st.nextToken();
                                  name = st.nextToken();
                                 phoneNumber = st.nextToken();
                                   if(command.equals("ADD")){
                                         directory.put(name,phoneNumber);
                                         serverWriter.println("Added " + name + " and " + phoneNumber + " to Directory");
                                         saveMap(directory);
                                   else if(command.equals("REMOVE")){
                                         directory.remove(name);
                                         serverWriter.println("Removed " + name + " from the Directory");
                                         saveMap(directory);
                                   else if(command.equals("LOOKUP")){
                                            Object result = directory.get(phoneNumber);
                                         serverWriter.println("Name: " + name + "\tPhone Number: " + result);
                                         saveMap(directory);
                                   else if(command.equals("QUIT")){
                                        on=false;
                                        connectedSock.close();
                            input=clientReader.readLine();
              }catch(Exception e){
                  System.out.println(e);
         // Begin main Method
         public static void main(String[] args){
              phoneServer ps = new phoneServer();
         // Method used to Serialize map to a file
         public void saveMap(Map m){
              try{
                   ObjectOutputStream saved = new ObjectOutputStream(new FileOutputStream("phoneDirectory.txt"));
                   saved.writeObject(m);
                   saved.flush();
                   saved.close();
              catch(IOException e){
                   System.out.println(e);
        // Method to test map
        static void printList(Map m){
         Set pairs = m.entrySet();
         for(Iterator it = pairs.iterator(); it.hasNext(); ){
             Map.Entry pair = (Map.Entry)it.next();
             System.out.println(pair.getKey() + "->" + pair.getValue());
              

    Ok, now that I got that working, I'm attempting to implement threads, but i'm having a few problems:
    // Import Statements
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class phoneServer{
         // Begin main Method
         public static void main(String[] args){
              try{
                   // Create initial Server Socket
                   ServerSocket servSock = new ServerSocket(1111);
                   System.out.println("Phone Server Started.");
                   System.out.println("Press CTRL-C to Stop.");
                   // Begin Loop for Server
                   while(true){
                        Socket connectedSock = servSock.accept();
                        pServer ps = new pServer(connectedSock);
                        ps.start();
              }catch(Exception e){
                  System.out.println(e);
              // Method used to Serialize map to a file
         public void saveMap(Map m){
              try{
                   ObjectOutputStream saved = new ObjectOutputStream(new FileOutputStream("phoneDirectory.txt"));
                   saved.writeObject(m);
                   saved.flush();
                   saved.close();
              catch(IOException e){
                   System.out.println(e);
        // Method to test map
        static void printList(Map m){
              Set pairs = m.entrySet();
              for(Iterator it = pairs.iterator(); it.hasNext(); ){
                   Map.Entry pair = (Map.Entry)it.next();
                  System.out.println(pair.getKey() + "->" + pair.getValue());
    // Begin pServer Class
    class pServer extends Thread implements Serializable{
         // Create Map to Store Names/Numbers
              Map directory = new TreeMap();
              private Socket sock;
              pServer(Socket s){
                   sock=s;
                        // Initial Read of directoryFile
                        boolean fileExists = false;
                        try{
                             ObjectInputStream initialRead = new ObjectInputStream(new FileInputStream("phoneDirectory.txt"));
                             directory = (TreeMap)initialRead.readObject();
                             fileExists = true;
                             initialRead.close();
                        }catch(Exception e){
                             System.out.println(e);
                        // Read the existing directoryFile if Map does not exist
                        if(fileExists==false){
                             try{
                                  BufferedReader br = new BufferedReader(new FileReader("delimiters.txt"));
                                  String s = br.readLine();
                                  while(!s.equals("")){
                                       StringTokenizer sTok = new StringTokenizer(s,"#");
                                       while(sTok.hasMoreTokens()){
                                           directory.put(sTok.nextToken(),sTok.nextToken());
                                       s = br.readLine();
                                  saveMap(directory);
                             }catch(IOException e){
                                  System.out.println(e);
                        public void run(){
                             try{
                             String client = connectedSock.getInetAddress().getHostName();
                             System.out.println("Connection made to client: " + client);
                             // Create I/O Streams
                             BufferedReader clientReader = new BufferedReader(new InputStreamReader(connectedSock.getInputStream()));
                             PrintWriter serverWriter = new PrintWriter(new OutputStreamWriter(connectedSock.getOutputStream()), true);
                             boolean on = true;
                            serverWriter.println("Welcome: " + client);
                            String command = "";
                             String name = "";
                             String phoneNumber = "";
                             // Read in commands and process map operations
                             while(on){
                               String input = clientReader.readLine();
                               StringTokenizer st = new StringTokenizer(input,"+");
                                 if(st.hasMoreTokens())
                                         command = st.nextToken();
                                  if(st.hasMoreTokens())
                                       name = st.nextToken();
                                 if(st.hasMoreTokens())
                                      phoneNumber = st.nextToken();
                                   if(command.equals("ADD")){
                                         directory.put(name,phoneNumber);
                                         serverWriter.println("Added " + name + " and " + phoneNumber + " to Directory");
                                         saveMap(directory);
                                   else if(command.equals("REMOVE")){
                                         try{
                                              directory.remove(name);
                                              serverWriter.println("Removed " + name + " from the Directory");
                                              saveMap(directory);
                                      }catch(Exception nsee){
                                           serverWriter.println("No Such Key");
                                   else if(command.equals("LOOKUP")){
                                            try{
                                                 Object result = directory.get(name);
                                              serverWriter.println("Name: " + name + "\tPhone Number: " + result);
                                              saveMap(directory);
                                         }catch(NoSuchElementException nsee){
                                              serverWriter.println("That name does not exist in the directory");
                                   else if(command.equals("QUIT")){
                                        on=false;
                                        serverWriter.println("Goodbye");
                                        connectedSock.close();
                   }catch(Exception e){
                        System.out.println(e);
              The errors are:
    line 80 : illegal start of express try{
    line 172 : <identifier> expected
    I have no idea what to do.

  • [JHS 10.1.2.2 build 32] Editting table results in NoSuchElementException

    Hi All,
    hopefully somebody has already encountered and solved this problem.
    We are using jHeadstart 10.1.2.2 build 32 and have generated our application in JSPs. But i'm running into a quite structural problem when using the editable table.
    I execute the following steps:
    - On a few pages we have editable tables that display one empty (new) row at the bottom.
    - The tables (views) have a few mandatory columns (attributes).
    - I do not fill all the required field in the empty row
    - I press the commit button
    The page shows the relevant message (the field is mandatory) in the screen but also dumps a NoSuchElementException in the last line.
    The last line shown is the 'new' row.
    java.util.NoSuchElementException
         at java.util.AbstractList$Itr.next(Unknown Source)
         at org.apache.taglibs.standard.tag.common.core.ForEachSupport$SimpleForEachIterator.next(ForEachSupport.java:143)
         at org.apache.taglibs.standard.tag.common.core.ForEachSupport.next(ForEachSupport.java:165)
         at javax.servlet.jsp.jstl.core.LoopTagSupport.doAfterBody(LoopTagSupport.java:301)
         at _web_2d_inf._page._referentie._TalenTable._jspService(_TalenTable.java:367)
         [SRC:/WEB-INF/page/referentie/TalenTable.jsp:161]
         at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:782)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:226)
         at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
         at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
         at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
         at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
         at oracle.jheadstart.controller.strutsadf.JhsRequestProcessor.process(JhsRequestProcessor.java:385)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
         at oracle.jheadstart.controller.strutsadf.JhsActionServlet.process(JhsActionServlet.java:130)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.jheadstart.controller.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:176)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:239)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:617)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:794)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.2.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Unknown Source)I've tracked the problem down to the RangeSetWrapper class that returns a size of 6 but fills the errorBeans property with only 5 objects. When getting the 6th row (index 5) the errorBeans array throws an IndexOutOfRangeException which in turn results in the NoSuchElement exception.
    Does anybody recognize this problem? Does anybody have a solution? I'm trying to hack into the RangeSetWrapper class, but am not very succesfull at the moment (Well the Exception is gone, but rows get mixed up ;-))
    Regards,
    Robert Willems of Brilman
    Ps. An extract from the JSP page:
    <c:set var="RbsTalenViewNewRows" value="1" scope="request"/>
    <c:forEach var="RbsTalenView" varStatus="status" items="${jhsTableBindings.RbsTalenView.rangeSet}">
       <html:hidden name="RbsTalenView" property="rowKeyStr" indexed="true"/>
       <c:set var="editMode" scope="request" value="${status.index lt bindings.TalenIterator.estimatedRowCount and bindings.TalenIterator.currentRowIndexInRange!=-1}"/>
            <tr class="altRow<c:out value="${status.index % 2 + 1 }"/>">
          <c:set var="rowKeyStr" scope="request" value="${RbsTalenView.rowKeyStr}"/>
       <td nowrap="nowrap">
          <font class="required">*</font>
          <c:if test='${RbsTalenView.TalenUnicode == null}' >
            <html:text name="RbsTalenView" property="TalenUnicode" size="10" maxlength="3" indexed="true"/>
          </c:if>
          <c:if test='${RbsTalenView.TalenUnicode != null}' >
            <html:text name="RbsTalenView" property="TalenUnicode" size="10" maxlength="3" indexed="true" disabled="true"/>
          </c:if>
       </td>
       <td nowrap="nowrap">
          <html:text name="RbsTalenView" property="TalenNaam" size="30" maxlength="64" indexed="true"/>
       </td>
       <td class="fixed">
              <jsp:include page="/common/customDeleteButton.jsp" flush="true">
                <jsp:param name="deleteEvent" value="setCurrentRowWithKey~RbsTalenView"/>
              </jsp:include>
       </td>
            </tr>
          </c:forEach>   The exception is raised during the </c:forEach> (afterBody)

    Problem solved....
    It seems we had overridden some framework method in a subclass of JhsDataAction called clearFormBeanValues(). If you don't call this method you will get the exception stack i encountered. (The comments said the forms were always cleared and it shouldn't do that when errors were encountered.... too bad, not a name ;-))
    Hopefully nothing else will break now i ripped out that code ;-)
    Regards,
    Robert

  • Parsing Vector into a Table

    Hi all,
    Firstly, an advanced thankyou for anyone willing to help.
    I'm writing a JSP to display a table from a database, but the bean used passes back a vector (consisiting of more vectors) to the JSP and I have no idea how to parse through said vectors so I can output it to a table.
    Here's my code so far:
    The (segment of) bean:
         public Vector<Vector<Object>> getAllStock()
                                            throws SQLException
              Vector<Object> row = null;
              Vector<Vector<Object>> rows =
                                  new Vector<Vector<Object>>();
              connectToDb();
              try
                   results = statement.executeQuery(
                                            "SELECT * FROM Stock");
                   while (results.next())
                        row = new Vector<Object>();
                        row.add(results.getString(1));
                        row.add(results.getString(2));
                        row.add(results.getInt(3));
                        row.add(results.getInt(4));
                        row.add(results.getFloat(5));
                        rows.add(row);
              catch (SQLException sqlEx)
                   //Error message
              disconnectFromDb();
              return rows;
         }And then the JSP:
    <HTML>
        <HEAD>
            <TITLE>The tableName Database Table </TITLE>
        </HEAD>
        <BODY>
            <H1>Displaying full stock list </H1>
            <%
                    Vector resultset = stockacc.getAllStock();
            %>
            <TABLE BORDER="1">
                <TR>
                    <TH>Stock Code</TH>
                    <TH>Stock Desc</TH>
                    <TH>Current Level</TH>
                    <TH>Reorder Level</TH>
                    <TH>Price</TH>
                </TR>
                <% while(resultset.next()){ %>
                <TR>
                    <TD> <%= resultset.getString(1) %></td>
                    <TD> <%= resultset.getString(2) %></TD>
                    <TD> <%= resultset.getString(3) %></TD>
                    <TD> <%= resultset.getString(4) %></TD>
                    <TD> <%= resultset.getString(5) %></TD>
                </TR>
                <% } %>
            </TABLE>
        </BODY>
    </HTML>All help and advice greatly appreciated!

    Many thanks for all the timely replies!
    I'm trying to implement your solution (stevejluke), and here's what I've got so far:
    <HTML>
    <%@ page import="java.util.*" %>
    <%@ page import="java.net.*" %>
    <jsp:useBean id="stockacc" class="stockBeans.StockAccess" />
        <HEAD>
            <TITLE>The tableName Database Table </TITLE>
        </HEAD>
        <BODY>
            <H1>The tableName Database Table </H1>
            <%
                   Vector table = (Vector)stockacc.getAllStock();
                  Iterator rows = table.iterator();
                  Vector currentRow = (Vector)rows.next();
                  Iterator columns = currentRow.iterator();
            %>
            <%= columns.next() %>
            <TABLE BORDER="1">
                <TR>
                    <TH>Stock Code</TH>
                    <TH>Stock Desc</TH>
                    <TH>Current Level</TH>
                    <TH>Reorder Level</TH>
                    <TH>Price</TH>
                </TR>
                <TR>
                   </TR>
            </TABLE>
        </BODY>
    </HTML>Bearing in mind I'm just trying to see if anythings making it through, hence I'm just using <%= columns.next() %> for now.
    However, I don't think the vector (of vectors; not too confusing!) is being created when I do:
    Vector table = (Vector)stockacc.getAllStock();As I'm getting a NoSuchElement exception being thrown.
    Can anyone advise?
    Thanks again.

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • SR Log Error - |  Message  : com.sap.esi.uddi.sr.api.exceptions.SRException

    Hi,
    We are getting below errors in /nwa/logs. We have our PI (7.11) and Service Registry configured on the same server. And have out CE (7.2) system connected to this service registry. Does any one has similar experience? Please let me know if you have any solution for the same.
    SR Log Error
    |  11-Nov-11  14:10:45.568
    |  Method   : getClassificationSystems()
    |  Class    : com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean
    |  ThreadID : 146
    |  Message  : com.sap.esi.uddi.sr.api.exceptions.SRException: No classification system found for ID 'QName: Namespace= http://uddi.sap.com/classification; Name=  ConfigurationFlags'
    |
    |       com.sap.esi.uddi.sr.impl.common.Utility.cs2srException(Utility.java:122)
    |       com.sap.esi.uddi.sr.impl.ejb.ServicesRegistryBean.getClassificationSystems(ServicesRegistryBean.java:242)
    |       sun.reflect.GeneratedMethodAccessor1325.invoke(Unknown Source)
    |       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    |       java.lang.reflect.Method.invoke(Method.java:585)
    |       com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
    |       $Proxy1087.getClassificationSystems(Unknown Source)
    |       com.sap.esi.uddi.sr.api.ws.ServicesRegistrySiImplBean.getClassificationSystems(ServicesRegistrySiImplBean.java:456)
    |       sun.reflect.GeneratedMethodAccessor1324.invoke(Unknown Source)
    |       sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    |       java.lang.reflect.Method.invoke(Method.java:585)
    |       com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_WS.invoke(Interceptors_WS.java:31)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
    |       com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
    |       com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
    |       com.sap.engine.services.ejb3.webservice.impl.DefaultImplementationContainer.invokeMethod(DefaultImplementationContainer.java:203)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:512)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:486)
    |       com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:256)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWOLogging(ServletDispatcherImpl.java:176)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPostWithLogging(ServletDispatcherImpl.java:112)
    |       com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:70)
    |       SoapServlet.doPost(SoapServlet.java:51)
    |       javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
    |       javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
    |       com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:140)
    |       com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:37)
    |       com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:486)
    |       com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:298)
    |       com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:396)
    |       com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:385)
    |       com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:48)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:84)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:245)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:78)
    |       com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
    |       com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:43)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:42)
    |       com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
    |       com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
    |       com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:428)
    |       com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:247)
    |       com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:45)
    |       com.sap.engine.core.thread.execution.Executable.run(Executable.java:115)
    |       com.sap.engine.core.thread.execution.Executable.run(Executable.java:96)
    |       com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
    |

    Hi,
    Refer Error:Service Registyr Configuration PI 7.11
    and http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8071b1b8-3c5c-2e10-e7af-8cadbc49d711?QuickLink=index&overridelayout=true
    Thanks,
    Chandra

  • HT1386 I have synced the items from itunes to an iphone 4 without problem, except the two albums I just purchased did not sync.  They show up on the itunes on my desktop and on my ipod, but not on the new iphone.  What do I need to do?

    I have an itunes account and an ipod, and when I purchased 2 albums on the computer they synced straight to the ipod.  I bought an iphone and used the usb cord from the computer to it to sync the itunes albums to the new phone.  Everything transfered, and those were albums I had uploaded (not purchased from the itunes store), except the two albmus I just purchased from the itunes store.  They appear on my itunes on the computer and ipod, but not on the iphone.  What did I fail to do or did I do incorrectly?

    This might sound weird, but here's an idea which worked for me re music that was newly added to itunes and showed up in my ipod but wouldn't play - I simply played the tracks in itunes first, just a second of time or so will do it, not the whole track, then connect the ipod and sync again and this time they played - hope this helps.

  • Get Attribute values from a page and procedure exception handling?

    Hi All,
    I have created new page with two input attributes not based on any VO. This page is created to capture two values and pass these to an AM method upon pressing OK button. The method in AM will call a procedure with two in parameter expecting the two values captured from the above said page.
    I have two questions, first one how to capture the values entered by the page in the controller class and advises me how to handle exceptions when my procedure fails.
    I can not use something like this since this page is not based on a VO
    String fromName = (String)vo.getCurrentRow().getAttribute("FromName");
    Do I have to create a dummy VO like select '' name1, '' name2 from dual?
    Thanks for the help.

    Hi,
    Actually you can capture the parameters on the page like this way
    String test = (String)pageContext.getParameter("id of the text input bean");
    Now in procedure you can take an out parameter which stores the error messages on exception
    and return that out parameter in java.
    and then you can throw exception on page using OAException class.
    Thanks
    Gaurav Sharma

  • Get the values from Exception class

    Hi all ..
    In class i have raised one exception
    when i catch this exception in my program i m able to get the
    error message but i need to get all the parameters that i pass
    when i raise the exception ...
    i have raised like this
          RAISE EXCEPTION TYPE cx_bapi_error
            EXPORTING
              textid = cx_bapi_error=>cx_bo_error
              class_name = 'ZHS_'
              log_no = wa_bapi_return-log_no
              log_msg_no = wa_bapi_return-log_msg_no
              t100_msgid = wa_bapi_return-id
              t100_msgno = wa_bapi_return-number
              t100_msgv1 = wa_bapi_return-message_v1
              t100_msgv2 = wa_bapi_return-message_v2
              t100_msgv3 = wa_bapi_return-message_v3
              t100_msgv4 = wa_bapi_return-message_v4
              STATUS = lt_status
    and caught the exception like this in my program
        CATCH cx_bapi_error INTO go_error.
          gd_text = go_error->get_text( ).
          EXIT.
      ENDTRY.
    in this i m just getting the class name which i have passed in exception
    i need all other parameters that i have passed ..
    if u have any idea pls let me know ..
    Thanks in advance ...

    Hello Jayakumar
    Usually the attributes of standard exception classes are defines as <b>public</b> and <b>read-only</b>. Thus, you should be able to use the following coding:
    DATA:
      go_error   TYPE REF TO cx_bapi_error.  " specific exception class !!!
    TRY.
    RAISE EXCEPTION TYPE cx_bapi_error
    EXPORTING
    textid = cx_bapi_error=>cx_bo_error
    class_name = 'ZHS_'
    log_no = wa_bapi_return-log_no
    log_msg_no = wa_bapi_return-log_msg_no
    t100_msgid = wa_bapi_return-id
    t100_msgno = wa_bapi_return-number
    t100_msgv1 = wa_bapi_return-message_v1
    t100_msgv2 = wa_bapi_return-message_v2
    t100_msgv3 = wa_bapi_return-message_v3
    t100_msgv4 = wa_bapi_return-message_v4
    STATUS = lt_status.
    CATCH cx_bapi_error INTO go_error.
    gd_text = go_error->get_text( ).
    WRITE: go_error->t100_msgid,  " perhaps the attributes have different name
                go_error->t100_msgno, " check attribute names in SE24
    EXIT.
    ENDTRY.
    Regards
      Uwe

  • Trying to delete file from trash but get this: The operation can't be completed because the item "File name" is in use. All other files delete except this one. Please help

    Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help

    Maybe some help here:
    http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use//

  • Hello I am experiencing some problems for my iMessage and FaceTime. I did the steps the Apple provided online and I still can't get it to work. My updates are up to date. Everything is working fine it's just that the Apple iMessage won't except anyth

    hello I'm experiencing some problems with my iMessage and face time. I did with Apple provided me online. I did the steps. Nothing will work, it keeps saying activation turn on Wi-Fi when my Wi-Fi is turned on. As soon as I got this on Christmas. iMessage and FaceTime have not been working. My Apple and ID password are correct. Everything else is working fine. My iOS updates are up to date, everything is fine except FaceTime and iMessage

    Did you try everything here?
    iOS: Troubleshooting Messages
    Using FaceTime and iMessage behind a firewall
    iOS: Troubleshooting FaceTime and iMessage activation
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    In the future saying your tried the Apple on-line articles does provide us with information as to which ones you found and tried

  • Dunning - ST22- Exception in GET_DUNNING_CUSTOMIZING FM.

    Hi Experts,
    Issue is,
    When the user ran the Dunning report on July 16th, (selection criteria is--> July 16th & From customer 1 TO customer 999999999), bcoz of some thing, at CUST_444, the Exception was raised (say, for customers CUST_111, CUST_222, CUST_333, its successful), saying that...ABAP/4 processor: RAISE_EXCEPTION and it stopped there/job cancelled!
    So, now, again when the user wants to(subsequent running of dunning report) run the report for customer 1 to 999999999, SAP is blocking CUST_111, CUST_222, CUST_333 reports and saying already printed on July 16th!
    ST22- Exception in GET_DUNNING_CUSTOMIZING FM.
    So, How to fix it? I guess, we hv to delete the July 16th history report, If so, How to delete it?
    thanq.
    Message was edited by:
            Srikhar

    Hi Sheshu,
    If u get chance, pls. culd u respond to my other thread, title is,
    <i><b>SM 30 -
    AUTHORITY-CHECK OBJECT 'XXX' ??</b></i>
    search criteria: authority-check object
    area: abap general-abap development
    time: 7 days.
    Pls. clarify my doubts, sent to Roman!
    I copied and paste the same code to my requiremetn, after declaring necessory data part, but not working!
    if u did not find the thread , pls. let me know!
    thanq.

  • Float overlow Exception!

    Hi all,
    To quote JLS in verbatim ..."Java floating-point
    operators produce no exceptions (�11). An operation
    that overflows produces a signed infinity, an
    operation that underflows produces a signed zero, and
    an operation that has no mathematically definite
    result produces NaN."
    But I am facing a problem here. The highest value
    that can be held by a Double variable is
    1.79769313486231570e+308. Any operation resulting in
    an overflow of this variable should produce 'infinity'
    accodring to the JLS but I am getting a
    "EXCEPTION_FLT_OVERFLOW". Does this have something to
    do with the OS or the processor?
    Here's a simple test program:
    public class FloatingPointInexactRulesTest {
    public static void main(String[] args) {
    // An example of overflow:
    double d = 1.79769313486231570e+308;
    System.out.print("overflow produces infinity: ");
    System.out.println(d + "*1.1==" + d*1.1);
    The program's output should have been:
    overflow produces infinity: 1.0e+308*1.1==Infinity
    but I get a EXCEPTION_FLT_OVERFLOW! Since the JVM cant
    violate the semantics of the JLS I think the problem
    lies somewhere else(either the OS or the processor). I
    am using WIndows2000 as the OS and Intel PIV as the
    processor.
    Please help me...
    --------------EXCEPTION!---------------------
    Unexpected Signal : EXCEPTION_FLT_OVERFLOW
    (0xc0000091) occurred at PC=0xEFA6C3
    Function=[Unknown.]
    Library=(N/A)
    NOTE: We are unable to locate the function name symbol
    for the error
    just occurred. Please refer to release
    documentation for possible
    reason and solutions.
    Current Java thread:
    Dynamic libraries:
    0x00400000 - 0x00407000
    C:\j2sdk1.4.2_04\bin\java.exe
    0x77F80000 - 0x77FFD000
    C:\WINNT\system32\ntdll.dll
    0x7C2D0000 - 0x7C332000
    C:\WINNT\system32\ADVAPI32.dll
    0x7C570000 - 0x7C628000
    C:\WINNT\system32\KERNEL32.DLL
    0x77D30000 - 0x77D9E000
    C:\WINNT\system32\RPCRT4.DLL
    0x78000000 - 0x78045000
    C:\WINNT\system32\MSVCRT.dll
    0x00250000 - 0x002C3000
    C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\uga1.tmp
    0x71710000 - 0x71794000
    C:\WINNT\system32\COMCTL32.DLL
    0x77F40000 - 0x77F7E000
    C:\WINNT\system32\GDI32.dll
    0x77E10000 - 0x77E75000
    C:\WINNT\system32\USER32.DLL
    0x76620000 - 0x76630000
    C:\WINNT\system32\MPR.DLL
    0x77A50000 - 0x77B3C000
    C:\WINNT\system32\OLE32.DLL
    0x779B0000 - 0x77A4B000
    C:\WINNT\system32\OLEAUT32.DLL
    0x75050000 - 0x75058000
    C:\WINNT\system32\WSOCK32.DLL
    0x75030000 - 0x75044000
    C:\WINNT\system32\WS2_32.DLL
    0x75020000 - 0x75028000
    C:\WINNT\system32\WS2HELP.DLL
    0x08000000 - 0x08138000
    C:\j2sdk1.4.2_04\jre\bin\client\jvm.dll
    0x77570000 - 0x775A0000
    C:\WINNT\system32\WINMM.dll
    0x10000000 - 0x10007000
    C:\j2sdk1.4.2_04\jre\bin\hpi.dll
    0x00CE0000 - 0x00CEE000
    C:\j2sdk1.4.2_04\jre\bin\verify.dll
    0x00CF0000 - 0x00D09000
    C:\j2sdk1.4.2_04\jre\bin\java.dll
    0x00D10000 - 0x00D1D000
    C:\j2sdk1.4.2_04\jre\bin\zip.dll
    0x77920000 - 0x77943000
    C:\WINNT\system32\imagehlp.dll
    0x72A00000 - 0x72A2D000
    C:\WINNT\system32\DBGHELP.dll
    0x690A0000 - 0x690AB000
    C:\WINNT\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation total 576K, used 197K
    [0x10010000, 0x100b0000, 0x104f0000)
    eden
    Another exception has been detected while we were
    handling last error.
    Dumping information about last error:
    ERROR REPORT FILE = (N/A)
    PC = 0x00efa6c3
    SIGNAL = -1073741679
    FUNCTION NAME = (N/A)
    OFFSET = 0xFFFFFFFF
    LIBRARY NAME = (N/A)
    Please check ERROR REPORT FILE for further
    information, if there is any.
    Good bye.
    --------------EXCEPTION!---------------------
    Thanks a lot.

    Yeah switching to Linux is a good idea. The firsttime I tried that,
    GRUB crashed and I screwed everything else tryingto copy the
    bootloader. Before this I had problems accessingthe file system on
    Windows via LAN, Samba server is not really theeasiest to use.
    Before that I had display problems with wierdmessages like sync out
    of range, Init respawning too fast so disabling.......I guess this is just
    the tip of an iceberg when it comes to problemswith Linux. It is
    sometimes really frustrating.Really? The only problems I recognise are the
    automatic chip set
    detection for the graphics card. I always let it boot
    in 'mode 3', figure
    out the exact chip set present in the computer and
    only then switch
    to 'mode 5' ...Yeah I had all these problems with RH Linux within a span of 2 months.
    I solved most of them though(Google is my best friend ;). The problem with the display was coz of horizontal and vertical sync values.
    btw, Samba has a nice webbrowser interface; I simply
    follow the docs
    step by step (I know next to nothing about Samba) and
    I'm in business
    after typing in all the required stuff ...I had problems with Samba bcoz of the firewall settings and the firewall interface was not comin on properly on the display.
    And now there are viruses for Linux too!Never do anything online when logged in as root and
    keep your FS
    permissions sensible.Yeah. I dont log in to root untill it is really really needed.
    An offtopic question (hope no one minds) Is there any book for Linux which is on the same lines of "The Design of the Unix Operating System" by Maurice.J.Bach?. If yes, then pls pls lemme know. I am a big Fan of "The Design of the Unix Operating System".
    kind regards,
    JosThanks and regards.

  • Error "A web exception has occurred during file upload" when trying to import ESXi image file into Update Manager

    I'm encountering this error and not sure how to fix, I'm quite new to vCenter so please bear with me.
    I'm trying out vCenter 5.1 with Update Manager 5.1 right now.  No license key has been entered and I still have 50 odd days to try it out.
    2 ESXi hosts are being managed by this vCenter, and they're both running ESXi 4.0
    I'm looking to use Update Manager to try to upgrade the ESXi 4.0 hosts to ESXi 5.1
    I downloaded the image file VMware-VIMSetup-all-5.1.0-799735.iso from VMWare website, and is looking to import it using the Update Manager so I can update the ESXi hosts, but I keep on getting the error:
    File name:     VMware-VIMSetup-all-5.1.0-799735.iso
    Failed to transfer data
    Error was: A web exception has occurred during file upload
    I tried importing it by using vSphere client to connect to vCenter server both remotely and locally, with firewall disabled.
    I've read http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1026602
    I've disabled firewall, and there is no anti-virus program on the server.  I've also restarted the machine several times, to no avail, I didn't reinstall update manager because the whole Windows and VCenter installations are clean from scratch.
    I logged into the vSphere Client using Active Directory credentials, and I've made all Domain Admins (which my account is a member of) part of the administrator group on the vCenter server. I can't log in using admin@System-Domain because it tells me I don't have permissions for it, I still haven't really had the chance to figure out why that is and not sure if that makes a difference.
    Also, I'm fairly certain I'm using the right image file, as I've burned some DVD's used that image file to upgrade some other ESXi hosts.  Unless there's a special image file I need to download?
    I'm at lost on what I can do to make it work.  Please advise.
    Thanks.

    The ISO file you mentioned is the one for vCenter Server. What you need is the "VMware-VMvisor-Installer-5.1.0-799733.x86_64.iso" (or VMware-VMvisor-Installer-201210001-838463.x86_64.iso) for the ESXi host.
    André

  • Exception-Error when excecuting JSP-File in Crystal reports for Eclipse

    Hi,
    I have created a jsp-File from an rpt-File in Crystal report for Eclipse. When I start the jsp-File on Apache Tomact 5.5 then only errors occurs.
    Coud anyone help me?
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 6 in the generated java file
    Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
    An error occurred at line: 7 in the generated java file
    Only a type can be imported. com.crystaldecisions.reports.sdk.ReportClientDocument resolves to a package
    An error occurred at line: 8 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.application.OpenReportOptions resolves to a package
    An error occurred at line: 9 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
    An error occurred at line: 10 in the generated java file
    Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
    An error occurred at line: 13 in the jsp file: /Bericht1-viewer.jsp
    ReportClientDocument cannot be resolved to a type
    10:      try catch (ReportSDKExceptionBase e)
    60:      
    An error occurred at line: 58 in the jsp file: /Bericht1-viewer.jsp
    e cannot be resolved
    55:
    56:
    57:      } catch (ReportSDKExceptionBase e)
    60:      
    61: %>
    Stacktrace:
         org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
         org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
         org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.26 logs.
    Apache Tomcat/5.5.26
    Bericht1.jsp:
    <%@page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              String reportName = "Bericht1.rpt";
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        //     set the reportsource property of the viewer
                        IReportSource reportSource = clientDoc.getReportSource();                    
                        crystalReportPageViewer.setReportSource(reportSource);
                        // set viewer attributes
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        // Apply the viewer preference attributes
                        // Process the report
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    Thanks
    Arnold

    According to the release notes, for the JRCHelperSample to compile, you must set the target runtime for the project.
    To do this, either create a project from scratch that uses the Tomcat 5.5 target runtime, or go to the properties menu and ensure that the target runtime is set to the application server you will be using.

Maybe you are looking for

  • Question about Memory Upgrade for iMac G3/350 - Slot Loading

    I was thinking of upgrading my memory and found this on eBay http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=350070149602 The auction says that it won't work in an apple computer but it looks like it should. Any help would be appreciated. Thanks,

  • Recovery is repairing media corrupt block x of file x in standby alert log

    Hi, oracle version:8.1.7.0.0 os version :solaris  5.9 we have oracle 8i primary and standby database. i am getting erorr in alert log file: Thu Aug 28 22:48:12 2008 Media Recovery Log /oratranslog/arch_1_1827391.arc Thu Aug 28 22:50:42 2008 Media Rec

  • Gray filter too dark. How to enlight the gray images?

    I�m creating a set of toolbar buttons and I want to acquire that disabled gray effect ... in my current code, I load two images for each button - an active one and the gray one... recently I heard about the GrayFilter class and I tryied to use it wit

  • Boolean in a combo with "no selection label"

    Does anyone know how to display a boolean value in a combobox with a "no selection label" ? If it's a primitive boolean, false is bound to the control by default. If the property is Boolean it causes Property 'foo' not readable on type java.lang.Bool

  • S12 ION BIOS

    Hi! I'm searching like crazy for the BIOS already installed on my S12 ION. The BIOS is called 21CN24WW. There is no BIOS available on the end-user site for this notebook. only for the VIA version. I have however googled the BIOS 21CN24WW and the firs