Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with resolving a Matlab error

Status
Not open for further replies.

ulderico

Full Member level 2
Full Member level 2
Joined
Dec 15, 2001
Messages
132
Helped
4
Reputation
8
Reaction score
2
Trophy points
1,298
Location
Italy
Activity points
598
matlab error

When I use matlab I have this error

Exception occurred during event dispatching:
java.lang.NullPointerException
at com.mathworks.ide.cmdline.CommandHistory$HistoryList.getCommentColorPref(CommandHistory.java:2101)
at com.mathworks.ide.cmdline.CommandHistory$HistoryList.<init>(CommandHistory.java:2087)
at com.mathworks.ide.cmdline.CommandHistory.<init>(CommandHistory.java:1488)
at com.mathworks.ide.cmdline.CommandHistory.addLine(CommandHistory.java:1135)
at com.mathworks.ide.cmdline.MatlabCommandWidget.sendCommand(MatlabCommandWidget.java:3533)
at com.mathworks.ide.cmdline.MatlabCommandWidget.doEnterKey(MatlabCommandWidget.java:4643)
at com.mathworks.ide.cmdline.MatlabCommandWidget.access$29(MatlabCommandWidget.java:4630)
at com.mathworks.ide.cmdline.MatlabCommandWidget$KeyEventHandler.doEmacsKeys(MatlabCommandWidget.java:4817)
at com.mathworks.ide.cmdline.MatlabCommandWidget$KeyEventHandler.keyPressed(MatlabCommandWidget.java:4784)
at java.awt.AWTEventMulticaster.keyPressed(Unknown Source)
at java.awt.AWTEventMulticaster.keyPressed(Unknown Source)
at java.awt.AWTEventMulticaster.keyPressed(Unknown Source)
at java.awt.Component.processKeyEvent(Unknown Source)
at com.mathworks.mwt.MWComponent.processKeyEvent(MWComponent.java:548)
at com.mathworks.mwt.text.MWTextView$TextCanvas.processKeyEvent(MWTextView.java:6810)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.processKeyEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(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.run(Unknown Source)
What is the solution?
 

Re: matlab error

what is the version Matlab??? is release 12 (version 6.0) or 13(version 6.5)? pentium IV? windows XP? version java??
I had this problem whith XP-Pentium IV-Matlab6.0
this is your case?
 

Re: matlab error

atlon 2400+ and xp.
The version is 13 (6.5)
 

Re: matlab error

Solution tested for XP-Matlab6.0-Pentium IV:
select text and copy to clipboard before to run Matlab.
I'm running a program for this process.

Test for atlon 2400+ and xp???
to run???
 

matlab error

You may have problem with Microsoft Java Virtual Machine. I have seen somewhere about this issue, but I forget the exactly solution.
 

Re: matlab error

The mathwork's solution don't work only with java virtual machine correctly installed, (SDK 1.3.1_08 and environment variable MATLAB_JAVA and value C:\jdk1.3.1_08\jre)
you should too select a text and copy clipboard before to run matlab.

This solution to run on XP-Matlab 6.0-pentium IV.

Test for atlon 2400+ and xp???
 

Re: matlab error

I have installed Service pack 1 and the problem is stopped
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top