的ExceptionInInitializerError,如何找出错误位置 [英] ExceptionInInitializerError, how to pinpoint error location

查看:1138
本文介绍了的ExceptionInInitializerError,如何找出错误位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

香港专业教育学院被赋予了的ExceptionInInitializerError 。我一直告诉 getException()方法,现在被称为原因,可以通过访问的 Throwable.getCause()方法,以及前面提到的遗留方法。呼叫的getCause()
我如何应用这些方法我的code查找错误?举例来说,我只是把它在我的课的开始?与尝试捕捉环绕?有一个例子,我可以看到?谢谢,

编辑:好这里是整个错误日志:

<$p$p><$c$c>CacheEntry[file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar]: updateAvailable =假,上次更改时间=星期六3月22日11时39分02秒PDT 2014年,长度= 225068
0
CacheEntry[file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar]: updateAvailable =假,上次更改时间=星期六3月22日11时39分02秒PDT 2014年,长度= 225068
跟踪级别设置为5:所有... completed.ui:推进方式为小程序ID 14对话sun.plugin.util.PluginSysUtil$DummyDialog[dialog0,-100,-100,132x38,layout=java.awt.BorderLayout,APPLICATION_MODAL,title=,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,126x10,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,$p$pferredSize=],rootPaneCheckingEnabled=true]
基本的:对话类型不嵌入候选人
用户界面:推进方式为小程序ID 14对话javax.swing.JDialog[dialog1,425,258,516x190,layout=java.awt.BorderLayout,TOOLKIT_MODAL,title=Application Error,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,510x162,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,$p$pferredSize=],rootPaneCheckingEnabled=true]
基本:PluginMain.unregisterApplet:从mananger 14 sun.plugin2.applet.Applet2Manager@1d9024f
preloader:构建preloader代表
preloader:设置默认preloader和进度监控非applet的JNLP
基本的:增加了进度监听器:sun.plugin.util.ProgressMonitorAdapter@124f232
preloader:安装进度监视器真
基本:Plugin2ClassLoader.addURL呼吁家长file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
网络:高速缓存条目中找到[网址: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar,版本:空] prevalidated = FALSE / 0
缓存:添加的MemoryCache条目: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
缓存:资源file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar已过期。
网络:响应code代表file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar :200
网络:编码file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar : 空值
CacheEntry[file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar]: updateAvailable =假,上次更改时间=星期六3月22日11时39分02秒PDT 2014年,长度= 225068
缓存:从5读取签名者file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar | C:\\用户\\ Camtronius \\应用程序数据\\ LocalLow \\太阳\\的Java \\部署\\缓存\\ 6.0 \\ 50 \\ 7023cb32-6e9bc9fb.idx
网络:没有找到未签名的JAR文件证书的信息: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
缓存:已完成readSigners(file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar)
缓存:阅读舱单file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar:读= 194 =满194
preloader:使用preloader类:空com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@d4ba66
preloader:使用默认preloader
preloader:要求使用preloader类:空
规则集:非JNLP规则ID:
        标题:sonomaroller / SonomaRoller
        位置:文件:/ C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        罐子的位置: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
        罐子版本:空
        isArtifact:真
规则集:找到部署规则集的
        标题:sonomaroller / SonomaRoller
        位置:文件:/ C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        罐子的位置: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
        罐子版本:空
        isArtifact:真
规则集:没有规则适用,返回默认规则
网络:创建版本ID:1.7.0.51
网络:创建版本ID:1.7.0.51
网络:创建版本ID:1.7.0.51
网络:创建版本ID:1.7.0.51
规则集:非JNLP规则ID:
        标题:sonomaroller / SonomaRoller
        位置:文件:/ C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        JAR位置:文件:/ C:/用户/ Camtronius /文件/的NetBeansProjects / SonomaRoller /编译/班/
        罐子版本:空
        isArtifact:真
规则集:找到部署规则集的
        标题:sonomaroller / SonomaRoller
        位置:文件:/ C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        JAR位置:文件:/ C:/用户/ Camtronius /文件/的NetBeansProjects / SonomaRoller /编译/班/
        罐子版本:空
        isArtifact:真
规则集:没有规则适用,返回默认规则
安全性:SSV验证:
    运行:1.7.0_51
    要求:空
    范围:空
    javaVersionParam:空
    规则集的版本:空
网络:创建版本ID:1.7.0.51
网络:创建版本ID:1.7.0.51
安全:继续运行版本
网络:创建版本ID:1.7.0.51
网络:创建版本ID:1.7
网络:创建版本ID:51年2月​​2日
安全性:--- parseCommandLine转换:
成:
[]
preloader:增加了待处理事件1:AppletInitEvent [类型= CallConstructor]
preloader:提供:AppletInitEvent [类型= CallConstructor]
preloader:跳过所有(0)下载事件为null之前
preloader:开始progressCheck螺纹
preloader:灰盒:父= sun.plugin2.main.client.PluginEmbeddedFrame[frame2,0,0,550x550,layout=java.awt.BorderLayout,title=,resizable,normal]
基本的:异常:java.lang.reflect.InvocationTargetException。
了java.lang.RuntimeException:java.lang.reflect.InvocationTargetException
    在com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.runOnEDTAndWait(来源不明)
    在com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.instantiateApplet(来源不明)
    在sun.plugin2.applet.Plugin2Manager.initAppletAdapter(来源不明)
    在sun.plugin2.applet.Plugin2Manager $ AppletExecutionRunnable.run(来源不明)
    在java.lang.Thread.run(来源不明)
java.lang.reflect.InvocationTargetException:产生的原因
    在com.sun.deploy.uitoolkit.impl.awt.OldPluginAWTUtil.invokeAndWait(来源不明)
    ... 5个
java.security.AccessControlException:引起访问被拒绝(java.lang.RuntimePermissionexitVM.0)
    在java.security.AccessControlContext.checkPermission(来源不明)
    在java.security.AccessController.checkPermission(来源不明)
    在java.lang.SecurityManager.checkPermission(来源不明)
    在sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(来源不明)
    在java.lang.SecurityManager.checkExit(来源不明)
    在javax.swing.JFrame.setDefaultCloseOperation(来源不明)
    在sonomaroller.SonomaRoller&LT;&初始化GT;(SonomaRoller.java:19)
    在sun.reflect.NativeConstructorAccessorImpl.newInstance0(本机方法)
    在sun.reflect.NativeConstructorAccessorImpl.newInstance(来源不明)
    在sun.reflect.DelegatingConstructorAccessorImpl.newInstance(来源不明)
    在java.lang.reflect.Constructor.newInstance(来源不明)
    在java.lang.Class.newInstance(来源不明)
    在com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter $ 1.run(来源不明)
    在java.awt.event.InvocationEvent.dispatch(来源不明)
    在java.awt.EventQueue.dispatchEventImpl(来源不明)
    在java.awt.EventQueue.access $ 200(来源不明)
    在java.awt.EventQueue中的$ 3.run(来源不明)
    在java.awt.EventQueue中的$ 3.run(来源不明)
    在java.security.AccessController.doPrivileged(本机方法)
    在java.security.ProtectionDomain $ 1.doIntersectionPrivilege(​​来源不明)
    在java.security.ProtectionDomain $ 1.doIntersectionPrivilege(​​来源不明)
    在java.awt.EventQueue中的$ 4.run(来源不明)
    在java.awt.EventQueue中的$ 4.run(来源不明)
    在java.security.AccessController.doPrivileged(本机方法)
    在java.security.ProtectionDomain $ 1.doIntersectionPrivilege(​​来源不明)
    在java.awt.EventQueue.dispatchEvent(来源不明)
    在java.awt.EventDispatchThread.pumpOneEventForFilters(来源不明)
    在java.awt.EventDispatchThread.pumpEventsForFilter(来源不明)
    在java.awt.EventDispatchThread.pumpEventsForHierarchy(来源不明)
    在java.awt.EventDispatchThread.pumpEvents(来源不明)
    在java.awt.EventDispatchThread.pumpEvents(来源不明)
    在java.awt.EventDispatchThread.run(来源不明)
preloader:提供:的ErrorEvent [URL =文件:/ C:/用户/ Camtronius /文件/的NetBeansProjects / SonomaRoller /编译/班/标签= java.lang.reflect.InvocationTargetException原因= java.lang.reflect.InvocationTargetException
基本:删除进度监听器:sun.plugin.util.ProgressMonitorAdapter@124f232
preloader:以后的ErrorEvent preloader关闭
preloader:停止progressCheck螺纹
用户界面:显示默认的错误面板
安全性:重置否认会话证书库
基本:PluginMain.unregisterApplet:15从mananger sun.plugin2.applet.Applet2Manager@18f9ba9


解决方案

 产生的原因:java.security.AccessControlException:拒绝访问
    (java.lang.RuntimePermissionexitVM.0)

这是异常的根的事业。为看到了,在一个applet的最常见的原因是小应用程序创建一个的JFrame 和调用:

  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

这应与 DISPOSE_ON_CLOSE 调用。如果当帧被关闭在JVM退出,它将结束在JVM运行小应用程序,以及那些在相同的虚拟机中运行的任何其它小程序

提示

为什么code的小程序?如果是由于天赋。由教师,请他们参考<一个href=\"http://programmers.blogoverflow.com/2013/05/why-cs-teachers-should-stop-teaching-java-applets/\"相对=nofollow>为什么CS教师应停止教学Java小程序。

基本上,小程序一直难以发展,以及最近成为了很多困难。有人用你的经验不足显而易见的(例如无法理解的堆栈跟踪)应该避免小程序,直到你在最不发达国家的若干个的桌面应用程序。

Ive been given the ExceptionInInitializerError. Ive been told the "getException() method is now known as the cause, and may be accessed via the Throwable.getCause() method, as well as the aforementioned "legacy method."" Call getCause()" How do I apply these methods to my code to find the error? For instance, do I just put it at the beginning of my classes? Surround with a try catch? Is there an example I could see? Thanks,

EDIT: okay here is the entire error log:

CacheEntry[file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar]: updateAvailable=false,lastModified=Sat Mar 22 11:39:02 PDT 2014,length=225068
0
CacheEntry[file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar]: updateAvailable=false,lastModified=Sat Mar 22 11:39:02 PDT 2014,length=225068
Trace level set to 5: all ... completed.ui: Pushing modality for applet ID 14 with dialog sun.plugin.util.PluginSysUtil$DummyDialog[dialog0,-100,-100,132x38,layout=java.awt.BorderLayout,APPLICATION_MODAL,title=,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,126x10,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
basic: Dialog type is not candidate for embedding
ui: Pushing modality for applet ID 14 with dialog javax.swing.JDialog[dialog1,425,258,516x190,layout=java.awt.BorderLayout,TOOLKIT_MODAL,title=Application Error,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,3,25,510x162,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]
basic: PluginMain.unregisterApplet: 14 from mananger sun.plugin2.applet.Applet2Manager@1d9024f
preloader: Construct preloader delegate
preloader: Setting default preloader and progress monitor for non JNLP applets
basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@124f232
preloader: Installing progress monitor true
basic: Plugin2ClassLoader.addURL parent called for file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
network: Cache entry found [url: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar, version: null] prevalidated=false/0
cache: Adding MemoryCache entry: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
cache: Resource file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar has expired.
network: ResponseCode for file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar : 200
network: Encoding for file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar : null
CacheEntry[file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar]: updateAvailable=false,lastModified=Sat Mar 22 11:39:02 PDT 2014,length=225068
cache: Reading Signers from 5 file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar | C:\Users\Camtronius\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\50\7023cb32-6e9bc9fb.idx
network: No certificate info for unsigned JAR file: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
cache: Done readSigners(file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar)
cache:  Read manifest for file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar: read=194 full=194
preloader: Using preloader class: null com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter@d4ba66
preloader: Using default preloader
preloader: Requested to use preloader class: null
ruleset: Non-jnlp rule id: 
        title: sonomaroller/SonomaRoller
        location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        jar location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
        jar version: null
        isArtifact: true
ruleset: finding Deployment Rule Set for 
        title: sonomaroller/SonomaRoller
        location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        jar location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/sonomaroller/SonomaRoller.jar
        jar version: null
        isArtifact: true
ruleset: no rule applies, returning Default Rule
network: Created version ID: 1.7.0.51
network: Created version ID: 1.7.0.51
network: Created version ID: 1.7.0.51
network: Created version ID: 1.7.0.51
ruleset: Non-jnlp rule id: 
        title: sonomaroller/SonomaRoller
        location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        jar location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/
        jar version: null
        isArtifact: true
ruleset: finding Deployment Rule Set for 
        title: sonomaroller/SonomaRoller
        location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/AppletTest.html
        jar location: file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/
        jar version: null
        isArtifact: true
ruleset: no rule applies, returning Default Rule
security: SSV validation:
    running: 1.7.0_51
    requested: null
    range: null
    javaVersionParam: null
    Rule Set version: null
network: Created version ID: 1.7.0.51
network: Created version ID: 1.7.0.51
security: continue with running version
network: Created version ID: 1.7.0.51
network: Created version ID: 1.7
network: Created version ID: 2.2.51
security:  --- parseCommandLine converted : 
into:
[]
preloader: Added pending event 1: AppletInitEvent[type=CallConstructor]
preloader: Delivering: AppletInitEvent[type=CallConstructor]
preloader: Skipped all (0) download events prior to null
preloader: Start progressCheck thread
preloader: GrayBox: parent = sun.plugin2.main.client.PluginEmbeddedFrame[frame2,0,0,550x550,layout=java.awt.BorderLayout,title=,resizable,normal]
basic: exception: java.lang.reflect.InvocationTargetException.
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.runOnEDTAndWait(Unknown Source)
    at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.instantiateApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
    at com.sun.deploy.uitoolkit.impl.awt.OldPluginAWTUtil.invokeAndWait(Unknown Source)
    ... 5 more
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "exitVM.0")
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkExit(Unknown Source)
    at javax.swing.JFrame.setDefaultCloseOperation(Unknown Source)
    at sonomaroller.SonomaRoller.<init>(SonomaRoller.java:19)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$200(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.awt.EventQueue$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.awt.EventQueue$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
preloader: Delivering: ErrorEvent[url=file:/C:/Users/Camtronius/Documents/NetBeansProjects/SonomaRoller/build/classes/ label=java.lang.reflect.InvocationTargetException cause=java.lang.reflect.InvocationTargetException
basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@124f232
preloader: Preloader shutdown after ErrorEvent
preloader: Stop progressCheck thread
ui: Show default error panel
security: Reset deny session certificate store
basic: PluginMain.unregisterApplet: 15 from mananger sun.plugin2.applet.Applet2Manager@18f9ba9

解决方案

Caused by: java.security.AccessControlException: access denied 
    ("java.lang.RuntimePermission" "exitVM.0")

This is the root cause of the exception. The most common reason for seeing that in an applet is that the applet creates a JFrame and calls:

frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

This should be called with DISPOSE_ON_CLOSE. If the JVM is exited when the frame is closed, it will end the JVM running the applet, as well as any other applets that are running in the same VM.

Tip

Why code an applet? If it is due to spec. by teacher, please refer them to Why CS teachers should stop teaching Java applets.

Basically, applets have always been difficult to develop, and recently became a lot harder. Someone with your apparent inexperience (e.g. having trouble understanding the stack trace) should avoid applets until you have developed at least several desktop applications.

这篇关于的ExceptionInInitializerError,如何找出错误位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆