开发者

How to solve an Error with no message in Oracle Adf?

I'm receiving an Error with no message on a button click event in Oracle Adf. It's just showing 'Error' and a '-' symbol in the next line. There's not开发者_高级运维hing much showing in console also. How to fix this?


Do you invoke a method on that button , or you have some action listener attached to it? - If you are invoking a method which throws an exception without a message you'll get "Error - " message. If you have such method, try to surround it with try/catch block and make sure you print the stack trace in corresponding catch block. -If you have button which is directly bound to a method in a page definition, try to use option (on right click) which converts an action listener to a action which calls a new method in backing bean - If you have third case, than I suppose we'll need more details about your button and its properties :)

Regards

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜