GUI启动时template不能load的问题如何解决
是R2007a版.输入guide后,出现的界面说template不能load,command window如下看不懂,请指点一下...非常感谢
>> guide
File D:\Program Files\MATLAB\R2007a\toolbox\matlab\guide\templateinfo.xml cou
ld not be parsed successfully.
java.net.MalformedURLException: unknown protocol: d
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java
:740)
at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityMana
ger.java:685)
at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentS
cannerImpl.java:252)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParse
rConfiguration.java:503)
at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParse
rConfiguration.java:585)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)
at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:221)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java
:201)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at com.mathworks.toolbox.matlab.guide.template.TemplateParser.xmlParse(Templ
ateParser.java:108)
at com.mathworks.toolbox.matlab.guide.template.TemplateParser.parseTemplateI
nfo(TemplateParser.java:56)
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel.parseTemplate
(QuickStartPanel.java:380)
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel.populateDialo
g(QuickStartPanel.java:217)
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel.doInit(QuickS
tartPanel.java:137)
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel.<init>(QuickS
tartPanel.java:107)
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel.<init>(QuickS
tartPanel.java:37)
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel$1.runWithOutp
ut(QuickStartPanel.java:115)
at com.mathworks.jmi.AWTUtilities$Invoker$1.run(AWTUtilities.java:103)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
??? Java exception occurred:
java.lang.NullPointerException
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel.onShow(QuickS
tartPanel.java:169)
Error in ==> guidetemplate at 49
quickstartpanel.onShow(numout == 0);
Error in ==> D:\Program Files\MATLAB\R2007a\toolbox\matlab\guide\guide.p>guid
e at 68
guidetemplate;
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.toolbox.matlab.guide.template.QuickStartPanel$2.run(QuickSt
artPanel.java:164)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(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)
>>
[ 本帖最后由 eight 于 2008-3-31 19:54 编辑 ]
回复 楼主 的帖子
是不是安装的时候就有问题 不知道啊,最近才第一次用 原帖由 terrace 于 2008-3-31 08:06 发表 http://www.chinavib.com/forum/images/common/back.gif是R2007a版.输入guide后,出现的界面说template不能load,command window如下
看不懂,请指点一下...非常感谢
>> guide
File D:\Program Files\MATLAB\R2007a\toolbox\matlab\guide\templateinfo.xml cou
ld n ... 上 mathwork 官网搜索一下,看看什么原因吧
页:
[1]