Forms 10.1.2.3停止响应,Java控制台显示:不合逻辑的状态异常(Java.Lang.IllegalStateException):不能打开剪贴板_Tomcat, WebLogic及J2EE讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Tomcat, WebLogic及J2EE讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 6557 | 回复: 0   主题: Forms 10.1.2.3停止响应,Java控制台显示:不合逻辑的状态异常(Java.Lang.IllegalStateException):不能打开剪贴板        下一篇 
lxk
注册用户
等级:上尉
经验:547
发帖:109
精华:0
注册:2011-8-18
状态:离线
发送短消息息给lxk 加好友    发送短消息息给lxk 发消息
发表于: IP:您无权察看 2011-12-1 13:36:29 | [全部帖] [楼主帖] 楼主

Forms 10.1.2.3 Stops Responding, Java Console shows: Java.Lang.IllegalStateException: Cannot Open Clipboard
Applies to:
Oracle Forms - Version: 10.1.2.3.0 and later [Release: 10.1.2.3 and later ]
Information in this document applies to any platform.
Checked for relevance on 14-Jan-2011
Symptoms
Forms 10.1.2.3 can sometimes stop responding after user attempts to make use of the clipboard.
Example : Upon trying to paste when another application is also making use of the clipboard.
The behavior, once the issue has occurred, is that the menu can still be accessed and sub-menus apparently launched, but then nothing occurs. User must forcefully close the browser and relaunch the application to be able to continue to work.
When the issue occurs, the following error stack can be seen in the java console:
If using Jinitiator:
Exception occurred during event dispatching:java.lang.IllegalStateException:
cannot open system clipboard at
sun.awt.windows.WClipboard.openClipboard(Native Method) at
sun.awt.windows.FullyRenderedTransferable.(Unknown Source) at
sun.awt.windows.WClipboard.getContents(Unknown Source) at
oracle.ewt.lwAWT.lwText.LWTextComponent._pasteImpl(Unknown Source) at
oracle.ewt.lwAWT.lwText.LWTextComponent.paste(Unknown Source)
../..
If using Sun plug-in:
Exception in thread "AWT-EventQueue-3"
java.lang.IllegalStateException: cannot open system clipboard
at sun.awt.windows.WClipboard.openClipboard(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.(Unknown Source)
at sun.awt.datatransfer.SunClipboard.getContents(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent._pasteImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.paste(Unknown Source)
../..
This is the same error stack that occurred for another issue involving use of the clipboard, where Forms would crash with FRM-92100 and that has been fixed in 10.1.2.2 as mentioned in Note 301618.1 FRM-92100 with Java.Lang.IllegalStateException:Cannot Open System Clipboard
Now in 10.1.2.3 the crash no longer occurs but on some occasions Forms can hang with the same error: java.lang.IllegalStateException: cannot open system clipboard
Changes
Increased usage of the clipboard
Cause
This issue is caused by:
Bug:7833659 APPLET ZOMBIED;JAVA.LANG.ILLEGALSTATEEXCEPTION: CANNOT OPEN SYSTEM CLIPBOARD
that is fixed along with other bug fixes included in the Forms Bundle Patch:9593176.
It was caused by improper handling in Forms of an exception that may occur when trying to paste clipboard contents while the clipboard happens not to be available at that moment.
Solution
Apply the Forms Bundle Patch:9593176 on top of your 10.1.2.3 Forms Oracle Home, following carefully the read me as usual.
More information on the Forms Bundle Patch can be found in the FAQ:
Document 1188127.1 Oracle Forms 10.1.2.3 Bundle Patch Frequently Asked Questions (FAQ)
Errors
FRM-92100


Forms 10.1.2.3停止响应,Java控制台显示:不合逻辑的状态异常(Java.Lang.IllegalStateException):不能打开剪贴板

应用于:

Oracle Forms – 版本:10.1.2.3.0及以后版本[发行:10.1.2.3及以后版本]

这篇文档的所有信息使用于任何平台

上次检查时间2011–01-14

现象

Forms 10.1.2.3有时会在用户试图使用剪贴板时出现停止响应现象。

例如:使用剪贴板时另外一个程序也在使用剪贴板。

出现这种行为,导致问题的发生,菜单始终出现并会调用它的子菜单但是没有起到任何作用。用户必须强制关闭浏览器并重新启动应用程序才能使工作继续进行。

当问题出现时,会在java的控制台上看到下面的错误信息

使用Jinitiator

Exception occurred during event dispatching:java.lang.IllegalStateException:
cannot open system clipboard at
sun.awt.windows.WClipboard.openClipboard(Native Method) at
sun.awt.windows.FullyRenderedTransferable.(Unknown Source) at
sun.awt.windows.WClipboard.getContents(Unknown Source) at
oracle.ewt.lwAWT.lwText.LWTextComponent._pasteImpl(Unknown Source) at
oracle.ewt.lwAWT.lwText.LWTextComponent.paste(Unknown Source)
../..


使用Sun的插件

Exception in thread "AWT-EventQueue-3"
java.lang.IllegalStateException: cannot open system clipboard
at sun.awt.windows.WClipboard.openClipboard(Native Method)
at sun.awt.datatransfer.ClipboardTransferable.(Unknown Source)
at sun.awt.datatransfer.SunClipboard.getContents(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent._pasteImpl(Unknown Source)
at oracle.ewt.lwAWT.lwText.LWTextComponent.paste(Unknown Source)
../..


在另外一个使用剪贴板的问题中也出现了同样的错误,这个问题在10.1.2.2的Note 301618.1 FRM-92100中有提到关于不合逻辑的状态异常之不能打开剪贴板(Java.Lang.IllegalStateException:Cannot Open System Clipboard)

在10.1.2.3版本中这种问题不再出现但在一些情况下会出现同样的错误:java.lang.IllegalStateException: cannot open system clipboard

改变的地方

增加了剪贴板的使用

原因

这个问题是由下面的原因引起的:

Bug:7833659 APPLET ZOMBIED;JAVA.LANG.ILLEGALSTATEEXCEPTION: CANNOT OPEN SYSTEM CLIPBOARD


这个漏洞在补丁Patch:9593176中得到了解决。这是由于不正确的操作引起的,当向剪贴板目录上粘贴时,剪贴板在这时恰好不可用可能会发生异常。

解决方法

打上Forms的补丁Patch:9593176

安装readme中说的步骤来做

更多的信息可以在FAQ中找到

文件 1188127.1 Oracle Forms 10.1.2.3补丁常见问题 (FAQ)

错误

FRM-92100




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论