• AVR Freaks

Hot![SOLVED] Harmony configurator doesn't start after update (NULLPOINTER EXCEPTION)

Author
Jesse@Blue
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2018/03/28 07:08:55
  • Location: Netherlands
  • Status: offline
2020/03/18 01:55:38 (permalink)
0

[SOLVED] Harmony configurator doesn't start after update (NULLPOINTER EXCEPTION)

Hello,
 
To start, some details:
-using MPLAB X v5.35
-Harmony 3 v3.4.2 (after the breaking-update)
Yesterday I got a pop-up in Mplab X that a new update for harmony was available.
I updated it and now it doesn't start anymore.
 
Following this bug I tried to find the cause of the problem.
In the notifications window in MPlabX I get the following error:
"Unexpected exception", with the following error message:
java.lang.NullPointerException
 at com.microchip.mh3.dialog.ErrorDialog.(ErrorDialog.java:17)
 at com.microchip.mh3.mplx_launcher.core.CoreIDE$1.taskFailed(CoreIDE.java:120)
 at com.microchip.utils.task.TaskManager.update(TaskManager.java:126)
 at com.microchip.utils.task.TaskManager.access$000(TaskManager.java:9)
 at com.microchip.utils.task.TaskManager$1.run(TaskManager.java:198)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
 at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
 at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
 at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
 at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
 at java.awt.Dialog.show(Dialog.java:1084)
 at java.awt.Component.show(Component.java:1671)
 at java.awt.Component.setVisible(Component.java:1623)
 at java.awt.Window.setVisible(Window.java:1014)
 at java.awt.Dialog.setVisible(Dialog.java:1005)
 at com.microchip.mh3.mplx_launcher.core.CoreIDE.startup(CoreIDE.java:693)
 at com.microchip.mh3.mplx_launcher.Launcher.launch(Launcher.java:46)
 at com.microchip.mplab.modules.mh3.MHCLauncher.Launch(MHCLauncher.java:217)
 at com.microchip.mplab.modules.mh3.MHCLauncher.PreLaunch(MHCLauncher.java:128)
 at com.microchip.mplab.modules.mh3.MH3OpenActionPerformed.actionPerformed(MH3OpenActionPerformed.java:23)
 at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:199)
 at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:95)
 at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:116)
 at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:99)
 at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:202)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
 at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
 at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
 at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
 at java.awt.Component.processMouseEvent(Component.java:6539)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
 at java.awt.Component.processEvent(Component.java:6304)
 at java.awt.Container.processEvent(Container.java:2239)
 at java.awt.Component.dispatchEventImpl(Component.java:4889)
 at java.awt.Container.dispatchEventImpl(Container.java:2297)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
 at java.awt.Container.dispatchEventImpl(Container.java:2283)
 at java.awt.Window.dispatchEventImpl(Window.java:2746)
 at java.awt.Component.dispatchEvent(Component.java:4711)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
 at java.awt.EventQueue.access$500(EventQueue.java:97)
 at java.awt.EventQueue$3.run(EventQueue.java:709)
 at java.awt.EventQueue$3.run(EventQueue.java:703)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
 at java.awt.EventQueue$4.run(EventQueue.java:733)
 at java.awt.EventQueue$4.run(EventQueue.java:731)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
 at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

 
I tried the following fixes:
-Tried MPlabX Versions 5.35 and 5.30
-Re-installed both MPlabX versions
-Re-installed Harmony
-Deleted harmony folder and downloaded only the neccesary packages using the content manager
-Created new harmony project and tried to start from there.
-Tried all different MHC versions from v3.3.5 down to 3.1.0
 
I ALWAYS get the same error. 
 
If someone could help me out here, it would be 
post edited by Jesse@Blue - 2020/03/18 03:55:06
#1
optimus_jack
Senior Member
  • Total Posts : 107
  • Reward points : 0
  • Joined: 2017/02/16 03:02:47
  • Location: 0
  • Status: offline
Re: Harmony configurator doesn't start after update (NULLPOINTER EXCEPTION) 2020/03/18 02:07:33 (permalink)
0
Hi,
 i have been using H3 with below versions and it seems to work fine. Make sure you select different path not default while downloading the repositories from content manager.
csp: 3.6.1
core : 3.6.1
mhc: 3.3.5
dev_packs:3.6.1
#2
Jesse@Blue
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2018/03/28 07:08:55
  • Location: Netherlands
  • Status: offline
Re: Harmony configurator doesn't start after update (NULLPOINTER EXCEPTION) 2020/03/18 02:35:37 (permalink)
0
optimus_jack
Hi,
 i have been using H3 with below versions and it seems to work fine. Make sure you select different path not default while downloading the repositories from content manager.
csp: 3.6.1
core : 3.6.1
mhc: 3.3.5
dev_packs:3.6.1


Hi Jack,
 
I am not using the default content path. I tried different locations (including default ofcourse) but that doesn't make a difference.
Right now i use the following path: C:/Harmony/
 
#3
Jesse@Blue
New Member
  • Total Posts : 8
  • Reward points : 0
  • Joined: 2018/03/28 07:08:55
  • Location: Netherlands
  • Status: offline
Re: Harmony configurator doesn't start after update (NULLPOINTER EXCEPTION) 2020/03/18 03:54:37 (permalink)
5 (1)
Hello everyone who reads this,
 
I solved the problem. It seems there was something wrong with my project which MPLAB X couldn't load at some point. I created a new project and now everything works fine.
#4
Kathir Kernel
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2017/01/18 03:49:50
  • Location: 0
  • Status: offline
Re: Harmony configurator doesn't start after update (NULLPOINTER EXCEPTION) 2020/03/18 06:02:16 (permalink)
0
Jesse@Blue
Hello everyone who reads this,
 
I solved the problem. It seems there was something wrong with my project which MPLAB X couldn't load at some point. I created a new project and now everything works fine.




Can you use problematic project now?
 
Please share your problematic project folder structure.
 
#5
Jump to:
© 2020 APG vNext Commercial Version 4.5