Error using JXL api in a KM Report

Hi Expert,
My report have to use JXL api. I have already a DC containing libraries, including JXL 2.6.2.
I declare my DC in Used DC of my report, but each time I launch it it throws me this error :
"error executing: /reporting/reports/Content Management/Tools/rise_metrics/1237311667619.xml([email protected]) - java.lang.NoClassDefFoundError: jxl/format/CellFormat at com.ctsao.project.rise.metrics.RISEMetrics.execute( at com.sapportals.wcm.repository.manager.reporting.monitor.ReportComponent$ReportWrapper.execute( at com.sapportals.wcm.service.reporting.scheduler.ReportScheduler$"
Is it possible to use this API in a report or there is some restriction ?
Thanks in advance for your help,
Jean-Edouard Nicolet.

Try to include the jxl.jar file inside your private/lib folder of project and run as a workaround.

Similar Messages

  • How to create autofilter in excel page using jxl api?

    Hi Friends,
    I am using jxl api for excel generation. Its no problem
    but i need to set auto filter options. I am search in this API package but i can't find it.
    Any one know how to create autofilter in excel page using jxl api?.
    Please ..... Its urgent.... ...

    Please mail me on [email protected] if u will find any solutions, i will do the same if i will find any...
    Thank u in advance,

  • Problem while writing data on xls file using jxl API

    I am getting problem while writing data on excel file using jxl api.
    When i write data on file and all handles associated to the file are closed, file size increases but when i open the file nothing is written in it and when file is closed manually from excel window, file size decreased to its original that was before writing data.
    here is code:
              FileOutputStream os = new FileOutputStream(this.dirPath + this.fileName, true);
              WritableWorkbook this.workbook = Workbook.createWorkbook(os);
    after writing data following handler are closed:
                        this.os = null;
    can any body help me.
    Thanks in advance

    Err, I did help you. I did understand your problem; and I solved it for you. What was missing was that you apparently made no effort to understand what you were being told. Or even consider it. You just argued about it, as though you were the one with the solution, instead of the one whose code didn't work.
    And the other thing that was missing was the part where you said 'thank you' to me for solving your problem. Somewhat more appropriate than biting the hand that fed you, frankly. I do this for nothing, on my own gas, and it's extremely irritating when people keep asking about problems I have already solved for them. I am entitled to discourage that. It's part of making them more efficient actually.
    But it happens often enough that it also makes me think I'm just wasting my time. Probably I am.

  • Error using DI API on Item Revaluation

    Dear All
    While on Revaluation of Item using DI API System gives error meaasage as "Internal Error 5002" ans displaya 'Material Revaluation failed'.
    Can any one help me to find the reason for this error and how to overcome the situation?
    With regards

    Dear Siva
    Following is the code I am using for revaluation of items which is giveing "Internal Error 5002':
    Dim lMaterialRevaluation As SAPbobsCOM.MaterialRevaluation
            lMaterialRevaluation = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oMaterialRevaluation)
            For li As Integer = 0 To ls_Lines.Length - 1
                If ls_Lines(li).Split(vbTab).Length <> 5 Then
                    My.Computer.FileSystem.WriteAllText(ls_OutFileName, lnl_SrlNo & "--> Can't Read in the data in Line " & li + 1, True)
                    My.Computer.FileSystem.WriteAllText(ls_OutFileName, vbNewLine, True)
                    lnl_SrlNo += 1
                    Continue For
                End If
                ls_ItemCode = ls_Lines(li).Split(vbTab)(0).Trim
                ls_WareHouseCode = ls_Lines(li).Split(vbTab)(1).Trim
                ld_Price = ls_Lines(li).Split(vbTab)(2).Trim
                li_IncAccount = ls_Lines(li).Split(vbTab)(3).Trim
                li_DecAccount = ls_Lines(li).Split(vbTab)(4).Trim
                lMaterialRevaluation.Lines.ItemCode = ls_ItemCode
                lMaterialRevaluation.Lines.WarehouseCode = ls_WareHouseCode
                lMaterialRevaluation.Lines.Price = ld_Price
                lMaterialRevaluation.Lines.RevaluationIncrementAccount = li_IncAccount
                lMaterialRevaluation.Lines.RevaluationDecrementAccount = li_DecAccount
            Dim li_Ret As Integer
            li_Ret = lMaterialRevaluation.Add
            If li_Ret = 0 Then
                MsgBox("Material Revaluation Completed")
                oCompany.GetLastError(lErrCode, sErrMsg)
                MsgBox(sErrMsg & ", Material Revaluation failed")
            End If
    Can you or any one else suggest where the error lies.
    Thanks & with regards
    Edited by: ALOKE BANDYOPADHYAY on Jul 5, 2011 3:01 PM

  • Error using Excel as a DataSource for Report Builder 3.0 - ODBC connection

    I'm getting this error message below while trying to use excel as a datasource within Report Builder 3.0.  I can see the columns and rows but unable to display/run the report.  Using Excel 32 bit and have the driver and user dsn created under c:/windows/syswow64/odbcad32.
    ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

    Hi Cherise,
    Vishal's link looks good.
    I have commercial experience in migrating Crystal Reports to SSRS. When performing any type of migration it is always wise for the business requirements to be revisited. It is likely that the business requirements may have changed since the Crystal reports
    were initially developed, etc.
    I've done some research for you and the following link looks quiet impressive and offers a cheap trial, in terms of a direct migration. Please tell me how you get on; -
    I emphasis again I have commercial experience of lots of migration projects and it would be very unwise to not revisit the business requirements as part of the migration process.
    Kind Regards,
    Kieran Patrick Wood

  • SSL error using Neutron API and CLI directly on controller nodes

    VIO 1.0 + NSX + vSphere 6.0
    I am trying to execute the following segment of code:
    139         credentials = get_credentials()
    140         neutron = client.Client('2.0',
    141                                 username=credentials['username'],
    142                                 password=credentials['password'],
    143                                 auth_url=credentials['auth_url'],
    144                                 tenant_name=credentials['tenant_name'],
    145                                 endpoint_url=credentials['url'],
    146                                 token=credentials['token'],
    147                                 insecure=True)
    148         response = neutron.list_ports()
    When I run the Python script, it errors out with the following:
    Traceback (most recent call last):
      File "", line 148, in <module>
        response = neutron.list_ports()
      File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 111, in with_params
        ret = self.function(instance, *args, **kwargs)
      File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 306, in list_ports
      File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 1250, in list
        for r in self._pagination(collection, path, **params):
      File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 1263, in _pagination
        res = self.get(path, params=params)
      File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 1236, in get
        headers=headers, params=params)
      File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 1221, in retry_request
        headers=headers, params=params)
      File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/", line 1156, in do_request
        resp, replybody = self.httpclient.do_request(action, method, body=body)
      File "/usr/lib/python2.7/dist-packages/neutronclient/", line 192, in do_request
      File "/usr/lib/python2.7/dist-packages/neutronclient/", line 148, in _cs_request
        raise exceptions.SslCertificateValidationError(reason=e)
    neutronclient.common.exceptions.SslCertificateValidationError: SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
    The /var/log/neutron/server.log file has the following corresponding entry for when the script tries to make the connection:
    2015-04-11 07:17:31.941 2096 INFO neutron.wsgi [-] (2096) accepted ('', 34495)
    When I run the CLI from the same controller node, I get the error with or without the —insecure flag:
    [email protected]:/tmp# neutron port-list
    SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
    [email protected]:/tmp# neutron --insecure port-list
    SSL certificate validation has failed: [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
    If I run the neutron CLI command from my local Macbook Pro, it works just fine. That leads me to believe it is a communication error when the controller node tries to talk to itself. I have tried setting the OS_AUTH_URL and OS_URL to both the localhost IP and the 10-network IP address -- both result in the same error.
    Any ideas?

    Hello Chris,
    Thanks for checking out VMware Integrated OpenStack and for sharing your concern.
    By default, VMware Integrated OpenStack uses a self-signed certificate, which will require the use of the OS_CACERT environment variable in your openrc file and when using the API.
    The better way to resolve this is to use a CA-signed certificate.  Fortunately, VMware Integrated OpenStack makes the CSR generation and signed certificate import process very easy.
    If this is production, of course, use a trusted Root CA.  If this is a Dev Lab, you can generate your own Root CA certificate and use it for testing.
    I wrote up a quick blog post on how to do this.
    Let us know if you have any further questions.

  • Room creation error using Room API

    Hi Experts.
    We're triying to create a collaboration room through Room API
    As a previous step a standard template copy was created (SAP_Information_Site_2)  to be used in the room creation through API.
    In this template we defined one parameter (FolderPath) which sets the KM navigation path  of a specific folder and then we made the mappings of this parameter into the views used by template to show documents.
    When Room is created using "Room creation wizard" we set name, description, category, template (SAP_Information_Site_2), FolderPath, etc. this way everything is OK.
    The problem is triying to create it when generating the room througn a Webdynpro using Room API, afeter we set all same parameters the room is created with no errors. but despite having put all the parameters like those we place using creation wizard the Room API created Room shows the default folderpath and not we have set through API.
    We are able to compare both rooms and they shows same properties except the folderpath.
    Here the used code:
          private  void createRoom(){
                String strTemplateName = "Techint_Template";
                String strRoleName = "Admin";
                String strCategory = "Default_Category";
                //Get the Rooms 6.0 API Portal Service
                IRooms roomsAPI = (IRooms)PortalRuntime.getRuntimeResources().
                //Get Template Related Infos
                ITemplate template = null;
                IRoomRole role1 = null;
                IRoomCategoryFactory cf = roomsAPI.getRoomCategoryFactory();
                try {
                      template = roomsAPI.getRoomTemplate(strTemplateName);
                      role1 = template.getRoomRole(strRoleName);
                      //Get an empty RoomInfo object
                      IRoomInfo roomInfo = roomsAPI.getRoomCreationInfo();
                      //Fill RoomInfo object with values
                      roomInfo.setName(wdContext.currentFormDataElement().getProjectCode().trim()+" - "
                      String strDescription = wdContext.currentFormDataElement().getTechintDocument();
                      if (strDescription!=null && strDescription.length()>0)
                            roomInfo.setDescription(wdContext.currentFormDataElement().getProjectCode().trim()+" - "
                      roomInfo.addRoomParameter("FolderPath", "FolderPath",strRevisionFoldePath, false);
                      //asign the room category
                      IRoomCategory objRoomCategory = cf.getDefaultRoomCategory();
                      IRoomCategory objRCA[] = {objRoomCategory};
                      //Set User Role Assignments
             owner = UMFactory.getUserFactory().getUserByLogonID("km_user");
                      roomInfo.addUserToRole(owner.getUniqueID(), role1);
                      //Finally Create the Room
                      IRoomDataElement objRoomDE =  wdContext.createRoomDataElement();
                            IRoom newRoom = roomsAPI.createRoom(roomInfo, true);
                            RoomCreationValidationErrors[] errors = roomInfo.getValidationErrors();
                            for (int i=0; errors.length>i;i++){
                                        "ErrorRoom: "+errors<i>.getShortText(), false);
                            "Se creo el room asociado al proceso/revision:"+strRevisionFoldePath, false);
                } catch (TemplateInstantiationException e) {
                      printException(wdComponentAPI.getMessageManager(), e);
                } catch (NoSuchRoleException e1) {
                      printException(wdComponentAPI.getMessageManager(), e1);
                } catch (UMException ex){
                      printException(wdComponentAPI.getMessageManager(), ex);
                } catch (RoomCreationException ex){
                      printException(wdComponentAPI.getMessageManager(), ex);
                } catch (NoSuchRoomCategoryException ex){
                      printException(wdComponentAPI.getMessageManager(), ex);
                } catch (Exception ex){
                      printException(wdComponentAPI.getMessageManager(), ex);
    This code was created using the following directions
    Any help will be really appreciated and accordingly rewarded
    Thaks in advance,

    Hi Venkat,
    did you check the Initial Configuration Tasks ? especially the portal permisions...
    and there is a SAP Note which references a How To Guide for configuring permissions. The Note number is 766765 and the document it references is "How To... Configure Permissions for Initial Content in SAP Enterprise Portal 6.0 SP9 & Higher."
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Error using Workflow API to retrieve result of closed instance.

    I have been attempting to use the workflow Java API to retrieve the payloads of open and completed instances of a particular BPEL Process. I have been able to use the IInstanceHandle.getField method to retrieve the payload of an active/open instance but I am having difficulty with the IInstancehandle.getResult method to retrieve the result of a closed.completed instance. The error I receive is: "Scope not found. The scope "BpPrc0.1" has not been defined in the current instance. I have checked out the audit history for this instance and have seen this particular scope scattered throughout the XML. Any ideas on what may be causing this issue or something I should be looking for?
    Thanks in advance.

    Use the getField() method:
    Object field = handle.getField("outputVariable");
    This returns a HashMap with the payload as one of its entries.

  • Error Using REST API to Retrieve SharePoint content

    I am developing a rather simple application that retrieves files from SharePoint using the REST Office 365 API. This is a batch job running in the background with no user interface so the following simple 2-step  flow is what I'm doing:
    (1) Requesting an Access Token from Azure AD (supplying client ID, client secret, resource, and grant_type=client_credentials) 
    (2) Invoke the SharePoint API (https://{base url}/_api/v1.0/Files) using the "Authorization: Bearer <access_token>" as a request header .
    That process seems pretty straightforward and sounds simple but I keep getting the following error :
    401 Unauthorized
    x-ms-diagnostics:  3001000;reason="There has been an error authenticating the request.";category="invalid_client"
    Any idea what the problem is and how this can be resolved ? I have been stuck on this for days now. I would REALLY appreciate somebody's help with this. Thanks.
    - CW

    According to the error message, the issue is related to Office 365 Rest API authentication.
    I suggest you can check the detailed web request using Fiddler to check the access token is valid in the request.
    Here are detailed articles for your reference:
    Files REST operations
    Remote authentication in SharePoint Online
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • Help:NoSuchMethodError thrown when reading excel sheet  using jxl API

    I'm trying to read data from an Excel-2003 sheet using this code:
    15. File file = new File("EmpDetails.xls");
    16. jxl.Workbook workbook = jxl.Workbook.getWorkbook(file);                              
    17. jxl.Sheet sheet = workbook.getSheet(0);
    18. jxl.Cell cell1 = sheet.getCell(0,0);I'm getting this java.lang.NoSuchMethodError: common.Assert.verify(Z)V. The StackTrace is given below:
    Exception in thread "main" java.lang.NoSuchMethodError: common.Assert.verify(Z)V
         at com.scjp.IO.ExcelJXL.main( help.

    Thanks a lot for the reply.
    I had both jxl.jar and xlrd.jar in the classpath and xlrd.jar was loaded before jxl.jar.
    There is a conflicting common.Assert.class file in xlrd.jar and there is no verify method in it.
    That was creating the problem. I loaded the jxl.jar file before the xlrd.jar and it is working fine.
    Thanks a lot for the help!!! :)

  • Jxl api : image creating in sheet.

    Hi i am using jxl api for creating excel sheet .
    I have a problem in creating image in sheet , i used below code to creat image:
    WritableSheet sheet = workbook.createSheet("FirstSheet", 0);
    String image="c:\\testImage";
    WritableImage wi = new WritableImage(10,5, 500,450, new File(image));
    But image in not shown in sheet,
    when i call sheet.getNumberOfImages(); function it gives count 1 for single image in sheet.
    can any one have idead that where i am missing any code???

    Based on your post, you're using the InDesign contact sheet.
    Bridge does not rotate the image. It sets a metadata flag. Photoshop recognizes this flag, InDesign CS3 does not (I haven't tried it in CS4 yet).
    I will be writing a new version of the contact sheet script over the next few weeks.
    The features I will be adding:
    Ability to save multiple dialog settings
    Improved dialogs
    Heed rotation metadata
    Bring back the ability to include subfolders

  • Custom report  using KM API Error

    Hi All,
    I have to create a report using KM API. i got the custom report using KM API from sdn and I imported into my NWDS. While i compile it, it is giving me this error.
    "The project cannot be build because the classpath for is not found."
    I have imported all the required jar files.
    How can i rectify this error?  Could anyone help me out in this issue?

    Hi Divya,
    > I have imported all the required jar files
    First, I don't know what you mean with "imported" - in any case, you should <i>not</i> put the JARs into your project but just reference these.
    Also, obviously you have <i>not</i> referenced <i>all the required jar files</i>; ResourceException is part of bc.rf.common_api.jar, which is part of portal application, at least for NW2004s.
    Please use the ClassLocator tool (search the WebLogs for this term to get some initial instruction) to avoid such questions in the future. It will make your life much easier.
    Hope it helps

  • SSL: Connection reset by peer ; Failed to enable crypto error while calling the report using bing API with SOAP client

    I am trying to fetch report using bing API and making a SOAP call for fetching the data. I get the following error:
    [Warning] fopen(): SSL: Connection reset by peer [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(): Failed to enable crypto [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(
    failed to open stream: operation failed [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    Whenever I execute my script. Can you please let me know what we can do to solve this issue. The version of PHP we are using is 5.3.3 with open ssl. 

    Hi Shobha,
    I can't confirm what version of PHP you are using, but to err on the side of caution please use the version specified in the sample/SDK:
    PHP 5.4.14 has been installed from PHP.
    Here is our code examples:

  • MIME content conversion failed error while processing "550 5.6.0" NDR using EWS API

    While trying to process journal report having "550 5.6.0" NDR with the following content using EWS API
    *Delivery has failed to these recipients or groups:
    [email protected] ([email protected])
    The email system had a problem processing this message. It won't try to deliver this message again.
    [email protected] ([email protected])
    The email system had a problem processing this message. It won't try to deliver this message again.
    [email protected] ([email protected])
    The email system had a problem processing this message. It won't try to deliver this message again.
    Diagnostic information for administrators:
    Generating server:
    [email protected]
    Remote Server returned '550 5.6.0 M2MCVT.StorageError; storage error in content conversion'
    [email protected]
    Remote Server returned '550 5.6.0 M2MCVT.StorageError; storage error in content conversion'
    [email protected]
    Remote Server returned '550 5.6.0 M2MCVT.StorageError; storage error in content conversion'
    Original message headers:
    Received: from (( by (( with
    ShadowRedundancy id 15.0.851.11; Fri, 24 Jan 2014 12:20:42 +0000
    Received: from ( by ( with Microsoft SMTP
    Server (TLS) id 15.0.851.11; Wed, 22 Jan 2014 19:25:20 +0000
    Received: from ([]) by ([]) with mapi id
    15.00.0851.011; Wed, 22 Jan 2014 19:25:19 +0000
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    From: "Aron,Shakton"
    To: "[email protected]" ,
    "[email protected]" , "[email protected]"
    Subject: Updated: Drive # 3
    Thread-Topic: Updated: Drive # 3
    Thread-Index: AQHPF6evINDh6QBmQ0OJyeaK0OyWzQ==
    Date: Wed, 22 Jan 2014 19:25:18 +0000
    Message-ID: <[email protected]>
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-Originating-IP: [::]
    Return-Path: [email protected]
    X-Forefront-PRVS: 01018CB5B3
    I am getting the following error.
    ERROR Message: MIME content conversion failed.
    Stack Trace : at Microsoft.Exchange.WebServices.Data.ServiceResponse.InternalThrowIfNecessary()
    at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalGetAttachments(IEnumerable`1 attachments, Nullable`1 bodyType, IEnumerable`1 additionalProperties, ServiceErrorHandling errorHandling)
    at Microsoft.Exchange.WebServices.Data.ExchangeService.GetAttachment(Attachment attachment, Nullable`1 bodyType, IEnumerable`1 additionalProperties)
    Has anyone faced this issue? how s/he got past this?
    Send SMS
    Add to Skype
    You'll need Skype CreditFree via Skype

    I responded to your
    StackOverflow post as well, but I'll respond here as well.
    Are you using Exchange Server 2010 SP3 RU2? If not, that might fix the issue. Another poster ran into a similar error and they were also sending an email with an attachment:
    The support page related to the fix is here:

  • Returning error while listing  reportees of a user by using worklist api.

    I am trying to list reportees of a user by using bpel worklist APi in custom application.the following is the code fragment of that:
    BPMUser bpmUser = gu.getWorkflowServiceClient().getAuthorizationService("dm.hoogly").lookupUser(gu.getWorkflowServiceClient().getTaskQueryService().getWorkflowContext("dm.hoogly").getUser());
    List directs = bpmUser.getReportees(1);
    System.out.println(" size..."+directs.size());
    its retuning error.
    Can any one help me how to list a reportees of a user by using BPELworklist api

    I am using SOA suite.

Maybe you are looking for