IllegalArgumentException in TableFilter

Hello Experts,
I implemented a TableFilter based on the TableFilter class.
However, when I type some characters into the filter field in the web dynpro table, I get the following exception:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException
     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:983)
     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.updateEventQueue(HtmlClient.java:382)
     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.prepareTasks(AbstractClient.java:93)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:316)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
     at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
     at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
     at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
     at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1300)
     at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:327)
     at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:869)
     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
     at java.security.AccessController.doPrivileged(AccessController.java:219)
     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
     at java.lang.reflect.Method.invoke(Method.java:391)
     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:975)
     ... 41 more
Caused by: java.lang.IllegalArgumentException:
     at com.sap.tc.webdynpro.clientserver.data.DataContainer.createLocalPath(DataContainer.java:1350)
     at com.sap.tc.webdynpro.clientserver.data.DataContainer.updateAttribute(DataContainer.java:454)
     at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.AbstractAdapter.updateAttribute(AbstractAdapter.java:653)
     at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter$FilterField.onINPUTFIELDCHANGE(TableAdapter.java:4271)
     at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter$FilterField.onINPUTFIELDKEYPRESS(TableAdapter.java:4509)
     at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.TableAdapter.onINPUTFIELDKEYPRESS(TableAdapter.java:10645)
     ... 47 more
Please help, I cannot deduce anything from the exception chain.
Regards,
Marshall.

Hi Marshall,
Please check if you have used the TableFilter class proper as mentioned. The filtervalues of the column are set.
Put some messages in the method invoked onFilter see where the issue is occuring.
Regards,
kartikaye

Similar Messages

  • Require TableFilter.java for NWDS 04s

    Hi,
    Please provide me code for TableFilter.java for NWDS 04s.
    I tried with the following pdf tutorial
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5996f</a>
    But then i encounter the following error while running the application:
       java.lang.NullPointerException
        at com.sap.tc.webdynpro.tests.utils.TableFilter.setFiltersForColumns(TableFilter.java:116)
        at com.sap.tc.webdynpro.tests.utils.TableFilter.init(TableFilter.java:73)
        at com.sap.tc.webdynpro.tests.utils.TableFilter.<init>(TableFilter.java:50)
        at com.adobe.prjpeopickerapp.PrjpeopickerView.wdDoModifyView(PrjpeopickerView.java:216)
        at com.adobe.prjpeopickerapp.wdp.InternalPrjpeopickerView.wdDoModifyView(InternalPrjpeopickerView.java:298)
        ... 30 more
    Please advice.
    Thanks & Regards,
    Jyoti

    Hi Jyoti,
    This Works i have tried in 2004s SP10
    public final class TableFilter {
       public TableFilter(IWDTable table, IWDAction filterAction, IWDNode sourceNode, Hashtable hashicons) {
          init(table, filterAction, sourceNode, hashicons);
       private void init(IWDTable table, IWDAction filterAction, IWDNode sourceNode, Hashtable hashicons) {
          this.table = table;
          if (sourceNode == null)
    throw new IllegalArgumentException("SourceNode  must be given");
          if (filterAction == null)
    throw new IllegalArgumentException("Filter action must be given");
          if (table == null)
    throw new IllegalArgumentException("Table must be given");<
          if (table.bindingOfDataSource() == null)
    throw new IllegalArgumentException("Data source of table with id '" + table.getId() + "' must be bound");
          this.sourceNode = sourceNode;
          if (hashicons != null) {
             this.hashIcon = new Hashtable();
             this.hashIcon = hashicons;
          String dataSourcePrefix = table.bindingOfDataSource() + ".";
          //works on columns
          setFiltersForColumns(dataSourcePrefix, table.iterateColumns(), sourceNode);
          setFiltersForColumns(dataSourcePrefix, table.iterateGroupedColumns(), sourceNode);
          table.setOnFilter(filterAction);
          filterAction.setEnabled(true);
          this.sourceNode = sourceNode;
       private void setFiltersForColumns(String dataSourcePrefix, Iterator columnIterator, IWDNode sourceNode) {
          attributeSource = new Hashtable();
          for (Iterator iter = sourceNode.getNodeInfo().iterateAttributes(); iter.hasNext();) {
             IWDAttributeInfo attribInfo = (IWDAttributeInfo) iter.next();
             String attribName = attribInfo.getName();
             attributeSource.put(attribName, attribInfo.getSimpleType().getBuiltInType());
            int index = 0;
          for (Iterator it = columnIterator; it.hasNext(); ++index) { // for every column: try to make it bindable
             IWDAbstractTableColumn abstractColumn = (IWDAbstractTableColumn) it.next();
             if (abstractColumn instanceof IWDTableColumn) {
                IWDTableColumn column = (IWDTableColumn) abstractColumn;
                String columnId = column.getId();
                Comparator comparator = null;
                NodeElementByAttributeComparator elementComparator = null;
                String bindingOfPrimaryProperty = bindingOfPrimaryProperty(column.getTableCellEditor());
                String attributeName = null;
                if (bindingOfPrimaryProperty == null || !bindingOfPrimaryProperty.startsWith(dataSourcePrefix)) {
                   if (hashIcon == null) {
                      continue;
                   } else {
                      if (!hashIcon.containsKey(columnId)) {
                         continue;
                      } else {
                         attributeName = hashIcon.get(columnId).toString();
                } else {
                   attributeName = bindingOfPrimaryProperty.substring(dataSourcePrefix.length());
                   if (hashIcon.containsKey(columnId))
    attributeName = hashIcon.get(columnId).toString();
                String attributeInfo = null;
                if (attributeSource.containsKey(attributeName))
    attributeInfo = (String) attributeSource.get(attributeName);
                elementComparator = new NodeElementByAttributeComparator(attributeInfo, column, comparator);
                filterForColumn.put(attributeName, elementComparator);
             } else if (abstractColumn instanceof IWDTableColumnGroup) {
                IWDTableColumnGroup columnGroup = (IWDTableColumnGroup) abstractColumn;
                setFiltersForColumns(dataSourcePrefix, columnGroup.iterateColumns(), sourceNode);
       public void filter( IWDNode allDataNode, IWDNode targetNode) {
          if (allDataNode != null) {
             this.sourceNode = allDataNode;
          HashMap FilterValuesByAttribute = prepareFilterValuesByAttribute();
          ArrayList ar = new ArrayList();
          for (int i = 0; i < sourceNode.size(); i++) {
             IWDNodeElement el = sourceNode.getElementAt(i);
             boolean addelement = true;
             for (Enumeration e = this.attributeSource.keys(); e.hasMoreElements();) {
                String attributeName = e.nextElement().toString();
                Object o1 = el.getAttributeValue(attributeName);
                if (FilterValuesByAttribute.containsKey(attributeName) && filterForColumn.containsKey(attributeName)) {
                   NodeElementByAttributeComparator elementComparator = (NodeElementByAttributeComparator) filterForColumn.get(attributeName);
                   HashMap valuehash = new HashMap();
                   valuehash = (HashMap) FilterValuesByAttribute.get(attributeName);
                   String attributetype = elementComparator.attributeInfo;
                   Comparator comparator = elementComparator.comparator;
                if (valuehash.size()==0){
                      elementComparator.column.setIsFiltered(false);
                       } else {
                   elementComparator.column.setIsFiltered(true);  
                   addelement = this.evaluateFilteredAttributeValue(valuehash, attributetype, comparator, o1);
                   if (!addelement)
    break;
                if (!addelement)
    break;
             if (!addelement)
    continue;
             IWDNodeElement targetElement = targetNode.createElement();
             WDCopyService.copyCorresponding(el, targetElement);
             ar.add(targetElement);
          targetNode.bind(ar);
       public void deleteAllDataNodeElement(
    IWDNode sourceNode,
    IWDNode targetNode,
    String attributeRowId,
    ArrayList idsToDelete) {
          for (int j = sourceNode.size() - 1; j >= 0; --j) {
             IWDNodeElement els = sourceNode.getElementAt(j);
             String elsid = els.getAttributeAsText(attributeRowId);
             if (!idsToDelete.contains(elsid))
    continue;
             sourceNode.removeElement(els);
          for (int i = targetNode.size() - 1; i >= 0; --i) {
             IWDNodeElement elt = targetNode.getElementAt(i);
             String eltid = elt.getAttributeAsText(attributeRowId);
             if (!idsToDelete.contains(eltid))
    continue;
             targetNode.removeElement(elt);
       /*Update all data node if the table node has been updated
    if a row has been added in the table node,
    the all data node can also be updated by using the using the flag addRowOnFly
       public void updateAllDataNodeElement(
    IWDNode sourceNode,
    IWDNode targetNode,
    String attributeRowId,
    boolean addRowOnFly) {
          HashMap hashs = new HashMap();
          HashMap hasht = new HashMap();
          HashMap hashup = new HashMap();
          IWDNodeElement elt;
          IWDNodeElement els;
          for (int j = sourceNode.size() - 1; j >= 0; --j) {
             els = sourceNode.getElementAt(j);
             String elsid = els.getAttributeAsText(attributeRowId);
             hashs.put(elsid, els);
          for (int i = 0; i < targetNode.size(); i++) {
             elt = targetNode.getElementAt(i);
             String rowid = elt.getAttributeAsText(attributeRowId);
             boolean isInSource = hashs.containsKey(rowid);
             if (isInSource && !elt.isChangedByClient())
    continue;
             if (!isInSource) {
                els = sourceNode.createElement();
                WDCopyService.copyCorresponding(elt, els);
                sourceNode.addElement(els);
             } else {
                els = (IWDNodeElement) hashs.get(rowid);
                WDCopyService.copyCorresponding(elt, els);
       /*find if an column has a valid filter
    and if so parse the filter and put in a hash table
       private HashMap prepareFilterValuesByAttribute() {
          HashMap hashmap = new HashMap();
          for (Enumeration e = this.attributeSource.keys(); e.hasMoreElements();) {
             String attributeName = e.nextElement().toString();
             if (filterForColumn.containsKey(attributeName)) {
                NodeElementByAttributeComparator elementComparator = (NodeElementByAttributeComparator) filterForColumn.get(attributeName);
                IWDTableColumn column = elementComparator.column;
                column.setIsFiltered(false);
                String filtervalue = column.getFilterValue();
                if (filtervalue == null || filtervalue.trim().length() == 0) {
                   continue;
                String attributetype = elementComparator.attributeInfo;
                HashMap valuehash = new HashMap();
                valuehash = this.detectFilterSign(filtervalue);
                hashmap.put(attributeName, valuehash);
          return hashmap;
       /* generate a filter value into the right object */
       private Object generateObject(String filtervalue, String attributetype, String sign) {
          Object o2 = filtervalue;
          try {
          if (filtervalue == null) {
             return o2;
          if (attributetype.equalsIgnoreCase("decimal")) {
             o2 = new BigDecimal(filtervalue);
          if (attributetype.equalsIgnoreCase("double")) {
             o2 = new Double((filtervalue));
          if (attributetype.equalsIgnoreCase("long")) {
             o2 = new Long(filtervalue);
          if (attributetype.equalsIgnoreCase("float")) {
             o2 = new Float(filtervalue);
          if (attributetype.equalsIgnoreCase("short")) {
             o2 = new Short(filtervalue);
          if (attributetype.equalsIgnoreCase("integer")) {
             o2 = new Integer(filtervalue);
          if (attributetype.equalsIgnoreCase("long")) {
             o2 = new Long(filtervalue);
          if (attributetype.equalsIgnoreCase("date")) {
             try {
             java.util.Date dtTmp = new java.util.Date(filtervalue);
             SimpleDateFormat template = new SimpleDateFormat("yyyy-MM-dd");
             o2 = Date.valueOf(template.format(dtTmp));
             } catch (Exception ex) {
                         o2 = filtervalue;
          if (attributetype.equalsIgnoreCase("time")) {
             try {
                SimpleDateFormat timeformater = new SimpleDateFormat("hh:mm:ss", WDResourceHandler.getCurrentSessionLocale());
                o2 = timeformater.parse(filtervalue);
             } catch (ParseException ex) {
                o2 = filtervalue;
          if (attributetype.equalsIgnoreCase("boolean")) {
             if (sign.equalsIgnoreCase(NE)) {
                o2 = new Boolean(true);
             } else {
                o2 = new Boolean(true);
          return o2;
                }catch (Exception ex){
                   return filtervalue;
       /*compare object according the filter */
       private boolean evaluateFilteredAttributeValue(HashMap filter, String attributetype, Comparator comparator, Object o1) {
          boolean accept = true;
          try{
          if (filter == null || filter.size() == 0)
    return accept;
          if (attributetype == null || attributetype.trim().length() == 0)
    return accept;
          Object o2 = filter.get("value1");
          if (filter.get("sign") == null) {
             if (o2 != null) {
                String value1 = filter.get("value1").toString();
                o2 = generateObject(value1, attributetype, null);
             int compared = comparator.compare(o1, o2);
             if (!attributetype.equalsIgnoreCase("string")) {
                if (compared == 0) {
                   return accept;
                } else {
                   return (!accept);
             } else {
                if (compared >= 0) {
                   return accept;
                } else {
                   return (!accept);
          String sign = filter.get("sign").toString();
          String place = filter.get("place").toString();
          if (sign.equalsIgnoreCase(EQ) && place.equalsIgnoreCase("S")) {
             if (o2 != null) {
                String value1 = filter.get("value1").toString();
                o2 = generateObject(value1, attributetype, sign);
             } else {
                if (attributetype.equalsIgnoreCase("boolean")) {
                   o2 = generateObject("", attributetype, sign);
                if (attributetype.equalsIgnoreCase("string") && o1 != null && o1.toString().trim().length() == 0) {
                   o2 = generateObject("", attributetype, sign);
             int compared = comparator.compare(o1, o2);
             if (!attributetype.equalsIgnoreCase("string")) {
                if (compared == 0) {
                   return accept;
                } else {
                   return (!accept);
             } else {
                if (compared >= 0) {
                   return accept;
                } else {
                   return (!accept);
          if (sign.equalsIgnoreCase(NE) && place.equalsIgnoreCase("S")) {
             if (o2 != null) {
                String value1 = filter.get("value1").toString();
                o2 = generateObject(value1, attributetype, sign);
             } else {
                if (attributetype.equalsIgnoreCase("boolean")) {
                   o2 = generateObject("", attributetype, sign);
                if (attributetype.equalsIgnoreCase("string") && o1 != null && o1.toString().trim().length() == 0) {
                   o2 = generateObject("", attributetype, sign);
             int compared = comparator.compare(o1, o2);
             if (!attributetype.equalsIgnoreCase("string")) {
                if (compared == 0) {
                   return !accept;
                } else {
                   return (accept);
             } else {
                if (compared >= 0) {
                   return !accept;
                } else {
                   return (accept);
          if (sign.equalsIgnoreCase(R) && place.equalsIgnoreCase("S")) {
             if (o2 != null) {
                String value1 = filter.get("value1").toString();
                o2 = generateObject(value1, attributetype, sign);
             int compared = comparator.compare(o1, o2);
             if (compared > 0) {
                return !accept;
             } else {
                return (accept);
          if (sign.equalsIgnoreCase(R) && place.equalsIgnoreCase("E")) {
             if (o2 != null) {
                String value1 = filter.get("value1").toString();
                o2 = generateObject(value1, attributetype, sign);
             int compared = comparator.compare(o1, o2);
             if (compared >= 0) {
                return accept;
             } else {
                return (!accept);
          Object o3 = filter.get("value2").toString();
          if (sign.equalsIgnoreCase(R) && place.equalsIgnoreCase("M")) {
             boolean accept1 = true;
             boolean accept2 = true;
             if (o2 != null) {
                String value1 = filter.get("value1").toString();
                o2 = generateObject(value1, attributetype, sign);
             if (o3 != null) {
                String value1 = filter.get("value2").toString();
                o3 = generateObject(value1, attributetype, sign);
             int compared = comparator.compare(o1, o2);
             if (compared >= 0) {
                accept1 = accept;
             } else {
                accept1 = !accept;
             int compared2 = comparator.compare(o1, o3);
             if (compared2 > 0) {
                accept2 = !accept;
             } else {
                accept2 = accept;
             if (accept1 && accept2) {
                return accept;
             } else {
                return !accept;
          return accept;
          } catch (Exception ex ){
                   return  accept;
       /* parse the filter */
       private HashMap detectFilterSign(String value) {
          HashMap ar = new HashMap();
          String val1 = null;
          String val2 = null;
          String sign = null;
          String place = null;
          if (null == value) {
             ar.put("value1", value);
             ar.put("sign", null);
             return ar;
          if (!value.startsWith(EQ) & !value.startsWith(NE) & value.indexOf(R) < 0) {
             ar.put("value1", value.trim());
             ar.put("sign", null);
             return ar;
          if (value.startsWith(EQ)) {
             if (value.trim().length() > 1) {
                val1 = value.substring(1);
             } else {
                val1 = "";
                val1 = null;
             sign = EQ;
             place = "S";
             ar.put("value1", val1);
             ar.put("sign", EQ);
             ar.put("place", place);
             return ar;
          if (value.startsWith(NE)) {
             if (value.trim().length() > 1) {
                val1 = value.substring(1);
             } else {
                val1 = "";
                val1 = null;
             sign = NE;
             place = "S";
             ar.put("value1", val1);
             ar.put("sign", NE);
             ar.put("place", place);
             return ar;
          if (value.startsWith(R)) {
             if (value.trim().length() > 1) {
                val1 = value.substring(1);
             } else {
                val1 = "";
                val1 = null;
             sign = R;
             place = "S";
             ar.put("value1", val1);
             ar.put("sign", R);
             ar.put("place", place);
             return ar;
          if (value.endsWith(R)) {
             if (value.trim().length() > 1) {
                val1 = value.substring(0, value.length() - 1);
             } else {
                val1 = "";
                val1 = null;
             sign = R;
             place = "E";
             ar.put("value1", val1);
             ar.put("sign", R);
             ar.put("place", place);
             return ar;
          if (value.indexOf(R) > 0) {
             sign = R;
             place = "M";
             val1 = value.substring(0, value.indexOf(R));
             val2 = value.substring(value.indexOf(R) + 1);
             ar.put("value1", val1);
             ar.put("value2", val2);
             ar.put("sign", R);
             ar.put("place", place);
             return ar;
          if (ar.size() == 0)
    ar.put("value1", value);
          return ar;
       private static final String bindingOfPrimaryProperty(IWDTableCellEditor editor) {
          return editor instanceof IWDViewElement ? bindingOfPrimaryProperty((IWDViewElement) editor) : null;
       private static final String bindingOfPrimaryProperty(IWDViewElement element) {
          if (element instanceof IWDAbstractDropDownByIndex)
    return ((IWDAbstractDropDownByIndex) element).bindingOfTexts();
          if (element instanceof IWDAbstractDropDownByKey)
    return ((IWDAbstractDropDownByKey) element).bindingOfSelectedKey();
          if (element instanceof IWDAbstractInputField)
    return ((IWDAbstractInputField) element).bindingOfValue();
          if (element instanceof IWDCaption)
    return ((IWDCaption) element).bindingOfText();
          if (element instanceof IWDCheckBox)
    return ((IWDCheckBox) element).bindingOfChecked();
          if (element instanceof IWDLink)
    return ((IWDLink) element).bindingOfText();
          if (element instanceof IWDProgressIndicator)
    return ((IWDProgressIndicator) element).bindingOfPercentValue();
          if (element instanceof IWDRadioButton)
    return ((IWDRadioButton) element).bindingOfSelectedKey();
          if (element instanceof IWDTextEdit)
    return ((IWDTextEdit) element).bindingOfValue();
          if (element instanceof IWDTextView)
    return ((IWDTextView) element).bindingOfText();
          return null;
       private static final Comparator DEFAULT = new Comparator() {
          public int compare(Object o1, Object o2) {
             if (o1 == null && o2 == null) {
                return 0;
             if (o1 == null) {
                return -1;
             if (o2 == null) {
                return -1;
             if (o1 instanceof Boolean && o2 instanceof Boolean) {
                return o1.toString().compareTo(o2.toString());
             if (o1 instanceof Date && o2 instanceof Date) {
                return ((java.util.Date) o1).compareTo((java.util.Date) o2);
             if (o1 instanceof String && o2 instanceof String) {
                Collator collate = Collator.getInstance(WDResourceHandler.getCurrentSessionLocale());
                return o1.toString().toUpperCase(WDResourceHandler.getCurrentSessionLocale()).indexOf(
                   o2.toString().toUpperCase(WDResourceHandler.getCurrentSessionLocale()));
             return ((Comparable) o1).compareTo((Comparable) o2);
       private Hashtable filterForColumn = new Hashtable();
       private IWDTable table = null;
       private Hashtable attributeSource = null;
       private Hashtable sourceNodeHash = null;
       private Hashtable hashIcon = null;
       private IWDNode sourceNode = null;
       private IWDNode targetNode = null;
       String EQ = "=";
       String NE = "#";
       String R = "~";
       public final class NodeElementByAttributeComparator {
          public NodeElementByAttributeComparator(String attributeInfo, IWDTableColumn column, Comparator comparator) {
             this(attributeInfo, column, comparator, false, new ArrayList());
          private NodeElementByAttributeComparator(
    String attributeInfo,IWDTableColumn column,
    Comparator comparator,
    boolean compareAsText,
    Collection subNodes) {
             if (attributeInfo == null)
    throw new IllegalArgumentException("attributeInfo must not be null");
             if (column == null)
    throw new IllegalArgumentException("Column  must not be null");
             if (comparator == null)
    comparator = DEFAULT;
             this.attributeInfo = attributeInfo;
             this.column = column;
             this.comparator = comparator;
             this.compareAsText = compareAsText;
             this.subNodes = subNodes;
          private final Comparator comparator;
          private final boolean compareAsText;
          private IWDTableColumn column;
          private Collection subNodes;
          private String attributeInfo;
    Regards
    Abhimanyu L

  • Java.lang.IllegalArgumentException: Session: null does not exist

    These days I am getting an exception (java.lang.IllegalArgumentException: Session: null does not exist) when I restart the weblogic managed server. I have a work around to get away with this error. I completely delete the dataspace from ALDSP console and redeploy the artifacts jar file. This is a tedious process. Can anyone suggest a permanent fix to resolve this issue.
    ALDSP version: 3.01
    Weblogic Server: 9.2.2
    Thanks.

    Hey ,Can you please help me?can you tell me how you resolved this issue.Our production is down due to
    java.lang.IllegalArgumentException: Session: null does not exist.
         at com.bea.dsp.management.persistence.primitives.ServerPersistencePrimitives.getDataspaceRoot(ServerPersistencePrimitives.java:118)
         at com.bea.dsp.management.persistence.primitives.ServerPersistencePrimitives.getDataspaceRoot(ServerPersistencePrimitives.java:73)
         at com.bea.dsp.management.activation.ActivationService.dataSpaceAlreadyExists(ActivationService.java:342)
         at com.bea.dsp.management.activation.ActivationService.setRequestHandlerClassLoader(ActivationService.java:206)
         at com.bea.ld.server.bootstrap.RequestHandlerListener.postStart(RequestHandlerListener.java:46)
         Truncated. see log file for complete stacktrace.
    Its urgent plz

  • IllegalArgumentException error while exporting report in PDF format

    Hi all,
    we are using Crystal Report 2008, Java 1.5.22 and JRC 11.8.4.1094 to export reports in pdf format within java.
    It is working fine for all reports except for a specific report where it gives IllegalArgumentException while exporting the PDF.
    Below the error occurred:
    12:39:16,875 ERROR [c] Disk Exporter: no output file was created by an exporter
    12:39:16,875 ERROR <b> PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export
    java.lang.IllegalArgumentException
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(Unknown Source)
    12:39:16,875 INFO  [c] Disk Exporter: finalizing export to destination
    12:39:16,875 ERROR [JRCCommunicationAdapter] Failed to export report
    com.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unknown exception is thrown
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.export(Unknown Source)
         at com.crystaldecisions.report.web.event.br.a(Unknown Source)
         at com.crystaldecisions.report.web.event.w.a(Unknown Source)
         at com.crystaldecisions.report.web.event.b7.broadcast(Unknown Source)
         at com.crystaldecisions.report.web.event.av.a(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.do(Unknown Source)
         at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
         at com.crystaldecisions.report.web.viewer.ReportExportControl.a(Unknown Source)
         at com.crystaldecisions.report.web.ServerControl.getHtmlContent(Unknown Source)
    Caused by: java.lang.IllegalArgumentException
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)
         ... 56 more
    Have an idea?
    Thanks

    Hello Andrea.
    I searched through the SAP Notes for the error that you are encountering.  There is an SAP Note that exists titled the following:
    1332907 - Report being exported to PDF format using the Crystal Reports for Eclipse 1.x runtime, errors with the exception: PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob
    Since you may not have access to the SAP Notes, I will extract the details that are mentioned in the note here:
    =============================================
    Symptom
    Attempting to export a report to Adobe PDF format using the Crystal Reports for Eclipse 1.x runtime results in an exception.
    The exception indicates "PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob"
    Environment
    Windows 2003
    Apache Tomcat 5.0
    Crystal Reports for Eclipse version 1.x
    Reproducing the Issue
    Using the Crystal Reports for Eclipse runtime version 1.x attempt to export a report to PDF format that has the "Repeat Group Header on Each Page" option enabled.
    Note: This does not occur if this option is enabled in a subreport.
    Cause
    When the "Repeat Group Header on Each Page" is enabled for a group in a main report the Crystal Reports for Eclipse 1.x runtime is unable to correclty format the PDF document which results in an exception.
    Resolution
    Updating the application to use Crystal Reports for Eclipse version 2.x runtime will resolve the issue.
    The most recent updates to the Crystal Reports for Eclipse runtime can be freely downloaded from the SAP SDN Website. 
    http://www.sdn.sap.com/irj/boc/crystalreports-java
    =============================================
    Since you are on JRC 11.8.4.1094 which is Crystal Reports for Eclipse 1.x, this may be the cause of your problem.
    I hope that this helps.
    Regards.
    - Robert

  • Java.lang.IllegalArgumentException when trying to create debug setting

    Hello all,
    I have just performed an install of EHP1 on a W2K3 EE machine, and I'm trying to setup to debug my Web Dynpro app on the Java server.  I have defined the system instance correctly SAP AS Java in the Window --> Preferences --> SAP AS Java section. My Web Dynpro app deploys and runs without problems.
    However, when I use Run -> Open Debug Dialog and then click on "Run on Server" and use the "New launch configuration" option, I get a message box stating "java.lang.IllegalArgumentException (check log file)".
    So I switch to Plug-in Development perspective and take a look at the log file. The exception appears in the list of messages; double-clicking the exception provides this data:
    Severity: Error
    Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    Exception Stack Trace:
    java.lang.IllegalArgumentException
         at org.eclipse.wst.server.core.internal.ResourceManager.getServer(ResourceManager.java:758)
         at org.eclipse.wst.server.core.ServerCore.findServer(ServerCore.java:286)
         at org.eclipse.wst.server.ui.internal.RunOnServerLaunchConfigurationTab.initializeFrom(RunOnServerLaunchConfigurationTab.java:105)
         at org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.initializeFrom(AbstractLaunchConfigurationTabGroup.java:86)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.initializeFrom(LaunchConfigurationTabGroupWrapper.java:143)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:784)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$8.run(LaunchConfigurationTabGroupViewer.java:658)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:676)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer.java:637)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:613)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:975)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$4.selectionChanged(LaunchConfigurationsDialog.java:570)
         at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
         at org.eclipse.core.runtime.Platform.run(Platform.java:857)
         at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
         at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:199)
         at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
         at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1153)
         at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1178)
         at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250)
         at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244)
         at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
         at org.eclipse.jface.window.Window.open(Window.java:796)
         at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1133)
         at org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:387)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
         at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:391)
         at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:333)
         at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:82)
         at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.runWithEvent(OpenLaunchDialogAction.java:90)
         at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)
         at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
         at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
         at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
         at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
         at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
         at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
    Session Data:
    eclipse.buildId=M20080221-1800
    I've done some hunting around the internet for this error and I did find a problem that looks quite similar under a JBOSS forum: https://jira.jboss.org/jira/browse/JBIDE-3689 ("Creating new run configuration of type Run in Server fails with exception, jbds eclipse.buildId=1.1.0.GA"). The information presented there is almost exactly what I'm seeing:
    <cut>
    Steps to Recreate:
    1. From Run menu, select "Open Run Dialog..." or "Open Debug Dialog..."
    2. Right click on "Run on Server"
    3. Select "New"
    What you see is an "Error" dialog of Reason "java.lang.IllegalArgumentException".
    The error log records the following:
    Error
    Thu Jan 29 08:13:48 PST 2009
    Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    </cut>
    In the JBOSS case, the response is:
    <cut>
    It is is a known bug in WTP 2.x and in WTP 3.x this option does not exist anymore thus you should just use Run As -> Run in Server.
    Marked as out of date since latest version of WTP 3 has the fix.
    </cut>
    I have the EHP1 installed on a couple other servers where this is not happening. Anyone run into this before?
    Alternatively, anyone know how I can check the WTP of the SAP-specific eclipse released as the EHP1 developer studio?
    Thanks very much,
    Andy

    Hi Andy,
    I think there is a very siple proces which you need to follow for debug. Please have a look:-
    Please check you mentioned the correct server and instance name. As you are saying that all you applications are running fine therefore I think you would have mentioned all the required parameters correctly.
    After checking all these things, follow the steps below:-
    1) From the menu in NWDS -> Click on the Debug symbol. Select "Open Debug Dialoug".
    2) Right click on the "Remote Java Application" and select New.
    3) Clickon the Source tab. Check whether you application is included under the Defualt folder. Only those projects will be debugged which are under this folder.
    4) If you application is not there. Click on Add-> Java Project -> Select your Project - > OK. Doing this will add your project in debug instance.
    5) Go to Connect tab. Mention the Host name (Same as server name you have mentioned under Window --> Preferences --> SAP AS Java ) AND the Message server port. Please note that this server port is diffrent from the http port.
    6) Just click on Debug.
    I hope after all these steps debug should work. If not please revert back.
    Thanks and Regards,
    Pravesh

  • IllegalArgumentException  while executing a scenario in ODI

    Hi All,
    We are executing a scenario in ODI. This loads the data from source table to target table . During this execution, we are facing the issue in the insert step(Error msg given below):
    “java.lang.IllegalArgumentException: Bytes are too big for array”. The attachment shows the screenshot of the error.
    The code that is generated during execution is
    select     
         SUBSTR(SIF_AR_TL.REC_TYPE,1,1) RECORD_TYPE,
         TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))||RPAD(' ',5-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))),' ') BUSINESS_UNIT,
         TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))||RPAD(' ',5-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))),' ') BUSINESS_UNIT_FROM,
         RPAD(' ',5,' ') AFFILIATE,
         RPAD(' ',8,' ') C_REG_ACCT,
         RPAD(' ',10,' ') DEPTID,
         RPAD(' ',10,' ') DEPTID_FROM,
         RPAD(' ',6,' ') PRODUCT,
         RPAD(' ',8,' ') PROJECT_ID,
         RPAD(' ',5,' ') PROJECT_TYPE,
         RPAD(' ',8,' ') ACTIVITY_ID,
         RPAD(' ',5,' ') ACTIVITY_TYPE,
         RPAD(' ',4,' ') C_VINTAGE,
         RPAD(' ',1,' ') COST_TYPE,
         RPAD(' ',5,' ') COST_STUDY,
         '+'||RPAD('0',14,'0') SALETX_AMT,
         '+'||RPAD('0',14,'0') USETAX_AMT,
         TRIM(TO_CHAR(SIF_AR_TL.C_GL_LOC))||RPAD(' ',5-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.C_GL_LOC))),' ') C_GL_LOC,
         TRIM(TO_CHAR(SIF_AR_TL.LEDGER))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.LEDGER))),' ') LEDGER,
         TRIM(TO_CHAR(SIF_AR_TL.LEDGER_GRP))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.LEDGER_GRP))),' ') LEDGER_GROUP,
         RPAD(' ',10,' ') JOURNAL_ID,
         RPAD(' ',10,' ') SAP_DOC_NUM,
         RPAD(' ',2,' ') UNPOST_SEQ_NUM,
         RPAD(' ',9,' ') FILLER,
         TRIM(TO_CHAR(SIF_AR_TL.CURRENCY_CD))||RPAD(' ',3-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.CURRENCY_CD))),' ') CURRENCY_CD,
         RPAD(' ',8,' ') FILLER1,
         RPAD(' ',1,' ') CONDITION_CODE,
         RPAD(' ',5,' ') C_ACCT_ISSUE,
         RPAD(' ',5,' ') RESOURCE_CATEGORY,
         RPAD(' ',4,' ') C_PC_ORIGIN_COP,
         RPAD(' ',10,' ') TREE_NODE_NUM,
         RPAD(' ',10,' ') TREE_NODE_NUM_FROM,
         RPAD(' ',10,' ') C_TAX_DISTRICT,
         TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))||RPAD(' ',5-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))),' ') BUSINESS_UNIT_GL,
         TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))|| RPAD(' ',5-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.BUS_UNIT_FROM))),' ') BUS_UNIT_GL_FROM,
         TRIM(TO_CHAR(SIF_AR_TL.C_GL_LOC))||RPAD(' ',5-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.C_GL_LOC))),' ') C_GL_LOC_ORIG,
         RPAD(' ',7,' ') FILLER2,
         TRIM(TO_CHAR(SIF_AR_TL.JOURNAL_SRC))||RPAD(' ',7-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.JOURNAL_SRC))),' ') JOURNAL_SOURCE,
         TRIM(TO_CHAR(SIF_AR_TL.C_LEGACY_SRC))||RPAD(' ',4-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.C_LEGACY_SRC))),' ') C_LEGACY_SRC,
         TRIM(TO_CHAR(SIF_AR_TL.TRAN_DATE))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.TRAN_DATE))),' ') TRAN_DATE,
         TRIM(TO_CHAR(SIF_AR_TL.REFERENCE_ID))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.REFERENCE_ID))),' ') REFERENCE_ID,
         'SAP' SYSTEM_SOURCE,
         RPAD(' ',10,' ') C_MIC,
         RPAD(' ',5,' ') FILLER3,
         RPAD(' ',6,' ') C_FUNC_CODE,
         RPAD(' ',1,' ') C_ENVIRONMENT,
         RPAD(' ',13,' ') VOUCHER_ID,
         RPAD(' ',6,' ') JFCI,
         RPAD(' ',10,' ') PO_ID,
         RPAD(' ',7,' ') C_ALLOC_CODE,
         TRIM(TO_CHAR(SIF_AR_TL.ACCOUNTING_DT))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.ACCOUNTING_DT))),' ') ACCOUNTING_DT,
         RPAD('0',3-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.ACCOUNTING_PRD))),'0')||TRIM(TO_CHAR(SIF_AR_TL.ACCOUNTING_PRD)) ACCOUNTING_PERIOD,
         RPAD(' ',5,' ') CATEGORY,
         TRIM(TO_CHAR(SIF_AR_TL.LOCATION))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.LOCATION))),' ') LOCATION,
         RPAD(' ',2,' ') C_KOW,
         RPAD(' ',12,' ') TAG_NUMBER,
         RPAD(' ',20,' ') B_EQP_SER,
         TRIM(TO_CHAR(SIF_AR_TL.FISCAL_YEAR))||RPAD(' ',4-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.FISCAL_YEAR))),' ') FISCAL_YEAR,
         RPAD(' ',1,' ') C_HIGHWAY_PRIVATE,
         RPAD(' 0',3,'0 ') EQUITY,
         RPAD(' ',1,' ') C_GEO_AREA,
         RPAD(' ',8,' ') OPRID,
         CASE WHEN CAST(SIF_AR_TL.HOURS AS NUMBER)>= 0 THEN '+'||RPAD('0',14-LENGTH(TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.HOURS)),'.','')),'0')||TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.HOURS)),'.','') ELSE'-'||RPAD('0',15-LENGTH(TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.HOURS)),'.','')),'0')||TRIM(SUBSTR(TRANSLATE(TO_CHAR(SIF_AR_TL.HOURS),'.',''),2,LENGTH(TRANSLATE(TO_CHAR(SIF_AR_TL.HOURS),'.',''))))
    END QUANTITY,
         '+'||RPAD('0',14,'0') HOURS,
         CASE WHEN SUBSTR(SIF_AR_TL.SAP_GL_ACCT,1,1) = '5' THEN
         'R'||RPAD(' ',5,' ')||
         TRIM(TO_CHAR(SIF_AR_TL.REVENUE_CATEGORY))||
              RPAD(' ',5-length(TRIM(TO_CHAR(SIF_AR_TL.REVENUE_CATEGORY))),' ')||
         RPAD(' ',19,' ')||
         TRIM(TO_CHAR(SIF_AR_TL.REVENUE_UNIT))||
              RPAD(' ',3-length(TRIM(TO_CHAR(SIF_AR_TL.REVENUE_UNIT))),' ')||
         TRIM(SIF_AR_TL.REVENUE_COMPONENT)||
              RPAD(' ',3-length(TRIM(TO_CHAR(SIF_AR_TL.REVENUE_COMPONENT))),' ')||
         RPAD(' ',5,' ')||
         TRIM(TO_CHAR(SIF_AR_TL.MARKET))||
              RPAD(' ',4-length(TRIM(TO_CHAR(SIF_AR_TL.MARKET))),' ')||
         RPAD(' ',13,' ')
    ELSE
         'F'||RPAD(' ',10,' ')||RPAD(' ',7,' ')||RPAD(' ',7,' ')||
         TRIM(TO_CHAR(SIF_AR_TL.SAP_ORG_OPRID))||
              RPAD(' ',7-length(TRIM(TO_CHAR(SIF_AR_TL.SAP_ORG_OPRID))),' ')||
         TRIM(TO_CHAR(SIF_AR_TL.SAP_HDR_DESC))||
              RPAD(' ',25-length(TRIM(TO_CHAR(SIF_AR_TL.SAP_HDR_DESC))),' ')||
         RPAD(' ',1,' ')
         END C_WORK_AREA,
         TRIM(TO_CHAR(SIF_AR_TL.FCC_ACCOUNT))||RPAD(' ',6-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.FCC_ACCOUNT))),' ') C_LEGACY_TYPE,
         RPAD(' ',1,' ') FCC_ACCOUNT,
         TRIM(TO_CHAR(SIF_AR_TL.SAP_GL_ACCT))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.SAP_GL_ACCT))),' ') FILLER5,
         CASE
    WHEN SIF_AR_TL.VENDOR ='' THEN SIF_AR_TL.POSTING_KEY||TRIM(TO_CHAR(SIF_AR_TL.CUSTOMER))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.CUSTOMER))),' ')||RPAD(' ',6,' ')
    WHEN SIF_AR_TL.CUSTOMER ='' THEN SIF_AR_TL.POSTING_KEY||TRIM(TO_CHAR(SIF_AR_TL.VENDOR))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.VENDOR))),' ')||RPAD(' ',6,' ')
    WHEN (SIF_AR_TL.VENDOR ='' AND SIF_AR_TL.CUSTOMER = '') THEN SIF_AR_TL.POSTING_KEY||RPAD(' ',16,' ') END SAP_GL_ACCOUNT,
         TRIM(TO_CHAR(SIF_AR_TL.SAP_CMPNY_CD))||RPAD(' ',4-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.SAP_CMPNY_CD))),' ') SAP_ALLOCATION_NBR,
         TRIM(TO_CHAR(SIF_AR_TL.SAP_COST_CNTR))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.SAP_COST_CNTR))),' ') SAP_COMPANY_CODE,
         TRIM(TO_CHAR(SIF_AR_TL.SAP_COST_CNTR))||RPAD(' ',10-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.SAP_COST_CNTR))),' ') SAP_COST_CENTER,
         SIF_AR_TL.SAP_JURISDICTION SAP_JURISDICTION,
         RPAD(' ',10,' ') MATERIAL_ID,
         TRIM(TO_CHAR(SIF_AR_TL.SAP_TRD_PARTNER))||RPAD(' ',6-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.SAP_TRD_PARTNER))),' ') SAP_TRADING_PARTNER,
         RPAD(' ',9,' ') LEG_VENDOR_CODE,
         TRIM(TO_CHAR(SIF_AR_TL.SAP_WBS))||RPAD(' ',24-LENGTH(TRIM(TO_CHAR(SIF_AR_TL.SAP_WBS))),' ') SAP_WBS,
         RPAD(' ',3,' ') LABOR_GROUP,
         RPAD(' ',7,' ') WORK_ORDER_NBR,
         RPAD(' ',3,' ') LEG_TRANS_TYPE,
         RPAD(' ',4,' ') SAP_COMPANY_CODE_CHRG,
         RPAD(' ',2,' ') MATERIAL_TYPE,
         RPAD(' ',6,' ') FILLER6,
         CASE WHEN SIF_AR_TL.TRAN_TOT_AMT>= 0 THEN '+'||RPAD('0',14-LENGTH(TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.TRAN_TOT_AMT)),'.','')),'0')||TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.TRAN_TOT_AMT)),'.','') ELSE'-'||RPAD('0',15-LENGTH(TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.TRAN_TOT_AMT)),'.','')),'0')||TRIM(SUBSTR(TRANSLATE(TO_CHAR(SIF_AR_TL.TRAN_TOT_AMT),'.',''),2,LENGTH(TRANSLATE(TO_CHAR(SIF_AR_TL.TRAN_TOT_AMT),'.',''))))
    END TRANS_TOT_AMOUNT,
         '01' EXTC_RESRC_OCCURS,
         RPAD(' ',5,' ') EXTC_CD_1,
         RPAD(' ',5,' ') RESOURCE_TYPE_1,
         RPAD(' ',8,' ') ACCOUNT_1,
         CASE WHEN SIF_AR_TL.AMOUNT_1>= 0 THEN '+'||RPAD('0',14-LENGTH(TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.AMOUNT_1)),'.','')),'0')||RPAD(TRIM(TO_CHAR(SIF_AR_TL.AMOUNT_1)),'.','') ELSE'-'||RPAD('0',15-LENGTH(TRANSLATE(TRIM(TO_CHAR(SIF_AR_TL.AMOUNT_1)),'.','')))||TRIM(SUBSTR(TRANSLATE(TO_CHAR(SIF_AR_TL.AMOUNT_1),'.',''),2,LENGTH(TRANSLATE(TO_CHAR(SIF_AR_TL.AMOUNT_1),'.',''))))
    END AMOUNT_1,
         RPAD(' ',5,' ') EXTC_CD_2,
         RPAD(' ',5,' ') RESOURCE_TYPE_2,
         RPAD(' ',8,' ') ACCOUNT_2,
         RPAD(' ',15,' ') AMOUNT_2,
         RPAD(' ',5,' ') EXTC_CD_3,
         RPAD(' ',5,' ') RESOURCE_TYPE_3,
         RPAD(' ',8,' ') ACCOUNT_3,
         RPAD(' ',15,' ') AMOUNT_3,
         RPAD(' ',5,' ') EXTC_CD_4,
         RPAD(' ',5,' ') RESOURCE_TYPE_4,
         RPAD(' ',8,' ') ACCOUNT_4,
         RPAD(' ',15,' ') AMOUNT_4,
         RPAD(' ',5,' ') EXTC_CD_5,
         RPAD(' ',5,' ') RESOURCE_TYPE_5,
         RPAD(' ',8,' ') ACCOUNT_5,
         RPAD(' ',15,' ') AMOUNT_5,
         RPAD(' ',5,' ') EXTC_CD_6,
         RPAD(' ',5,' ') RESOURCE_TYPE_6,
         RPAD(' ',8,' ') ACCOUNT_6,
         RPAD(' ',15,' ') AMOUNT_6,
         RPAD(' ',5,' ') EXTC_CD_7,
         RPAD(' ',5,' ') RESOURCE_TYPE_7,
         RPAD(' ',8,' ') ACCOUNT_7,
         RPAD(' ',15,' ') AMOUNT_7,
         RPAD(' ',5,' ') EXTC_CD_8,
         RPAD(' ',5,' ') RESOURCE_TYPE_8,
         RPAD(' ',8,' ') ACCOUNT_8,
         RPAD(' ',15,' ') AMOUNT_8,
         RPAD(' ',5,' ') EXTC_CD_9,
         RPAD(' ',5,' ') RESOURCE_TYPE_9,
         RPAD(' ',8,' ') ACCOUNT_9,
         RPAD(' ',15,' ') AMOUNT_9,
         RPAD(' ',5,' ') EXTC_CD_10,
         RPAD(' ',5,' ') RESOURCE_TYPE_10,
         RPAD(' ',8,' ') ACCOUNT_10,
         RPAD(' ',15,' ') AMOUNT_10,
         RPAD(' ',5,' ') EXTC_CD_11,
         RPAD(' ',5,' ') RESOURCE_TYPE_11,
         RPAD(' ',8,' ') ACCOUNT_11,
         RPAD(' ',15,' ') AMOUNT_11,
         RPAD(' ',5,' ') EXTC_CD_12,
         RPAD(' ',5,' ') RESOURCE_TYPE_12,
         RPAD(' ',8,' ') ACCOUNT_12,
         RPAD(' ',15,' ') AMOUNT_12,
         RPAD(' ',5,' ') EXTC_CD_13,
         RPAD(' ',5,' ') RESOURCE_TYPE_13,
         RPAD(' ',8,' ') ACCOUNT_13,
         RPAD(' ',15,' ') AMOUNT_13,
         RPAD(' ',5,' ') EXTC_CD_14,
         RPAD(' ',5,' ') RESOURCE_TYPE_14,
         RPAD(' ',8,' ') ACCOUNT_14,
         RPAD(' ',15,' ') AMOUNT_14,
         RPAD(' ',5,' ') EXTC_CD_15,
         RPAD(' ',5,' ') RESOURCE_TYPE_15,
         RPAD(' ',8,' ') ACCOUNT_15,
         RPAD(' ',15,' ') AMOUNT_15,
         RPAD(' ',5,' ') EXTC_CD_16,
         RPAD(' ',5,' ') RESOURCE_TYPE_16,
         RPAD(' ',8,' ') ACCOUNT_16,
         RPAD(' ',15,' ') AMOUNT_16,
         RPAD(' ',5,' ') EXTC_CD_17,
         RPAD(' ',5,' ') RESOURCE_TYPE_17,
         RPAD(' ',8,' ') ACCOUNT_17,
         RPAD(' ',15,' ') AMOUNT_17,
         RPAD(' ',5,' ') EXTC_CD_18,
         RPAD(' ',5,' ') RESOURCE_TYPE_18,
         RPAD(' ',8,' ') ACCOUNT_18,
         RPAD(' ',15,' ') AMOUNT_18,
         RPAD(' ',5,' ') EXTC_CD_19,
         RPAD(' ',5,' ') RESOURCE_TYPE_19,
         RPAD(' ',8,' ') ACCOUNT_19,
         RPAD(' ',15,' ') AMOUNT_19,
         RPAD(' ',5,' ') EXTC_CD_20,
         RPAD(' ',5,' ') RESOURCE_TYPE_20,
         RPAD(' ',5,' ') ACCOUNT_20,
         RPAD(' ',8,' ') AMOUNT_20,
         RPAD(' ',15,' ') EXTC_CD_21,
         RPAD(' ',5,' ') RESOURCE_TYPE_21,
         RPAD(' ',5,' ') ACCOUNT_21,
         RPAD(' ',8,' ') AMOUNT_21,
         RPAD(' ',15,' ') EXTC_CD_22,
         RPAD(' ',5,' ') RESOURCE_TYPE_22,
         RPAD(' ',8,' ') ACCOUNT_22,
         RPAD(' ',15,' ') AMOUNT_22,
         TO_NUMBER(SIF_AR_TL.HDR_ID_OUT) REC_GRP
    from     FSDV1ODI.PS_O_FS_SIF_AR_TL SIF_AR_TL LEFT OUTER JOIN FSDV1ODI.PS_O_FS_SIF_AR_HDR PS_O_FS_SIF_AR_HDR ON PS_O_FS_SIF_AR_HDR.HDR_ID=SIF_AR_TL.HDR_ID_OUT
    where      (1=1)
    If anybody has faced the above issue, kindly revert back on the same.
    Thanking in Advance.
    Regards,
    Raghav

    i hope you have resolved the question.
    However there is the note on metalink
    "Bytes are too big for array" Error When Inserting Data To A File In ODI [ID 554792.1]
    in which you can read
    Solution
    Run the select SQL startement that extracts data directly on the database and examine the data returned to make sure the data is valid and correct.
    Check source and target Datastores in both environments to make sure the columns' size and datatype are the same and the target File Datastore's columns size are big enough for the source data.
    In Topology, check the File JDBC Driver name and URL in both environments to make sure driver used is the same and the driver property ENCODING is set to the correct value if it is used. The default encoding value is ISO8859_1 which might not be appropriate if the source data is stored in
    a UTF8 database.
    Check the Locale values and Encodings used on the different servers.
    For example, for Oracle, check the NLS_CHARACTERSET setting in both environments. Take a look at Note 453080.1 for an example on the Locale.
    Finally, the ODI File Driver has the following property that can be used to truncate the long data to fit the fields size of the File Datastore if needed:
    TRUNC_FIXED_STRINGS=TRUE|FALSE: Truncates the strings from the fixed files to the field size. Default value is FALSE.
    TRUNC_DEL_STRINGS=TRUE|FALSE: Truncates the strings from the delimited files to the field size. Default value is FALSE.
    For example, if your target file is delimited, you can try:
    jdbc:snps:dbfile&TRUNC_DEL_STRINGS=TRUE
    Basically you are mapping a source column longer than tarhet.
    DecaXD

  • Invoking web service from EJB3 throw java.lang.IllegalArgumentException

    I used JAX-WS to develop a web service and deployed it on webloigc 10.3.5. The web service was invoked from web application and it worked fine. However, when I tried to invoke the web service from a stateless session bean, java.lang.IllegalArgumentException was thrown out and complained that "*interface gov.fema.web.nimcast.service.client.UpdateEmailPortType is not visible from class loader*". I tried following three ways to solve the problem
    1. put the web service client artifacts under APP-INF/classes of the EAR
    2. bundle the web service client artifacts into a jar file and put it under APP-INF/lib of the EAR
    3. put the web service client artifacts into the same jar file of the EJB
    However, none of the above approaches worked out, every time same exception thrown out.
    I used following commands in my ant script to generate the web service client artifacts
    <path id="deploypathref">
    <fileset dir="${wl.server}">
    <include name="server/lib/weblogic.jar"/>
    <include name="server/lib/weblogic_sp.jar"/>
    <include name="server/lib/xqrl.jar"/>
    <include name="server/lib/webservices.jar"/>
    <include name="../modules/features/weblogic.server.modules_10.3.3.0.jar"/>
    </fileset>
    </path>
    <taskdef name="clientgen"
    classname="weblogic.wsee.tools.anttasks.ClientGenTask" >
         <classpath refid="deploypathref"/>
    </taskdef>
    <clientgen
                   wsdl="http://${wls.hostname}:${wls.port}/nimscast/UpdateEmailService?WSDL"
                   destDir="${path.service}/src"
                   packageName="gov.fema.web.nimcast.service.client"
                   type="JAXWS"/>
                   <javac
                   srcdir="${path.service}/src" destdir="${path.assembly}/ear/APP-INF/classes"
                   includes="**/*.java"/>
    and following is the detail information from the stack trace:
    Caused By: java.lang.IllegalArgumentException: interface gov.fema.web.nimcast.service.client.UpdateEmailPortType is not visible from class loader
         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:353)
         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
         at weblogic.wsee.jaxws.spi.ClientInstance.createProxyInstance(ClientInstance.java:143)
         at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:855)
         at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
         at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:792)
         at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:326)
         at javax.xml.ws.Service.getPort(Service.java:92)
         at gov.fema.web.nimcast.service.client.UpdateEmailService.getUpdateEmailPortTypePort(Unknown Source)
         at gov.fema.prepcast.beans.UserManagement.updateUserEmailInNimscast(UserManagement.java:622)
         at gov.fema.prepcast.beans.UserManagement.changeUserProfileInfo(UserManagement.java:324)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
         at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
         at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
         at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
         at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy144.changeUserProfileInfo(Unknown Source)
         at gov.fema.prepcast.beans.UserManagement_dinn8k_UserManagementLocalImpl.__WL_invoke(Unknown Source)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:39)
         at gov.fema.prepcast.beans.UserManagement_dinn8k_UserManagementLocalImpl.changeUserProfileInfo(Unknown Source)
         at gov.fema.prepcast.actions.secret.UpdateUserAction.saveProfileInfo(UpdateUserAction.java:287)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)
         at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)
         at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
         at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)
         at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
         at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
         at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
         at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)
         at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
         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:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Edited by: 938276 on Jul 25, 2012 7:55 AM

    No you haven't, because
    Caused by: java.lang.NoClassDefFoundError: org.example.www.Sample_PortType a relevant class can still not be found and Java really is not going to lie to you; this class is not on your application's classpath so it is either missing or put in the wrong place. Note that missing classes can be caused by you forgetting to properly redeploying your application - its usually something silly like that. Figure out what you did wrong and correct your mistake.
    The fact that you have to mention that you "setup the classpath" is questionable; in web applications you don't touch the classpath at all. So what exactly did you do?

  • PL/SQL Web Service Error: IllegalArgumentException : No Deserializer found

    I deployed a pl/sql web service on a stand-alone OC4J, when I test this I am getting error "IllegalArgumentException : No Deserializer found to deserialize". Find below the detailed response:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.lang.IllegalArgumentException: No Deserializer found to deserialize a 'http://cmem.oracle.apps.cs.ws/ICmem_cs_ws_pkg.xsd:cmem_oracle_apps_cs_ws_CmemServiceRequestParamObj' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.</faultstring>
    <faultactor>/cmemws/CmemServiceRequests</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    I was using a complex parameter as well as response. Below is the WSDL. If anyone has any idea what could be the issue, let me know.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!-- Generated by the Oracle JDeveloper Web Services WSDL Generator
    -->
    - <!-- Date Created: Tue Oct 27 12:30:19 CST 2009
    -->
    - <definitions name="CmemServiceRequests" targetNamespace="http://cmem/oracle/apps/cs/ws/CmemServiceRequests.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://cmem/oracle/apps/cs/ws/CmemServiceRequests.wsdl" xmlns:ns1="http://cmem.oracle.apps.cs.ws/CmemServiceRequests.xsd">
    - <types>
    - <schema targetNamespace="http://cmem.oracle.apps.cs.ws/CmemServiceRequests.xsd" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema">
    - <complexType name="cmem_oracle_apps_cs_ws_CmemServiceRequestParamObjUser" jdev:packageName="cmem.oracle.apps.cs.ws" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
    - <all>
    <element name="srId" type="decimal" nillable="true" minOccurs="0" />
    <element name="srNumber" type="string" nillable="true" minOccurs="0" />
    <element name="srGroupOwner" type="string" nillable="true" minOccurs="0" />
    <element name="srOwner" type="string" nillable="true" minOccurs="0" />
    <element name="srDateFrom" type="dateTime" nillable="true" minOccurs="0" />
    <element name="srDateTo" type="dateTime" nillable="true" minOccurs="0" />
    <element name="caller" type="string" nillable="true" minOccurs="0" />
    <element name="inspector" type="string" nillable="true" minOccurs="0" />
    <element name="problemCode" type="string" nillable="true" minOccurs="0" />
    </all>
    </complexType>
    - <complexType name="cmem_oracle_apps_cs_ws_CmemServiceRequestObjUser" jdev:packageName="cmem.oracle.apps.cs.ws" xmlns:jdev="http://xmlns.oracle.com/jdeveloper/webservices">
    - <all>
    <element name="srId" type="decimal" />
    <element name="srNumber" type="string" />
    <element name="srGroupOwner" type="string" />
    <element name="srOwner" type="string" />
    <element name="srType" type="string" />
    <element name="srDate" type="dateTime" />
    <element name="statusCode" type="string" />
    <element name="srParty" type="string" />
    <element name="caller" type="string" />
    <element name="srSummary" type="string" />
    <element name="problemCode" type="string" />
    <element name="problemDescription" type="string" />
    <element name="resolutionCode" type="string" />
    <element name="resolutionDesc" type="string" />
    <element name="resolutionSummary" type="string" />
    <element name="srAddress" type="string" />
    <element name="srCity" type="string" />
    <element name="srZipCode" type="string" />
    <element name="srState" type="string" />
    </all>
    </complexType>
    </schema>
    </types>
    - <message name="getSrDetails0Request">
    <part name="pSeletionConditions" type="ns1:cmem_oracle_apps_cs_ws_CmemServiceRequestParamObjUser" />
    </message>
    - <message name="getSrDetails0Response">
    <part name="return" type="ns1:cmem_oracle_apps_cs_ws_CmemServiceRequestObjUser" />
    </message>
    - <portType name="CmemServiceRequestsPortType">
    - <operation name="getSrDetails">
    <input name="getSrDetails0Request" message="tns:getSrDetails0Request" />
    <output name="getSrDetails0Response" message="tns:getSrDetails0Response" />
    </operation>
    </portType>
    - <binding name="CmemServiceRequestsBinding" type="tns:CmemServiceRequestsPortType">
    <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="getSrDetails">
    <soap:operation soapAction="" style="rpc" />
    - <input name="getSrDetails0Request">
    <soap:body use="encoded" namespace="CmemServiceRequests" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </input>
    - <output name="getSrDetails0Response">
    <soap:body use="encoded" namespace="CmemServiceRequests" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
    </output>
    </operation>
    </binding>
    - <service name="CmemServiceRequests">
    - <port name="CmemServiceRequestsPort" binding="tns:CmemServiceRequestsBinding">
    <soap:address location="http://isd104364:8888/cmemws/CmemServiceRequests" />
    </port>
    </service>
    </definitions>
    Appreciate any help. Thanks.
    Binish

    Ok, this sounds like a known bug ( Bug 5908689 ) in 10.1.3.1, but this was specific to non-Windows platforms. Are you on Linux/Solaris or any other platform? It might or might not be the same problem you are hitting but it does seem quite close (can't say for sure without a close investigation, I am afraid!)
    In any case, this bug is fixed in the 10.1.3.4 patchset (besides quite a few other fixes and enhancements) - so would recommend you to first apply the 10.1.3.4 patchset and retest. The patchset is available on My Oracle Support (formerly Metalink) under Patch 7272722. Or you could go a step ahead, and apply the 10.1.3.5 patchset (Patch 8626084) instead which is the latest patchset for OracleAS 10.1.3.x.
    HTH,
    Yogesh

  • IllegalArgumentException: While exporting to PDF in Websphere 6

    Hi,
    <br>
    We are using Crystal Report XI and Java 1.5. We are using JRC jars to parse the Crystal Report in Server side. From our application we will export the report to PDF. It is working fine for all reports except for a specific report where it gives IllegalArgumentException while exporting the PDF. The same report is working fine in Windows Environment. Only in Linux environment the below error occurred. It will be of great help if any one can suggest us on this.
    <br>
    Exception:<br>
    <br>
    [1/31/11 13:31:13:397 CST] 00000026 SystemOut     O Openning rowset<br>
    [1/31/11 13:31:13:399 CST] 00000026 SystemOut     O Executing query: null<br>
    [1/31/11 13:31:13:401 CST] 00000026 SystemOut     O PdfExporter: serializing pdf document and cleaning up<br>
    [1/31/11 13:31:13:401 CST] 00000026 SystemOut     O Disk Exporter: verifying export to destination<br>
    [1/31/11 13:31:13:401 CST] 00000026 SystemOut     O Disk Exporter: no output file was created by an exporter<br>
    [1/31/11 13:31:13:407 CST] 00000026 SystemOut     O PdfExporter: caught Exception in PDFFormatter.finalizeFormatJob (from destination?); aborting export<br>
    java.lang.IllegalArgumentException<br>
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br>
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br>
         at com.crystaldecisions.reports.a.e.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)
         at com.businessobjects.reports.sdk.b.i.int(Unknown Source)
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.mysystem.myapp.common.Crystal_Report.print(Crystal_Report.java:447)
         at com.ibm._jsp._Crystal_Report._jspService(_Crystal_Report.java:305)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at com.mysystem.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)<br>
    [1/31/11 13:31:13:408 CST] 00000026 SystemOut     O Disk Exporter: finalizing export to destination<br>
    [1/31/11 13:31:13:408 CST] 00000026 SystemOut     O JRCAgent203 detected an exception: java.lang.NullPointerException<br>
    [1/31/11 13:31:13:413 CST] 00000026 SystemOut     O 2011-01-31 13:31:13.411 30706059IBN_IBON MARMAGOST Crystal_Report.print(748) Error while generating crystal report<br>
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
         at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.export(Unknown Source)
         at com.crystaldecisions.sdk.occa.report.application.NonDCPAdvancedReportSource.export(Unknown Source)
         at com.mysystem.myapp.common.Crystal_Report.print(Crystal_Report.java:447)
         at com.ibm._jsp._Crystal_Report._jspService(_Crystal_Report.java:305)
         at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
         at com.mysystem.myapp.common.ServletFilter.doFilter(ServletFilter.java:107)
         at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
         at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:837)
         at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:680)
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
         at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
         at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:232)
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90)
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748)
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
         at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

    I recommend searching on that Exception message first. 
    Sincerely,
    Ted Ueda

  • Java.lang.IllegalArgumentException for listener in web.xml with weblogic12.1.1

    Hi.
    Im trying to upgrade the weblogic version from 10 to 12 for my application.
    Im getting below mentioned error while deploying ear file in weblogic 12 which works fine with version10.
    " java.lang.IllegalArgumentException:[HTTP:101164] User defined class com.ab.util.session object is not a listener as it doesnt implement the correct interface."
    Deployment is getting failed because of this error.
    If i comment out listener, deployment is success.

    HI Timo,
    Old Weblogic version: 10.3.3
    New weblogic version:12.1.1
    Using Struts frame work.
    SessionObject class:
    public class SessionObject implements HttpSessionBindingListener{
    public void valueBound( HttpSessionBindingEvent  event)
    public voind valueUnbound (HttpSessionBindingEvent  event)
    web.xml:
    <listener>
    <listener-class>com.ab.util.SessionObject</listener-class>
    <listener>
    I want to know that why im getting  " java.lang.IllegalArgumentException:[HTTP:101164] User defined class com.ab.util.session object is not a listener as it doesnt implement the correct interface"  error while deploying the ear file under version 12.1.1 when it is working fine with version 10.3.3.
    Should i make any changes in web.xml or should i include any jars???

  • Mail Receiver Error:  java.lang.IllegalArgumentException: can't parse argum

    Hi everybody,
    I get the error in mail receiver CC:
    java.lang.IllegalArgumentException: can't parse argument number
    My Payload looks like this:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns1:Mail xmlns:ns1="http://sap.com/xi/XI/Mail/30">
      <Subject>The subject</Subject>
      <From>mailadress</From>
      <To>mailadress</To>
      <Content_Type>multipart/mixed; boundary="AaBb--984dfgeSSd3532"</Content_Type>
    - <Content_Description>
      <attachment filename="Filename.txt">content_of_attachment</attachment>
      </Content_Description>
      <Content_Disposition>attachment</Content_Disposition>
      <Content>Constant</Content>
      </ns1:Mail>
    Any ideas?
    Regards
    Mario

    Hi Mario..
    Go thru this thread for it.
    Error Catagory : XI_J2EE_ADAPTER_MAIL
    Regards

  • Re: IllegalArgumentException: Illegal request to write non-integral

    Description:
                   Java sound library has been bundled with java1.4. There was a
                   separate sound libraray in java1.3 (sound.jar). In java1.4
                   com.sun.media.sound.* contains an inbuilt sound device configuration
                   library.
                   A JMF class (com.sun.media.protocol.javasound.JavaSoundSourceStream.class)
                   uses javax.sound.sampled.TargetDataLine Interface for reading data from
                   media device and defines a buffer size to read data for the method
                   javax.sound.sampled.TargetDataLine.read(byte[] b, int off, int len)
                   for the variable "len"
                   The source for read method of the class
                   javax.sound.sampled.TargetDataLine.read resembles like this:
                   public int read(byte[] b, int off, int len) {
                   if (len % getFormat().getFrameSize() != 0) {
                        throw new IllegalArgumentException("Illegal request to write non-integral number of frames (" + len + " bytes )");
                   Clearly, this requires that the number of bytes to be read must
                   be an integral number of sample frames, such that:
                   [ bytes read ] % [frame size in bytes ] == 0
    Solution:
                   Buffer size defined in JavaSoundSourceStream should be proper
                   and adjustable for device capability.
                   Before defining buffer size, the getFrameSize() method of
                   javax.sound.sampled.AudioFormat should be called to verify
                   the frame size of the media device.
                   The following code should be inserted in the file
                   com/sun/media/protocol/javasound/JavaSoundSourceStream.java
                   in the method openDev():
                   int adjust_FrameBuffer_size = afmt.getFrameSize();
                   bufSize = bufSize - (bufSize % adjust_FrameBuffer_size);
                   before defining DataLine.Info buffersize.
    */

    hello fellows!
    In my case i am plugging in the JSPEEX into java sound API. I am getting this same exception when I have samplesizebits as 16 Bits (Depth sample) . But when I make it as 8 Bit(Depth sample) its executing without any exception. wat is the reason?
    java.lang.IllegalArgumentException: illegal request to write non-integral number of frames (607 bytes, frameSize = 2 bytes)
    My Input parameters:
    float sampleRate = 44100.F;
    int sampleSizeInBits = 16; //8,16
    int channels = 1;//1,2
    boolean signed = true;//true,false
    boolean bigEndian = false;
    OS: Windows NT server.

  • Error processing XML request, java.lang.IllegalArgumentException

    Hi all,
    In my code I can successfully connect to server and send the content which is an XML content:
    param = java.net.URLEncoder.encode(s, "UTF-8");
    java.io.PrintWriter out = new java.io.PrintWriter(connection.getOutputStream());
    out.print(param);
    Read the response from server:
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(connection.getInputStream()));
    while((input = in.readLine()) != null)
    response += input + "\r";
    System.out.println("Client : received : "+response);
    Following is the response I receive from server:
    Client : received : <html><h1>Error processing XML request</h1>java.lang.IllegalArgumentException: No xml request posted</html>
    Has anybody know what the problem is? Why this error is issued?
    Any help is greatly appreciated.

    Dear legosa,
    Thanks so much for the replies. What you wrote makes absolute sence, w/o flush() or close(), it seems that I'm sending only balnk to output!
    I don't know how can I fix the 500 Internal Server Error; below is my complete code that does this part, can you tell me if you see sth. wrong in this code?
    param = java.net.URLEncoder.encode(aTrans.xmlDoc, "UTF-8");
    url = new URL("https://xml.test.surepay.com");
    connection = (HttpURLConnection)url.openConnection();                    
    connection.setDoInput(true);
    connection.setDoOutput(true);
    connection.setUseCaches(false);
    connection.setRequestMethod("POST");
    connection.setRequestProperty("Content-type", "application/x-www-form-urlencoded");
    String sLen = "" + param.length();
    connection.setRequestProperty("Content-length", sLen);
    connection.setRequestProperty("Accept", "text/plain");
    connection.connect();
    System.out.println("Client : Connected");
    java.io.PrintWriter out = new java.io.PrintWriter(connection.getOutputStream());
    System.out.println("Client : Writing Content");
    out.print(param);
    out.close();
    System.out.println(connection.getURL());          
    System.out.println(connection.getResponseCode() + " " + connection.getResponseMessage());
    System.out.println(connection.getURL());
    System.out.println("Client : Waiting for response from Server");
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(connection.getInputStream()));
    System.out.println("Client : Opened input stream");
    while((input = in.readLine()) != null)
    response += input + "\r";
    System.out.println("Client : received : "+response);

  • Dynamic Configuration Error:  Exception:[java.lang.IllegalArgumentException

    Hi All,
    I am using dynamic configuration to put a string to the message header. i have created a tilde delimited string with the length more than 200(length=928). During mapping i am using dynamic configuration to put this in SOAP header. But everytime i execute scenario i get an error:
    "com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (928/200): "
    Is there a limit to the length of the string that can be placed in the dynamic configuration ?
    Please help.
    Regards,
    Meenakshi Pradhan

    meenakshipradhan wrote:>
    > "com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping; root message: Exception:[java.lang.IllegalArgumentException: Value is too long (928/200): "
    >
    I think the above error does say about that..!! Try putting data like 201 chars and the 200 chars, then see what happens.
    VJ

  • Exception:[java.lang.IllegalArgumentException: Cannot cast 02 to boolean]

    Hi Friends,
    I am facing a issue in mapping. My scenario is IDOC to JDBC.
    I have done mapping in the give below way.
    If segment1 and segment2 both exists and attyp(field of segment1) is equal to '00' or '01' then segment1 replicate into table.
    I am facing a error while testing the mapping is:
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.IllegalArgumentException: Cannot cast 02 to boolean] in class com.sap.aii.mappingtool.flib3.Bool method or[02, 01, com.sap.aii.mappingtool.tf3.rt.Context@459926e5]
    Kindly suggest me on this.
    Regards,
    Narendra Goyal

    My Mapping in such a way:
                              01      attyp
                                \          \               segment1
                                or   -  equals           \
                                 /          \                then
                               02         and   -    if              ->       Table
    segment1 - exists   \      /                 else
                                  and                      /
    segmen2 - exists   /             some more condition

Maybe you are looking for

  • Unable to Open Project Site Access Denied Issue Project 2013

    This issue is happening to select projects and select project managers, they can view certain project sites but receive the error on other projects.  After some extensive testing it looks like if the PM is the owner of the project plan they are not g

  • How to filter the data in different sections (e.g. Report Footers)?

    Hi, I am using Crystal Reports 11 to generate cross-tables. I plan to generate 3 cross-tabs, and each cross-table will be put in a section. For example, cross-tab1 in Report Footer a; cross-tab2 in Report Footer b; cross-tab3 in Report Footer c. I kn

  • Image Capture won't scan to Photoshop

    I just downloaded Lion (10.7.2) and everything works fine, except ... When scanning through Image Capture, it won't open the scanned images in Photoshop (CS4) when set to do so. It will open in any other program I try (Preview, Illustrator, etc ...)

  • Error -42110. And backup of my iPhone

    When I open the iTunes appear the unknow error -42110. And i cant do the backup of my iPhone. What I need to do to fix it?

  • Moving to Europe...will Thunderbolt Display work?

    Hi. I'm moving to Finland this summer and would like to take along my new-ish thunderbolt display. I have a power converter to go from 110v to 230v, but i was wondering if the 50hz vs. 60hz would cause a problem. Thanks in advance for your help.