This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 251372 - NoClassDefFoundError: Could not initialize class org.netbeans.modules.dlight.sendto.api.ConfigurationsRegistry
Summary: NoClassDefFoundError: Could not initialize class org.netbeans.modules.dlight....
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: D-Light (show other bugs)
Version: 8.1
Hardware: All All
: P1 normal (vote)
Assignee: ilia
URL:
Keywords:
: 251373 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-23 10:07 UTC by Jiri Skrivanek
Modified: 2015-03-25 06:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216296


Attachments
stacktrace (4.06 KB, text/plain)
2015-03-23 10:07 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2015-03-23 10:07:26 UTC
Build: NetBeans IDE Dev (Build 1)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.75-b04, Java(TM) SE Runtime Environment, 1.7.0_75-b13
OS: Windows 8

User Comments:
jskrivanek: Click tab in editor.




Stacktrace: 
java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.dlight.sendto.api.ConfigurationsRegistry
   at org.netbeans.modules.dlight.sendto.action.MenuConstructor.constructMenu(MenuConstructor.java:58)
   at org.netbeans.modules.dlight.sendto.action.MenuMetaAction.createContextAwareInstance(MenuMetaAction.java:96)
   at org.openide.util.Utilities.actionsToPopup(Utilities.java:1719)
   at org.netbeans.core.windows.view.ui.TabbedHandler.handlePopupMenuShowing(TabbedHandler.java:462)
   at org.netbeans.core.windows.view.ui.TabbedHandler.actionPerformed(TabbedHandler.java:343)
   at org.netbeans.swing.tabcontrol.TabbedContainer.postActionEvent(TabbedContainer.java:730)
Comment 1 Jiri Skrivanek 2015-03-23 10:07:28 UTC
Created attachment 152788 [details]
stacktrace
Comment 2 Jiri Skrivanek 2015-03-23 10:15:09 UTC
It started to happen in tests in latest dev builds. Please, investigate whether it can be caused by some recent changes in dlight. Thank you.
Comment 3 Jiri Skrivanek 2015-03-23 14:41:13 UTC
*** Bug 251373 has been marked as a duplicate of this bug. ***
Comment 4 Jiri Skrivanek 2015-03-23 14:55:37 UTC
It seems problem is in ConfigurationRegistry:128 where shell is null.

String value = s.substring(idx + 1).replace("\\n", "\n").replace("${SHELL}", shell); //NOI18N
Comment 5 ilia 2015-03-23 16:44:12 UTC
Fixed in
  http://hg.netbeans.org/cnd-main/rev/4ac1ac526309
Comment 6 ilia 2015-03-23 16:50:56 UTC
Additional fix
  http://hg.netbeans.org/cnd-main/rev/a83a69e2a6c0
Comment 7 Quality Engineering 2015-03-25 03:22:54 UTC
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4ac1ac526309
User: Ilia Gromov <ilia@netbeans.org>
Log: Fixed Bug #251372 - NoClassDefFoundError: Could not initialize class org.netbeans.modules.dlight.sendto.api.ConfigurationsRegistry