limesdr matlab,解决macOS High Sierra(10.13.6)运行MATLAB R2014a出现NullPointerExpetion的问题

Description

When running MATLAB on Mac OS X version 10.10 Yosemite, the following Java exception is reported:

java.lang.NullPointerException

at com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.anyText(WindowsWidgetFactory.java:187)

at com.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.getIcon(WindowsWidgetFactory.java:195)

at com.apple.laf.AquaButtonUI.setThemeBorder(AquaButtonUI.java:113)

at com.apple.laf.AquaButtonUI.installDefaults(AquaButtonUI.java:80)

at javax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:88)

at javax.swing.JComponent.setUI(JComponent.java:664)

at javax.swing.AbstractButton.setUI(AbstractButton.java:1807)

at javax.swing.JButton.updateUI(JButton.java:146)

at javax.swing.AbstractButton.init(AbstractButton.java:2172)

at javax.swing.JButton.(JButton.java:136)

. . .

1

2

3

4

5

6

7

8

9

10

11

12

java.lang.NullPointerException

atcom.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.anyText(WindowsWidgetFactory.java:187)

atcom.mathworks.widgets.WindowsWidgetFactory$SearchAndClearButton.getIcon(WindowsWidgetFactory.java:195)

atcom.apple.laf.AquaButtonUI.setThemeBorder(AquaButtonUI.java:113)

atcom.apple.laf.AquaButtonUI.installDefaults(AquaButtonUI.java:80)

atjavax.swing.plaf.basic.BasicButtonUI.installUI(BasicButtonUI.java:88)

atjavax.swing.JComponent.setUI(JComponent.java:664)

atjavax.swing.AbstractButton.setUI(AbstractButton.java:1807)

atjavax.swing.JButton.updateUI(JButton.java:146)

atjavax.swing.AbstractButton.init(AbstractButton.java:2172)

atjavax.swing.JButton.(JButton.java:136)

...

Following this, MATLAB may exit abruptly.

Fix

This bug was fixed as of R2014b.

If you have a current subscription to MathWorks Software Maintenance Service (SMS), you can download product updates. If not, learn more about MathWorks SMS.

Workaround

Note: If you cannot launch MATLAB at all, please see Bug Report 1116607, "Cannot launch MATLAB 14a or earlier on OS X 10.10 Yosemite".

For MATLAB R2012a through R2014a only.

To install this patch, you need the name and password of an account with Administrator privileges.

Download the appropriate patch file for the version of MATLAB you wish to patch.

Look for the file in your Downloads folder, the Desktop, or wherever your Web browser saves downloaded files.

If your Web browser did not unzip the patch file for you, double-click the file in the Finder to unzip it.

Double-click the .dmg file to mount the disk image.

At the top level of the mounted disk image is an application such as R2014a_patch_1098655.app. Double-click to launch it.

Select your MATLAB installation. Select the root folder of the install, for example, MATLAB_R2014a.app.

Enter the name and password of an account with Administrator privileges.

New Java class files will be installed in the java/patch/com/mathworks/widgets folder of your MATLAB installation.

When the upgrade is complete, you can launch MATLAB.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值