Error in displaying the label_column on the map

hello everyone,
i am developing a travelling salesman problem project for my graduation project in my university. i want to see the street names on the result map in my application. the related code part of my program as below:
String [] thmStr = new String[2];
thmStr[0] = "tspTheme";
String dtsrc = "spatial10g";
String baseMap = "us_city_map";
String mapTitle = "Courier Guidance Map";
mv.setDataSourceName(dtsrc); // set datasource name
mv.setBaseMapName(baseMap); // set basemap
mv.setBoundingThemes(thmStr, 0.15, true);
mv.setImageFormat(MapViewer.FORMAT_PNG_URL); //set image format
mv.setMapRequestSRID(8307); //set the SRID of the map request
mv.setMapTitle(mapTitle);
mv.addJDBCTheme(
mv.getDataSourceName(),
thmStr[0],
sql,
"geometry",
"8307",
"L.TSPROUTE",
"link_name",
"T.STREET NAME",
false);
the code works correctly, i see the result route labeled by L.TSPROUTE, i do not see any error messages but there is not displayed the "street names" on the result route.
i am not able to find any reason causing this problem. i have a time problem and any help will be appreciated.
Regards
Huseyin

Hi Huseyin,
verify if you have defined the column name "link_name" on your "sql" parameter. It should be something like:
select geometry, link_name from your_table
Joao

Similar Messages

  • ABAP Run time error when display the Customs Export declarations

    Hi,
    I'm receiving ABAP Run time error when display the Customs Exp. Declarations Under SAP Customs Processing -> Customs Processing - Import / Export -> Monitoring.
    Error messaging point to Function Module - /SAPSLL/CUHD_LOAD_SELECTION.
    While debugging we found that Primary Key of the below structures are not the same
    lt_corpar                              type      /sapsll/corpar_t
    lt_corpar_ht       type      /sapsll/corpar_k02_ht
    Does anyone has the SAP Notes or solution to this issue other than changing the structures manually. I'm not sure about the impact if i change manually
    Error message short details
    Termination occurred in the ABAP program "/SAPSLL/SAPLCUHD_SELECTION" - in
         "/SAPSLL/CUHD_LOAD_SELECTION".
        The main program was "/SAPSLL/CULO_DISPLAY_CUS_EXP ".
        In the source code you have the termination point in line 144
        of the (Include) program "/SAPSLL/LCUHD_SELECTIONU01".
    We are on GTS Release 8.0 and Support Package SAPK-80014INSAPSLL (Support pack level 14).
    Regards,
    Pradeep Maddi

    Hi,
    I have implemented SAP Note 1531799, but it hasn't resolved the current issue.
    For Our GTS instance, there are 2 Feeder Systems (ECC) attached, but document transfer in one of the system has not been activated. Both having the same partner functions ( We copied the sandbox into 2 different instances for different business Testings and now these 2 instances attached to GTS for testing). These feeder systems have different Logical system names and Logical system groups.
    Recently i have implemented SAP Corrections manually for one the issue, Please see below thread for the detail information
    Proforma Invoice not transferred to GTS
    After implementing the corrections, i have created Pro-forma invoice in ECC system. When i tried to display, i'm facing the ABAP Dump issues.
    Error details
    Runtime Errors         ITAB_DUPLICATE_KEY
    ABAP Program           /SAPSLL/SAPLCUHD_SELECTION
    Application Component  SLL-LEG
    You tried to insert an entry into table  "\FUNCTION=/SAPSLL/CUHD_LOAD_SELECTION\DATA=LT_CORPAR_HT". However, updating the unique table key "PRIMARY_KEY" resulted in a duplicate entry. The key concerned may be either the primary key or a secondary key.
    Regards,
    Pradeep

  • Error in displaying the address in the address bar of jsf program

    Hello,
    I develop a simple application with 3 jsf pages, one is the main.jsp, the other two are article.jsp and proposal.jsp. I also create 4 jsf navigation case in the faces-config.xml which contain the following situation:
    article.jsp -gomain1> main.jsp
    main.jsp -goArticle> article.jsp
    main.jsp -goproposal> proposal.jsp
    proposal.jsp -gomain2> main.jsp
    I create two commandbuttons in the main.jsp and the actions are goArticle, goProposal respectively.
    I create one commandbuttons in the article.jsp and the actions is gomain1.
    I create one commandbuttons in the proposal.jsp and the actions is gomain2.
    When I run the program, everything works fine. But I found out that there is something error in displaying the links in the address bar:
    1. main page, http://localhost:8988/po-view-context-root/faces/main.jsp ok.
    2. click article, http://localhost:8988/po-view-context-root/faces/main.jsp;jsessionid=c0a87f6e231cc8717caa21484ec38fecb60f8f50a7d2 ok.
    3. click return, http://localhost:8988/po-view-context-root/faces/article.jsp (ERROR: should be main.jsp but the content is main.jsp?)
    4. click proposal, http://192.168.127.110:8988/po-view-context-root/faces/main.jsp (ERROR: should be proposal.jsp but the content is proposal.jsp?)
    5. click return, http://localhost:8988/po-view-context-root/faces/proposal.jsp (ERROR: should be main.jsp but the content is main.jsp)
    It seems to me that the address bar displaying the wrong address but the content is correct, it quite annoying me, do i do something wrong or is it a bug in 10.1.3?
    Regards,
    Alan 22/11/2005

    Hi Huseyin,
    verify if you have defined the column name "link_name" on your "sql" parameter. It should be something like:
    select geometry, link_name from your_table
    Joao

  • While printing google map from FF4 its not displaying the map in the print out paper?

    FF4 displaying the google map in my website. But while printing google map from FF4 its not displaying the map in the print out paper.
    I chekced this FF 3.6 and there is no problem with this and other versions. FF4 having this problem.
    What should I do for this? Please let me know.

    What printer models is this intended for?  I assume it is aimed at the lower end inkjets, with the suggestion of loading 10-25 sheets of paper.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Error while deploying the mapping in owb 10gR2

    Hi friends,
    when i tried to deploy the mapping firstly i got the  below error like
    Name
    Action
    Status
    Log
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 11, column 3: PL/SQL: SQL Statement ignored         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 18, column 59: PL/SQL: ORA-00942: table or view does not exist         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 33, column 3: PL/SQL: SQL Statement ignored         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 40, column 59: PL/SQL: ORA-00942: table or view does not exist         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 216, column 7: PL/SQL: SQL Statement ignored         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 237, column 59: PL/SQL: ORA-00942: table or view does not exist         
    From the above error, it states like table doesn't exist. Hence after checking that the source table connections that i used in the mapping seems to be wrong.
    so what i did is, in the control center i right clicked the source module where i have used source table and changed the connection but soon after i pressed the ok button as a part of registering i got the below error like
    >> RTC-5318 Invalid Location Type pair for Name oracle db and version 11.1
    I ignored the above error and continued to deploy the mapping, but as a result of mapping i got the below error like
    Name
    Action
    Status
    Log
    None
    INFORMATIONAL
    ORA-04052: error occurred when looking up remote object [email protected]@PEOPLE_SOURCE_LOCATION ORA-00604: error occurred at recursive SQL level 1 ORA-02019: connection description for remote database not found         
    COPY_OF_ORG_FINAL_MAPPING
    Create
    Warning
    ORA-06550: line 0, column 0: ORA-04052: error occurred when looking up remote object [email protected]@PEOPLE_SOURCE_LOCATION ORA-00604: error occurred at recursive SQL level 1 ORA-02019: connection description for remote database not found         
    Not sure, where im missing.
    Kindly help me friends,
    Thanks
    Brgds,
    Mini

    Hi Vidyanand,
    Did you create the runtime access user using the runtime assistant? Did you select the correct runtime repository (if you have more) to associate your runtime access user with?
    Note that there are 4 database roles being created when you create a runtime repository owner:
    - OWB_A_<runtime repository owner>
    - OWB_D_<runtime repository owner>
    - OWB_R_<runtime repository owner>
    - OWB_U_<runtime repository owner>
    If you would grant those roles to a user, then that user becomes an access user for the user with username <runtime repository owner>.
    Note that you can also use the runtime repository credentials to connect to the runtime repository for deployment purposes, but you may not want that because of security concerns.
    Thanks,
    Mark.

  • Error while Executing the mapping

    While I am executing the mapping this error is thrown by the server. It is big mapping and references many parent tables.
    ORA-12801: error signaled in parallel query server P001 ORA-01114: IO error writing block to file 201 (block # 523269) ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file OSD-04026: Invalid parameter passed. (OS 523275) ORA-01114: IO error writing block to file 201 (block # 523269) ORA-27069: skgfdisp: attempt to do I/O beyond the range of the file OSD-04026: Invalid parameter passed. (OS 523275)
    Can you please provide the solution for this.
    Thanks in advance.

    This seems to be a DB server error, not an OWB issue. You should contact Oracle support.
    Regards:
    Igor

  • Getting an unexpected error while displaying the bound HtmlOutputText

    I am getting this unexpected error when I am trying to display the HtmlOutputText which is bound to a backing bean HtmlOutputText component.
    Error:
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
         at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:253)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:176)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3151)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    The JSP Page is :
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Two Beans</title>
    </head>
         <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
        <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <body>
    <f:view>
    <h:form id="TwoBeansForm">
         <h:selectOneMenu id="Dropdown" value="#{hlb.cb.selVal}">
              <f:selectItems value="#{RgsRequestBean.compLookup.competencyAreaMap}"/>
         </h:selectOneMenu>
         <h:commandButton id="TestButton" value="Display" action="#{hlb.display}"/>
         <h:outputText id="SelectedValue" binding="#{hlb.text}"/>
    </h:form>
    </f:view>
    </body>
    </html>The backing bean code is:
    package trial;
    import javax.faces.component.html.HtmlOutputText;
    public class HighLevelBean {
         private ChildBean cb;
         private HtmlOutputText text;
         public HighLevelBean(){
              cb=new ChildBean();
         public ChildBean getCb() {
              return cb;
         public void setCb(ChildBean cb) {
              this.cb = cb;
         public HtmlOutputText getText() {
              return text;
         public void setText(HtmlOutputText text) {
              this.text = text;
         public String display(){
              text=new HtmlOutputText();
              text.setValue(cb.getSelVal());
                return "goback@twobeans";
    }The goback@twobeans string provides the navigation to the same jsp page.
    Childbean just have one String member variable.
    The values in the drop down is getting populated but when I am trying to get the selected value to be displayed through the HtmlTextOutput the above error is thrown...

    Hi  ,
    For troubleshooting your issue, please take steps as below:
    1. Open web.config file of current web application
    2. Find the node that begins
    <trust level=
    3. Change the trust level from WSS_Minimal to
    WSS_Medium
    4. Save the file
    5. Drop to command prompt and execute : 
    iisreset
    If your issue persists, please provide detail error message of ULS log  to determine the exact cause of the error?
    For SharePoint 2010, by default, ULS log is at      
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Error while calling the Mapping function module for BW Extraction

    Hi
    iam getting runtime error while calling the BW mapping function
    The error description is as shown below.
    Runtime Errors         CALL_FUNCTION_UC_STRUCT
    Except.                CX_SY_DYN_CALL_ILLEGAL_TYPE
    <b>Short text</b>
        Type conflict during structure parameter transfer at CALL FUNCTION.
    <b>What happened?</b>
        Error in the ABAP Application Program
        The current ABAP program "GP466CV1Y7W2VML1PJ3VB80KDOP" had to be terminated
         because it has
        come across a statement that unfortunately cannot be executed.
    <b>Error analysis</b>   
    An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
         not caught in
        procedure "CALL_MAPPING_FUNCTION" "(FORM)", nor was it propagated by a RAISING
         clause.
        Since the caller of the procedure could not have anticipated that the
        exception would occur, the current program is terminated.
        The reason for the exception is:
        In the function "CMS_CB_BW_MAP", the STRUCTURE parameter "EXTRACT_DATA" is
         typed in such a way
        that only actual parameters are allowed, which are compatible in Unicode
         with respect to the fragment view. However, the specified actual
        parameter " " has an incompatible fragment view.
    I am passing the EXTRACT_DATA  parameter as specification LIKE with the associated type  - corresponding structure
    Please let me know how can i resolve this issue
    Regards
    Leon

    Dear benarji ,
    I'm having the  same problem help me to correct . I have mentioned below as what error i got.
    Runtime Errors         CALL_FUNCTION_UC_STRUCT
    Except.                CX_SY_DYN_CALL_ILLEGAL_TYPE
    Short text
         Type conflict during structure parameter transfer at CALL FUNCTION.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "ZDLROUTSTANDING_COPY" had to be terminated because it
          has
         come across a statement that unfortunately cannot be executed.
    Error analysis
         An exception occurred that is explained in detail below.
         The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was
          not caught in
         procedure "PDF" "(FORM)", nor was it propagated by a RAISING clause.
         Since the caller of the procedure could not have anticipated that the
         exception would occur, the current program is terminated.
         The reason for the exception is:
         In the function "/1BCDWB/SF00000080", the STRUCTURE parameter "IT_WORKS_SF" is
          typed in such a way
         that only actual parameters are allowed, which are compatible in Unicode
          with respect to the fragment view. However, the specified actual
         parameter "SFTWORKS" has an incompatible fragment view.
    Missing RAISING Clause in Interface
        Program                                 ZDLROUTSTANDING_COPY
        Include                                 ZDLROUTSTANDING_COPY
        Row                                     876
        Module type                             (FORM)
        Module Name                             PDF
    Trigger Location of Exception
        Program                                 ZDLROUTSTANDING_COPY
        Include                                 ZDLROUTSTANDING_COPY
        Row                                     894
        Module type                             (FORM)
        Module Name                             PDF
    Source Code Extract
    Line  SourceCde
      864 **            i_logo             = 'ENJOYSAP_LOGO'
      865 *            IT_LIST_COMMENTARY = I_LIST_COMMENTS1.
      866
      867 ENDFORM.                    "alv_top_of_page1
      868 *&---------------------------------------------------------------------*
      869 *&      Form  PDF
      870 *&---------------------------------------------------------------------*
      871 *       text
    872 *----------------------------------------------------------------------*
    873 *  -->  p1        text
    874 *  <--  p2        text
    875 *----------------------------------------------------------------------*
    876 FORM pdf .
    877
    878 *  *** Smartforms & PDF ***
    879
    880   ssfctrlop-no_dialog = 'X'.
    881   ssfctrlop-preview   = 'X'.
    882   ssfctrlop-getotf    = 'X'.
    883   ssfcompop-tddest = 'ERP7'.
    884   DATA : mcheck LIKE sy-subrc.
    885   CLEAR : fm_name.
    886
    887   "Get Function module name for given smartform
    888   CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    889     EXPORTING
    890       formname = 'ZSFDLOS1'
    891     IMPORTING
    892       fm_name  = fm_name.
    893
    >>>>   CALL FUNCTION fm_name
    895   EXPORTING
    896         control_parameters   = ssfctrlop
    897         output_options       = ssfcompop
    898         mrefno               = mrefno
    899 *       P_TITLE              = MTITLE
    900   IMPORTING
    901         document_output_info = st_document_output_info
    902         job_output_info      = st_job_output_info " IT_OTF_DATA
    903         job_output_options   = st_job_output_options
    904   TABLES
    905         it_works_sf          = sftworks
    906   EXCEPTIONS
    907         formatting_error     = 1
    908         internal_error       = 2
    909         send_error           = 3
    910         user_canceled        = 4
    911     OTHERS               = 5.
    912
    913   IF sy-subrc NE 0.
    Advance Thanks

  • OWB Error while deploying the mapping  Io exception: The Network Adapter co

    Hi,
    We are using OWB 10.2 in our production environment.Actually we are using OWB only for development.
    After deploying each mapping we will create scheduler job for execution of these mappings.
    Recently our staging DBs port has been changed to 1522 from 1521 and i have gone throgh the below steps.
    1) Changed the port in tnsnames.ora file.
    2) In Start Control Centre Servioce ,i have changed the port to 1522 for owbownr user and started the service successfully.
    3) i have run the script UpdateLocation.sql from the OWBOWNR schema and updated the port number.
    4) I tried to run the UpdateControlCenter.sql in owbownr schema and staging schema also,but i am getting an error like below.
    SQL> @UpdateControlCenter.sql
    This sql script sets the host:port:service parameters for a control center
    in the OWB Client Repository.
    The connection type must be host:port:service and cannot be changed
    using this script.
    Enter Control Center Name: DEFAULT_CONTROL_CENTER
    Host: 10.109.65.62
    Port: 1522
    Service Name: DWHOWNR
    Update location properties for DEFAULT_CONTROL_CENTER
    Location Type =
    Control Center DEFAULT_CONTROL_CENTER Found
    Connection Type SQL*NET Connection cannot be updated
    PL/SQL procedure successfully completed.
    5) When i am running the service_doctor.sql on owbownr schema i am getting incorrect port number like below
    SQL> @service_doctor.sql
    There are errors in one or more PL/SQL packages and functions
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is available
    There is a problem accessing the service startup script from the database
    server
    Here is the detailed error message which contains the name of the start
    script file:-
    Service startup file 'null/owb/bin/unix/run_service.sh' is not
    accessible from the database server on instance number 1
    Please verify that the disk containing the file is visible to the
    database server
    Please verify that the database server account has access rights on the
    file
    There is a problem with the repository connection information used to
    start the service
    Here is the detailed error message which contains the connection
    information passed to the service:-
    Cannot connect: user=DWHOWNR host=10.109.65.62 port=1521
    service-name=DWHSTG
    Please verify that this information is accurate
    If this information is correct, then please use the
    'set_repository_password.sql' script to reset the stored password
    PL/SQL procedure successfully completed.
    6) After login to OWB ,i have checked the Location,OWB Repository Location And Control center In OWB connection Explorer,
    and all the connections are successful.
    After this i took Control Centre from Tools and i tried to deploy one mapping.
    And i got some error like below.
    Name
    Type
    Status
    Log
    COPY_OF_ICDMAPFCTAWB
    Description : Runtime User : ICGSTG Started : 2011-10-24 19:32:19.0
    Name
    Action
    Status
    Log
    None
    Error
    Io exception: The Network Adapter could not establish the connection
    None
    Error
    Io exception: The Network Adapter could not establish the connection
    None
    RECOVERY
    RPE-01008: Recovery of this request is in progress.
    Job Summary
    Updated : 2011-10-24 19:32:19.0 Job Final Status : Completed with errors Job Processed Count : 0 Job Error Count : 0 Job Warning Count : 0
    I think the issue is due to the wrong port number .
    Can any one help me to solve this issue??
    Edited by: 892899 on Oct 24, 2011 6:01 AM

    Hi Allan,
    Thanks for your quick reply.
    I have checked in OWB\Locations\Database\Oracle\Location\DB Connectors and also in Control Center\Location\Connectors,seems like there is no connectors created.
    Do you have any other suggestions?
    Also i analyzed the UpdateControlCenter.sql in that
    select value into v_connectiontype from cmpstringpropertyvalue_v where logicalname = 'CMPLocation_ConnectionType' and propertyowner = v_elementid;
    the qry returns 'SQL*NET'.
    Any workaround for these???
    Please reply.

  • Ora -06550 error while executing the mapping

    Hi,
    I am using owb client 11.2.0.3 . I have mapping map_emlap_src in this mapping i have import tables from different scehema and i have done one to one mapping on both the table .
    While executing the mapping i got the following error .
    ORA-06550: line 1, column 1082:
    PLS-00302: component 'MAP_EMLAP_SRC' must be declared
    ORA-06550: line 1, column 1062:
    PL/SQL: Statement ignored

    grant execute on owner_name.MAP_EMLAP_SRC to user_name;

  • Error when displaying the table

    hellow,
        here i have to .htm pages, in first page i am entering the table name, and it has to display the table details in second page.
    but in second page i am getting error like field catalog not found
    plz help me.
    with regards
    babu

    hi babu rs
    Please post the code of the two bsp page with the layout as well as abap code. Only than anybody can help you.

  • Error Message Displaying the status Bar not like popup message

    Hi all,
    My Requirement is while creating  invoice if pricing conditons is repeted , system should thorough the error message like (uplicate Condition Types Are Not Possible  in the status Bar but Im getting poup Error message So I want to display the same message in the status Bar.
    Please Help me any one.
    Regards,
    Prathap

    I dont want to Display the popup, I want to Display in Status Bar as a Error Message.
    Like this .
    If I put  message type 'E' its Displaying popup message , MESSAGE ' Duplicate Condition Types Are Not Possible.' TYPE 'E'.
    If I Put messge type 'I' its Displaying in Status Bar .
    Regards,
    Prathap
    Edited by: giri prathap on Sep 13, 2011 12:35 PM

  • Run time error while displaying the list of km folders

    hi
    i am trying to display the list of contents in the km folder using km api but the application is displaing an runtime error
    package com.sap.test;
    error in init method component
    any body know the solution for this problem .
    thanks

    hi there
    public class kmportalcomp extends AbstractPortalComponent
              public String outtxt;
              int depth;
              int rowid = 0;
              int counter = 0;
         public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              IUserContext userCtx =request.getUser();
              IResourceFactory factory;
              IPortalComponentContext compContext = request.getComponentContext();
              IPortalComponentProfile profile = compContext.getProfile();
              try {IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("ccadmin_service");
                   String webpath = request.getWebResourcePath();
                   IResourceContext resourceContext = new ResourceContext(serviceUser);
                   response.write(webpath);
                   String fpath;
                   fpath = profile.getProperty("path").trim();
                   depth = Integer.valueOf(profile.getProperty("depth").trim()).intValue();
                   RID rid = RID.getRID(fpath);
                   ICollection folder = (ICollection)ResourceFactory.getInstance().getResource(rid, resourceContext);
                   IResourceList  fileList = folder.getChildren();
                   response.write("d.add(0,-1,'"folder.getName()"');\r\n");
                   rowid = 0;
                   scan_km(response, fileList,0);
                   response.write("document.write(d);\r\n");
                    response.write("//--></script>");
                    response.write("</div>");
                } catch (Exception e) {
                    response.write("Error Occured<br>");
                    response.write(e.toString());
              public void scan_km(IPortalComponentResponse response,IResourceList list,int level) {
                   int currentrowid = rowid;
                   if (level>depth&&depth!=0) {
                         return ;
                     String rid = " ";
                     IResourceList tmpreslist;
                     ICollection tmpcollection;
                     level++;
                     for (int i = 0; i < list.size(); i++) {
                         IResource tmpres = list.get(i);
                         try {
                             if (tmpres.isCollection() && tmpres.getLinkType() == LinkType.NONE ) {
                                  //&& tmpres.getLinkType() == LinkType.NONE
                                  tmpcollection = (ICollection) tmpres;
                                tmpreslist = tmpcollection.getChildren();
                                if (tmpreslist.size()>0) {
                                    rowid++;
                                    response.write("d.add("rowid","currentrowid",'");
                                    response.write(tmpres.getName());
                                    response.write("','');\r\n");
                                    scan_km(response,tmpreslist,level);
                             else {
                                rowid++;
                                String dispname;
                                dispname = tmpres.getDisplayName();
                                if (dispname==null||dispname.equals(""))
                                    dispname = tmpres.getName();
                                rid = "/irj/go/km/docs"+tmpres.getAccessRID();
                                response.write("d.add("rowid","currentrowid",'"dispname"','"rid"');\r\n");
                         } catch (Exception ex) {
    the error is am getting is
    com.sapportals.wcm.repository.enum.LinkType and com.sapportals.wcm.repository.enums.LinkType     kmportalappproject/src.core/com/sap/test     kmportalcomp.java     
    thanks

  • Empty paragrpahs in a textflow cause runtime error when displaying the text

    Hello there,
    when I create a textflow which has empty ParagraphElements in
    it (i.e. a ParagraphElement without any children) I get this
    runtime error once I try to display the text in a container:
    Error: Error #2175: One or more elements of the content of
    the TextBlock has a null ElementFormat.
    Is this a bug, or is there a legitimate reason for this
    error? If so, I'd like to understand why. In my reasoning an empty
    ParagraphElement should just result in the rendering of a newline.
    But maybe I'm thinking too much in HTML terms here...
    I appreciate any light you can shed on this,
    thanks in advance,
    Roland
    P.S. I'm using the latest build 370

    Hey Richard,
    thank you very much, and I was indeed already using your
    mentioned workaround, I was just wondering whether it was a bug or
    something I didn't fully understand :) But now I do, so thanks for
    your time.

  • Error in retrieving the mapped user??

    I am using this code for retireval of the mapped user data:
    IPortalRuntimeResources obj1 = PortalRuntime.getRuntimeResources();
    IService obj2 = obj1.getService(IUserMappingService.KEY);
    IUserMappingService iums = (IUserMappingService)obj2;
    but I m not able to proceed beyond this line:
    IUserMappingService iums = (IUserMappingService)obj2;
    the system is not giving any exception bcoz the loggers in the catch block are not printed. but its not executing beyond this line.
    I m using EP6.0 SP9.
    I m trying this code in the RF framework(Repository Manager)
    Kindly help.

    See Current portal User? - Please do not crosspost.

Maybe you are looking for

  • Error message when trying to use the Print module in LR

    I am exerperiencing the following message 'an error occured when tryin to change modules' whenever I try and get into the Print module in LR. Any ideas? I have a printer attached to my MAC so have no idea why I am getting this message. Thanks for any

  • Windows 7 x64 - iTunes no longer auto launches when I connect iPhone

    Hi Ok so i installed Windows 7 x64 and iTunes x64 but now iTunes no longer auto-launches when I connect my iPhone. My PC has no problems finding my iPhone, it does the camera bit and if I start iTunes manually it syncs the iPhone with no issues. Does

  • Downloading instead of streaming

    Hi, i am a pretty new Mac user. Used to be able to download the audio files my dj friend puts on his website with a windows pc, but now I can only seem to stream them and not save them to my computer. Would be very grateful if you couyld tell me how

  • Cannot print certain types of documents.

    Many documents that are e-mailed to me can take up to 30 minutes to 1 hour to print one page.  The best description I can give is if the document is scanned by my customer and e-mailed to me it will not print.  Also the size of the document in the pr

  • Odd sound from 24-inch LED in sleep mode

    Hello. I got the new 24-inch LED Cinema Display about a week ago. Looks awesome. Noticed an odd sound though that comes from the display when my MacBook Pro goes in sleep mode and only then. It's not extremely loud but is high pitched and is emanatin