CX_SY_MESSAGE_ILLEGAL _TEXT
Hi all,
Im an Abapper and im getting the below message in my report(se38)RUNTIME ERROR....my technical guys says it should be resolved by Basis Consultant....
CX_SY_MESSAGE_ILLEGAL _TEXT
Run time Error.
The Exception 'CX_SY_MESSAGE_ILLEGAL _TEXT ' was raised but it was not caught anywhere along the call hierarchy.
Since exceptions represent error situation and this error was not adequately responded to, the running ABAP program 'CL_MESSAGE_HELPER========CP' HAS TO BE TERMINATED.
Error Analysis.
AN exception occured that is expalined in detail below.
The exception which is assigned to class ''CX_SY_MESSAGE_ILLEGAL _TEXT ' was not caught in procedure "ACTION" (FORM)", nor was it propogated by raising clause.Since the caller of the procedure could not have anticipated that the exception would occur,the curent program is terminated.
The reason for the exception is:
the text parameter in MESSAGE cannot be an initial reference.
Trigger location of exception
Program:'CL_MESSAGE_HELPER========CP'
include:''CL_MESSAGE_HELPER========CM003
Row 3
Method type: method
Module name:SET_MSG_VARS_FOR_IF_T100_MSG.
SOURCODE:
IF TEXT IS INITIAL.
>>>>>>>>>RAISE EXCEPTION TYPE..
Hope it;s enought for ur reference...
What's this and how to resolve it???
Pls post ur comments and do the needful at the earliest.
thanks & regards
sankar.
Message was edited by: sankar
sankar babu
Hello Sankar,
What basis release you are using? Check SAP Note 1098603 talks about the same errors when you create implicit enhancement.
here is the link for the above SAP Note:
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_dwb/~form/handler">SAP Note 1098603</a>
Hope this helps
Regards,
Satyajit
Similar Messages
-
Run time error in "'CX_SY_MESSAGE_ILLEGAL _TEXT "
Hi all,
the below is the detail message of my run time error occuring when creating one new enhancement implementation thru se38 for "LFDCBFI0".
Pls help me by posting ur comments,how to resolve it.
Run time Error.
The Exception 'CX_SY_MESSAGE_ILLEGAL _TEXT ' was raised but it was not caught anywhere along the call hierarchy.
Since exceptions represent error situation and this error was not adequately responded to, the running ABAP program 'CL_MESSAGE_HELPER========CP' HAS TO BE TERMINATED.
Error Analysis.
AN exception occured that is expalined in detail below.
The exception which is assigned to class ''CX_SY_MESSAGE_ILLEGAL _TEXT ' was not caught in procedure "ACTION" (FORM)", nor was it propogated by raising clause.Since the caller of the procedure could not have anticipated that the exception would occur,the curent program is terminated.
The reason for the exception is:
the text parameter in MESSAGE cannot be an initial reference.
Trigger location of exception
Program:'CL_MESSAGE_HELPER========CP'
include:''CL_MESSAGE_HELPER========CM003
Row 3
Method type: method
Module name:SET_MSG_VARS_FOR_IF_T100_MSG.
SOURCODE:
IF TEXT IS INITIAL.
>>>>>>>>>RAISE EXCEPTION TYPE..
Hope it;s enought for ur reference...
Pls post ur comments
regards
sankar.
Message was edited by: Sankar
sankar babuhi Amandeep,
Sorry for the delayed reply....im on off for today and tomorrow to my office...so u pls...post me the detail...how to check all this and do the work,hope dont mind me asking u now.
thanks & regards
sankar. -
What's "CX_SY_MESSAGE_ILLEGAL _TEXT"
hi all,
i'm trying to do one screen exit in my development client by assinging one enhancement implementation in t-code se38.When i select the EI to continue...its going dump and saying that
class "CX_SY_MESSAGE_ILLEGAL _TEXT" was not caught in and procedure "action" "(form)".....
what 's this error....i went to se37 and put a break point in the Perfom Action code...but its not working out in debugging mode also.(going dump).
But the same process,i did it in IDES and its working well....no errors.
WHat's this error and how to resolve it.
Pls post ur comments
thanks & regards
sankar.Hi ,
Could you please verify that you have defined an exception as TYPE in EXCEPTIONS section/tab of your FM?
Thanks and Regards,
Sooness. -
Process Execute infopackage ,variant 0salesorg _text has status cancelled(i
Hi All,
i am loading thr master data.but load was failed.failed request is showing " process Execute infopackage ,variant 0salesorg _text has status cancelled(instances).why this error is comimg frequentely.i want know the reson.how can i solve this issue.please help me.
Thanks,
chanduThe job would have ben manually cancelled by the user.
It can also be some shortdump,check ST22
Else could be due to communication failures.
Connection problem.
To check for the connection,Goto RSA1-> source system,
select ur source and right click and check. -
Changing the size of a single field in runtime in table view
Is it possible to change the row height to fit the entire text into the field for the column Exception text ?
Is it possible to change the row height of the field exception text in run time, based on the amount of text it carries ??
Please suggest.Hello,
you can try to put the code similar to the one below in table iterator.
METHOD if_htmlb_tableview_iterator~render_cell_start.
DATA: lr_input TYPE REF TO cl_thtmlb_inputfield,
lr_text TYPE REF TO cl_thtmlb_textview.
IF p_column_key EQ 'ZLIKEATTRS'.
lr_input ?= p_replacement_bee.
lr_input->encode = abap_false.
IF ( lr_input->disabled EQ 'TRUE' ) OR ( lr_input->disabled EQ abap_true )
OR ( p_edit_mode IS INITIAL ).
* --> input is readonly, instead of disabled input render text
CREATE OBJECT lr_text.
lr_text->id = p_cell_id.
lr_text->text = lr_input->value.
lr_text->_text = lr_input->_value.
lr_text->type = lr_input->type.
lr_text->_type = lr_input->_value.
lr_text->tooltip = lr_input->tooltip.
lr_text->align = lr_input->alignment.
lr_text->textdirection = lr_input->textdirection.
lr_text->design = 'VALUE'. "#EC NOTEXT
lr_text->size = lr_input->size.
lr_text->width = lr_input->width.
IF lr_text->tooltip IS INITIAL.
IF lr_input->_value IS NOT INITIAL.
lr_text->_tooltip = lr_input->_value.
ELSE.
lr_text->tooltip = lr_input->value.
ENDIF.
ENDIF.
lr_text->encode = abap_false.
p_replacement_bee ?= lr_text.
ENDIF.
ENDIF.
ENDMETHOD.
In get method of your description column split the text into lines using <br> tag.
Something like this:
LOOP AT lt_attrs INTO lv_attr.
CONCATENATE lv_value '<br>' lv_attr INTO lv_value.
ENDLOOP. -
MVC - Performance of data binding
Hi Gurus out there
I have a concern regarding performance of (dynamic) data binding if I have a lot of <i>textEdit</i> fields containing huge amount of data on a view page.
<u>Scenario</u>:
The view page contains buttons <b>[Add textEdit field]</b> and<b> [Save all entries]</b>. If you click the button <b>[Add textEdit field]</b> then a (new) <i>textEdit</i> will be generated and the model remembers the total number of <i>textEdit</i> fields that have been generated.
DATA: textedit_count TYPE i,
o_textedit TYPE REF TO cl_htmlb_textedit,
tabix(6) TYPE c,
binding_code TYPE string,
binding_str TYPE string.
textedit_count = o_model->get_section_count( ).
DO textedit_count TIMES.
* Create a unique ID for a textEdit field:
tabix = sy-index.
CONDESE tabix NO-GAPS.
* String for the data binding of internal table model->data_stream_tab:
CONCATENATE '//model/data_stream_tab['
tabix
'].data_string'
INTO binding_str.
* Dynamic data binding:
CREATE OBJECT o_textedit.
CONCATENATE 'myTextEditID' tabix
INTO o_textedit->id.
o_textedit->width = 650.
o_textedit->height = 225.
o_textedit->_text = binding_str.
binding_code = o_textedit->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
<htmlb:label for = "<%= o_textedit->id %>"
text = "<%= o_textedit->id %>"
design = "EMPHASIZED" />
<%-- Binding of the attribute (internal table) '//model/data_stream_tab<i>.data_stream' --%>
<%= binding_code %>
ENDDO.
Obviously the <u>whole</u> contents of the <i>textEdit</i> fields in the coding above are <u>always</u> "moved" from the web browser to the server and vice versa when the button <b>[Add textEdit field]</b> is hit every time even though the content of some <i>textEdit</i> fields haven't changed.
Does anyone have a good solution/optimization for this problem? Any suggestion, comment and/or answer will be very appreciated.
Thanks
HWPlace this code above any textedit elements you have in your page:
<script type="text/javascript">
var myFields = new Array();
</script>
Then place this code after every textedit elements, this code will get run when the page is loaded in the browser, right after your element. You are saving the ID and the default value of your element to an array. For every further element, increase the array counter by 1!
<script type="text/javascript">
myFields[0] = new Object();
myFields[0]["id"] = 'myTextEdit1';
myFields[0]["default_value"] = document.getElementById(myFields[0]["id"]).value;
</script>
Finally, include this function in your page (does not have to be at the bottom, I just put it here chronologically):
<script type="text/javascript">
function compareFields() {
for (var i = 0; i < myFields.length; ++i) {
if(myFields<i>["default_value"] == document.getElementById(myFields<i>["id"]).value) {
// nothing has changed, set to ignore-value (any highly unlikely value, like ")?.("
document.getElementById(myFields<i>["id"]).value = ')?.(';
// check against this value in your setter method
// if this is set, then do not user submitted value to update your model attribute value
// maybe do some output for debug purposes
// alert(document.getElementById(myFields<i>["id"]).value);
}</script>
Now add this attribute to your submit button:
onClientClick = "javascript:compareFields();"
This should do, test it out and let me know.
Max -
How to Load Master Data Text from Multiple Source Systems
Situation: Loading vendor master (text) from two systems. Some of the vendor keys/number are the same and so is the description. I understand that if I was loading Attributes, I could create another attribute such a source system id and compound it to 0Vendor. However, I don't believe you can do the same when loading text.
Question: So, how can I load duplicate vendor keys and description into BW using the *_TEXT datasource so they do not overwrite?
Thanks!Hi,
Don't doubt, it'll work!
Sys ID as compound to 0Vendor.
If you doubt about predefined structure of the *_TEXT datasource and direct infosource, then use a flexible infosource. Maybe you'll have to derive the sys ID in a routine or a formula.
Best regards,
Eugene -
How to get rid of a thin gray border of SkinnableContainer in design mode
I'm learning skinning techniques for flex 4 and spark. For an example project I've created custom component derived from SkinnableContainer. It is simple container with surrounding frame and a title.
Everything works just fine when I run test project with a component on it. But at design time my component's border is not visible - it is covered with a thin gray border.
Disadvantages of this behavior is that developer using the component can not see some changes made at design time (e.g. border color).
I've searched through SkinnableContainer's code, but I couldn't find if the thin gray border is drawn by this class.
see illustration
My component's code:
package dtg.components
import dtg.skins.BorderContainerWithTitleSkin;
import spark.components.SkinnableContainer;
public class BorderContainerWithTitle extends SkinnableContainer
[SkinPart]
public var title:Label;
private var _text:String;
public function BorderContainerWithTitle()
super();
setStyle("skinClass", dtg.skins.BorderContainerWithTitleSkin);
[Inspectable(category="Common",name="Group_Title",type="String",defaultValue="Data Group")]
public function get groupTitle():String
return _text;
public function set groupTitle(text:String):void
if (_text != text)
_text = text;
if (title != null)
title.text = _text;
[Bindable]
[Inspectable(category="Common", type="Color",format="Color")]
public var lineColor:uint;
[Bindable]
[Inspectable(category="Common", type="Color",format="Color")]
public var textColor:uint;
override protected function partAdded(partName:String, instance:Object):void
super.partAdded(partName, instance);
if (partName == "title")
(instance as Label).text = _text;
override protected function partRemoved(partName:String, instance:Object):void
super.partRemoved(partName, instance);
and skin:
<?xml version="1.0" encoding="utf-8"?>
<!--- The default skin class for a Spark SkinnableContainer container.
@see spark.components.SkinnableContainer
@langversion 3.0
@playerversion Flash 10
@playerversion AIR 1.5
@productversion Flex 4
-->
<s:SparkSkin xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:fb="http://ns.adobe.com/flashbuilder/2009" alpha.disabled="0.5"
creationComplete="skin1_creationCompleteHandler(event)" xmlns:local="*" xmlns:components="dtg.components.*"
>
<fx:Metadata>[HostComponent("dtg.components.BorderContainerWithTitle")]</fx:Metadata>
<fx:Script fb:purpose="styling">
<![CDATA[
import mx.states.OverrideBase;
* @private
/* Define the skin elements that should not be colorized. */
static private const exclusions:Array = ["background", "title"];
* @private
override public function get colorizeExclusions():Array {return exclusions;}
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : void
// Push backgroundColor and backgroundAlpha directly.
// Handle undefined backgroundColor by hiding the background object.
if (isNaN(getStyle("backgroundColor")))
background.visible = false;
else
background.visible = true;
background.left = background.top = background.right = background.bottom = 1;
bgFill.color = getStyle("backgroundColor");
bgFill.alpha = getStyle("backgroundAlpha");
super.updateDisplayList(unscaledWidth, unscaledHeight);
]]>
</fx:Script>
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
[Bindable]
private var _bMargin:uint;
[Bindable]
private var _titleWidth:uint;
protected function skin1_creationCompleteHandler(event:FlexEvent):void
_titleWidth = title.width;
_bMargin = title.height/2;
title.addEventListener(Event.CHANGE, onTitleChange);
protected function updateLayout():void
var tlm:TextLineMetrics = title.measureText(title.text);
_titleWidth = tlm.width;
_bMargin = (tlm.ascent)/2;
protected function onTitleChange(e:Event):void
updateLayout();
]]>
</fx:Script>
<fx:Declarations>
<s:SolidColorStroke id="lineStroke" weight="1" color="{hostComponent.lineColor}" alpha="1.0"/>
</fx:Declarations>
<s:states>
<s:State name="normal"/>
<s:State name="disabled" />
</s:states>
<!--- Defines the appearance of the SkinnableContainer class's background. -->
<s:Rect id="background" left="1" right="1" top="1" bottom="1">
<s:fill>
<!--- @private -->
<s:SolidColor id="bgFill"/>
</s:fill>
</s:Rect>
<!--
Note: setting the minimum size to 0 here so that changes to the host component's
size will not be thwarted by this skin part's minimum size. This is a compromise,
more about it here: http://bugs.adobe.com/jira/browse/SDK-21143
-->
<!--- @copy spark.components.SkinnableContainer#contentGroup -->
<s:Group id="contentGroup" left="1" right="1" top="1" bottom="1" minWidth="0" minHeight="0">
</s:Group>
<s:Label id="title"
left="{_bMargin*2}"
top="{-_bMargin}"
color="{hostComponent.textColor}"
/>
<!--Top left line-->
<s:Line xFrom="0" yFrom="0" xTo="{_bMargin}" yTo="0" stroke="{lineStroke}"/>
<!--Top rigth line-->
<s:Line xFrom="{_titleWidth + _bMargin*3}" yFrom="0" xTo="{width-1}" yTo="0" stroke="{lineStroke}"/>
<!--Rigth line-->
<s:Line xFrom="{width-1}" yFrom="0" xTo="{width-1}" yTo="{height-1}" stroke="{lineStroke}"/>
<!--Bottom line-->
<s:Line xFrom="{width-1}" yFrom="{height-1}" xTo="0" yTo="{height-1}" stroke="{lineStroke}"/>
<!--Left line-->
<s:Line xFrom="0" yFrom="{height-1}" xTo="0" yTo="0" stroke="{lineStroke}"/>
</s:SparkSkin>This appears to be a Flex question. Please try the Flex forums here
http://forums.adobe.com/community/flex/flex_general_discussion. -
What is the Purpose of Transaction So10, hw to use that, and what we do in that, and where we use that ?
Kindly let me know
Akshitha.for Read _text Fm like the below
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id =
language =
name =
object =
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines =
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Kindly let me know what are all the parameters we have to enter? what are they?
Akshtiha. -
How to load a ByteArray FLV in OSMF?
I'm working on a local application ( it's not a website or nothing related ) and I have various FLVs with a very simple encryptation method (just like adding 10 at each byte).
I can load/play them using NetStream.appendBytes() after my decrypt, but that happens only after I read all video data.
What I really need is to stream those videos from a remote url, and decrypting while receiving data, using a OSMF player that I already have.
This is my current code just to play my decoded FLV byte array
private function playBytes(bytes:ByteArray):void
// detecting it's header
if (bytes.readUTFBytes(3) != "FLV")
_text.appendText("\nFile \""+ file +"\" is not a FLV")
return void;
bytes.position = 0;
netConnection.connect(null);
netStream = new NetStream(netConnection);
netStream.client = { onMetaData:function(obj:Object):void { } }
video.attachNetStream(netStream);
addChild(video);
// put the NetStream class into Data Generation mode
netStream.play(null);
// before appending new bytes, reset the position to the beginning
netStream.appendBytesAction(NetStreamAppendBytesAction.RESET_BEGIN);
// append the FLV video bytes
netStream.appendBytes(bytes);
[I moved the discussion from OSMF, to here, due the lack of attention there]I looked at it a couple of month ago and, frankly, don't remember exact package that takes care of it. I don't have OSMF code on this machine - so I cannot look into it now.
I doubt there are many resources on the web regarding this. This is a very specialized functionality and very few people attempted to do what OSMF does. We have figured out certain aspects but were not able to completely replicate it. Again, it is a very daunting task to search of byte offsets and match with file format specs. -
Error trying to send email -- IOException while sending message
Email is successful when:
I run my application through JDeveloper
or
when I use a classpath, but if I try to execute app via a jar file, i get the following error message: IOException while sending message.
The jar file does include mail.jar and activation.jar.
Below is my email code:
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
public class JMAR_Mail {
private String sendTo;
private String sentFrom;
private String host;
private String messageSubject;
private String messageText;
private MimeMessage msg;
public JMAR_Mail() {}
public JMAR_Mail(String sendTo, String sentFrom, String _host) {
sendTo = _sendTo;
sentFrom = _sentFrom;
host = _host;
public void setEmailSubject(String _messageSubject) {
messageSubject = _messageSubject;
} // end setEmailSubject
public void setEmailText(String _text) {
messageText = _text;
public void sendEmail() throws MessagingException {
// create some properties and get the default Session
Properties props = System.getProperties();
props.put("mail.smtp.host", host);
Session session = Session.getInstance(props, null);
InternetAddress addr = new InternetAddress();
// parses comma separted list of email addresses
InternetAddress[] address = addr.parse(sendTo);
msg = new MimeMessage(session);
msg.setFrom(new InternetAddress(sentFrom));
msg.setSubject(messageSubject);
msg.setText(messageText);
msg.setRecipients(Message.RecipientType.TO, address);
msg.setSentDate(new Date());
Transport.send(msg);
} // end sendEmail
}You don't want to include those jar files in your jar file,
you want to reference them:
http://forum.java.sun.com/thread.jspa?forumID=43&threadID=762763 -
Video ichat no longer working with a new ISP
Hiya, I have read pages and pages of these posts and I am still none the wiser. I used to be able to video ichat with my old ISP but I can't with my new one. Audio and text work fine.
I have changed my quicktime streaming settings
I have disabled my firewall
I have gone to portforwarding.com and done the port forwarding thing (I think, I am not that technical)
I am using a fixed IP - my airport is using 192.168.7.3, my DSL router 192.168.7.1
I can ichat video fine from work (as long as it's not to my wife when she is at home)
I have tried to ichat to other people who have ichated succesfully to their friends
I have called my ISP and they assure me that no ports are being blocked
I am using the latest version of Tiger and ichat on a brand new MacBook Pro (wow this thing is fast), but my older Powerbook laptop can't connect either.
Can anyone help?
MacBook Pro Mac OS X (10.4.6) ichat 3.1.4Hi Russell,
Most of the devices listed here can be made to work with iChat
http://portforward.com/routers.htm
However I would tend to stick to the bigger names.
AT this stage MIMO and Pre-N devices (the ones with the extra antennas and the ones trying to predict the 802.11N wireless protocol) as iChat seems to have soem problems with them.
Things like the Linksys WRT54G has routing and UPnP capabilities. The Netgear DG834G and it's variants are also popular. (D-Links seem to be a bit odd as set ups vary and they do not always have UPnP)
Thomson/Alcatel Speedtouch devices need to be on Version 4 firmware (No higher than 4.2.9) and not Version 5 or 6 (or the 4.3.x version that is really version 5 re-written for earlier devices). These Alcatels need the SIP Unbound from port 5060 that I was talking about.
See Mine in the white box just out of site http://www.ralphjohnsuk.dsl.pipex.com/page4.html#_text
What you have to look in to at this stage is whether the ISP is blocking port 5060 for it's own VoIP service. It it is it will not matter what modem you get.
As I said before in some cases it may be the device itself and we may be able to do soemthing about that.
http://www.ralphjohnsuk.dsl.pipex.com/page4.html#_text Scroll down to the White box with text in it.
Apple have this list http://docs.info.apple.com/article.html?artnum=93333
These are supposed to work Out of the Box which is not the same as Can Work with iChat.
11:43 AM Saturday; July 8, 2006 -
Dealing with J2SE CORBA errors at the WARNING level?
Sun CORBA Community:
For several years now (since we upgraded to J2SE 1.5.*) our log files have been filling up with CORBA.COMM_FAILURE errors from the Sun ORB that are thrown at the WARNING level. This has been reported as either a problem or an annoyance by a number of folks in this forum, but there has yet to be a suitable fix or work-around forthcoming.
An example stack trace is:
Oct 17, 2008 1:30:54 PM com.sun.corba.se.impl.transport.SocketOrChannelConnectio
nImpl <init>
WARNING: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR
_TEXT; hostname: 192.168.0.136; port: 58032"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:2172)
at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(O
RBUtilSystemException.java:2193)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
SocketOrChannelConnectionImpl.java:205)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
SocketOrChannelConnectionImpl.java:218)
at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.create
Connection(SocketOrChannelContactInfoImpl.java:101)
at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.begin
Request(CorbaClientRequestDispatcherImpl.java:152)
at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaC
lientDelegateImpl.java:118)
at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:431)
at org.opencoral.idl.Admin._ClientStub.postedEvent(_ClientStub.java:102)
at org.opencoral.event.server.EventManagerImpl.postEvent(EventManagerImp
l.java:284)
at org.opencoral.idl.Resource.EventManager_Tie.postEvent(EventManager_Ti
e.java:43)
at org.opencoral.idl.Resource._EventManagerImplBase._invoke(_EventManage
rImplBase.java:85)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
tchToServant(CorbaServerRequestDispatcherImpl.java:637)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispa
tch(CorbaServerRequestDispatcherImpl.java:189)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest
Request(CorbaMessageMediatorImpl.java:1680)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest
(CorbaMessageMediatorImpl.java:1540)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(C
orbaMessageMediatorImpl.java:922)
at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.call
back(RequestMessage_1_2.java:181)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest
(CorbaMessageMediatorImpl.java:694)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatc
h(SocketOrChannelConnectionImpl.java:451)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(
SocketOrChannelConnectionImpl.java:1189)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.
run(ThreadPoolImpl.java:417)
Caused by: java.net.ConnectException: Connection refused
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
at java.nio.channels.SocketChannel.open(SocketChannel.java:146)
at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket
(DefaultSocketFactoryImpl.java:60)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(
SocketOrChannelConnectionImpl.java:188)
... 19 more
Why does this happen? While I can't speak for others, in our case, I know why it happens and is not something that I want to hear about at the WARNING level. We use CORBA for client/server communications and each client registers with and then receives update information from the server. If someone exits the client properly, by clicking "Exit" in the application, we deregister the client with the server and everything is fine.
However, if someone simply closes the window to terminate the application, then the next time there is an update, the server tries to send it to a non-existent client and, bingo, we get a CORBA.COMM_FAILURE exception. Of course, getting users to properly exit rather than simply closing the window is a losing battle ....
While I would argue that this is not a WARNING level problem, that's the way that Sun has chosen to define it in the underlying CORBA stuff.
So, does anyone have an effective means of dealing with this problem. I thought that I should be able to override the logging level for the appropriate class and change it from WARNING to something lower such as FINE so that our logs listening to INFO level or higher wouldn't see them.
However, my efforts to do this .... and I don't pretend to be a java.logging wizard ... failed. Maybe I was not resetting the level of the appropriate class. Should the java.logging API let me override a logging level for one of the CORBA classes?
Any insights or suggestions as to how to better deal with this problem would be greatly appreciated.
Thanks for your consideration,
JohnHi,
I hope you have carried out the following activities:
1. Carry out standard cost estimate for the materials involved.
2. Check KKPAN to see the cost details of the product.
Need more details on the steps that you have carried out so far.
Regards,
SGP.
P.S - assign points incase the info was useful. -
My custom Tool tip on spark data Grid don't work ?
I want to add panel component as my tooltip for each row in my Spark DataGrid. So when mouse rollover the user can see the information for each the ship. I want a panel as my tooltip for dataGrid cause I want to organize my data neatly and also place a image in the panel.
I came across :http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60d65-7ff6.html where they show an example of "Implementing the IToolTip interface" using the panel.I tried manipulating the codes but it didt work for my spark dataGrid.
So my question :
Can some one pls show me how I can use the Panel as my tool tip for each row in spark data grid.
I have been struggling for quite some time.If possible pls Give me an example.
This is my codes below (I tried to follow the example from :http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf60d65-7ff6.html#WS2d b454920e96a9e51e63e3d11c0bf60d65-7ff4 -"Implementing the IToolTip interface")
My MXML Application codes :
<fx:Script>
<![CDATA[
import DesignItemRenderer.PanelToolTip;
import mx.events.ToolTipEvent;
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import spark.events.GridEvent;
[Bindable]
private var myArrivalShips:ArrayCollection = new ArrayCollection([
{arrivalShipsName:"Ship A", ETD:"12 March"},
{arrivalShipsName:"Ship B", ETD:"25 March"}
private function createCustomTip(event:ToolTipEvent):void {
var ptt:PanelToolTip = new PanelToolTip();
ptt.title = "my Ship Info";
ptt.bodyText = "my data for the ship";
event.toolTip = ptt;
]]>
</fx:Script>
<s:BorderContainer x="267" y="11" width="331" height="586">
<s:DataGrid id="arrivalTable" x="10" y="326" width="302" height="205" requestedRowCount="4" dataProvider="{myArrivalShips}" toolTipCreate="createCustomTip(event)">
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="arrivalShipsName" headerText="Arrival Ships" ></s:GridColumn>
<s:GridColumn dataField="ETD" headerText="ETD"></s:GridColumn>
</s:ArrayList>
</s:columns>
</s:DataGrid>
<s:BorderContainer x="10" y="19" width="302" height="285">
</s:BorderContainer>
</s:BorderContainer>
My Custom Panel codes :
<s:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="300"
implements="mx.core.IToolTip" >
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
[Bindable]
public var bodyText:String = "";
// Implement required methods of the IToolTip interface; these
// methods are not used in this example, though.
public var _text:String;
public function get text():String {
return _text;
public function set text(value:String):void {
]]>
</fx:Script>
<s:RichText text="{bodyText}" percentWidth="100"/>
</s:Panel>Ok I was getting ready to post the renderer code and then found the problem. I had copied this code from another renderer which had contentBackgroundAlpha=0 in the MXAdvancedDataGridItemRenderer tag. When I removed it, the style of the TextArea worked as intended. Your comment helped me to take a closer look at the renderer code, so thank you.
-
Creating DataSources for File Source Systems in csv format in sap bw 7.0
Hi,
Please explain how to Create DataSources for File Source Systems in csv format in sap bw 7.0. WITH SCREENSHOTS
Thanks
JINI
Edited by: Jini Jayan on Jun 11, 2008 11:36 AMStep 1. Select Source systems under Modelling in the left panel. In the right panel, right-click Source systems and select Createu2026.
Step 2. Select the FileSystem, manual meta data, data using file inte option, and then click to continue.
Step 3. Enter a name and a description for the source system, and then click to create the source system.
Now create an application component
Step 1. Select InfoSources under Modelling in the left panel. In the right panel, right-click InfoSources and select Create application componentu2026.
Step 2. Enter a name and a description for the application component, and then click to continue. (BW automatically adds a prefix of "Z" to the technical names of application components, unlike the naming system used for other BW objects.If u give the name as AC_DEMO it will be saved as ZAC_DEMO in the system.
Now create infosource
Step 1.Select InfoSources under Modelling in the left panel. Right-click the newly created Application Component , and then select Create InfoSourceu2026.
Step 2. Select the option Master data/texts/hierarchies, and then click to continue.
Step 3. Enter your infoobject name, and then click to continue.
Now you will be asked
Infosource(name) assigned to Appln component(name)?
Click continue
Now go back to workbench and see the Infoobject listed under the Application component name (under Infosource)
Right click the infoobject name and select Assign Datasource
Enter the Infoobject name as Infosource name and the source system name and continue
Now you ll get datasource assignment confirmations for Infosource_ATTR and Infosource_TEXT for master data and text.
Click yes and continue
Now you ll be taken to the Infosource(master data) change screen
Source system name will be given
Below that u need to give the datasource name u2026.._ATTR
Click Activate.
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
For ex if your infoobj are IO_MATNUM and IO_MATNAME (material number and material name) copy and paste as
IO_MATNUM IO_MATNAME
MAT001 TEA
MAT002 COFFEE
MAT003 SUGAR
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_ATTR.csv
Now back to the Infosourcechange screen
Source system name will be given
Below that u need to give the datasource name u2026.._TEXT
And activate
Now Click the tab transfer rules
Copy the communication str infoobject names to an excel sheet
GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_TEXT.csv
Now create Infoobject to load data
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_ATTR
Now take care to select the first item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
In the same way
Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
Step 2. Select the DataSource Material number (text)enter a description for the InfoPackage, and then click to continue.
Give infopackage description as Infopackage:InfoObj_TEXT
Now take care to select the second item in datasource and click continue
In the next screen click external data tab
Click client workstation
Datafileu2026.file name (browse to give the file u saved in ur system)
There will be an option to remove header data from file.remove 1 row.
File typeu2014csv file
Now click schedule tabu2014start dataload immediatelyu2014start.
Click the icon below admn workbench to go to monitor and check the load
Or you go back to Infosourceu2014Appln Componentu2014InfoObju2014right clickmaintain master data
Click execute
You can see the data load
Hope this helps!!!
Maybe you are looking for
-
OS X Mavericks on Macbook pro mid 2010 15"
HI Guys, Yesterday I have install the new OSX on my macbook pro (15" mid 2010) but I have a BIG problem: Some times the macbook swith off without notice. Do you have any solutions?
-
Anyone know where I can buy the power cord for intel imac
i lost the power wire to my imac and i don't know where to buy it anyone know where can I get it and how much it costs?
-
Need Optimized Solution to insert a table with 70 columns
Hi, I need to insert almost 13 million records to a table which has 70 columns, and each column is a derived one.I have used the pl/sql tables to get all the 13 million records and process them, it takes 3 mins for 100 records. Any optimized solution
-
Still having a little trouble with template
Hi, Can anyone please take a look at the following page and tell me what's going on with my faux columns? BPI Test Site - Activities Page. Since my pages are varying heights I eliminated the "page height" command for my center content div, using the
-
Connect aiport extreme to seagate freeagent go
I am trying to connect my seagate free agent go to airport extreme to make a wireless iDisc and it is not viewable. I am running a 64bit Window 7 OS. Will this work?