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 253855 - IllegalStateException: The service org.netbeans.modules.web.debug.breakpoints.JspBreakpointActionsProvider not found.
Summary: IllegalStateException: The service org.netbeans.modules.web.debug.breakpoints...
Status: RESOLVED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-27 11:47 UTC by Jan Stola
Modified: 2015-07-28 14:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218786


Attachments
stacktrace (1.67 KB, text/plain)
2015-07-27 11:48 UTC, Jan Stola
Details
Corrupted org-netbeans-modules-web-debug.jar (31.21 KB, application/octet-stream)
2015-07-28 14:30 UTC, Jan Stola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Stola 2015-07-27 11:47:59 UTC
This issue was reported manually by jstola.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20150727-22ed50786d94)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15
OS: Windows 7

User Comments:
jstola: Steps to reproduce:
1. Start NetBeans IDE.
2. Open some HTML5 project.
3. Run the project in Chrome with NetBeans Connector.




Stacktrace: 
java.lang.IllegalStateException: The service org.netbeans.modules.web.debug.breakpoints.JspBreakpointActionsProvider not found.
   at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList.checkClassName(Lookup.java:948)
   at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList.fillClassInstance(Lookup.java:792)
   at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList.fillInstances(Lookup.java:739)
   at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList.<init>(Lookup.java:726)
   at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList.<init>(Lookup.java:719)
   at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList.<init>(Lookup.java:714)
Comment 1 Jan Stola 2015-07-27 11:48:01 UTC
Created attachment 154949 [details]
stacktrace
Comment 2 Jan Stola 2015-07-27 11:51:40 UTC
Note that this issue has been marked as duplicate of issue 228973 originally. I have reported it as a separate issue because the issue 228973 mentions some classes that are not part of standard NetBeans distribution but these issues may be related.
Comment 3 Jan Stola 2015-07-28 14:28:26 UTC
I tried to investigate what is causing this exception and I have found that org.netbeans.modules.web.debug.jar in my build does not contain any classes. It contains the registration of the services in META-INF directory though. This explains the exception.

Unfortunately, it is not clear how such strange JAR was created. It seems to be some race condition in the build system. When I tried to do a clean build the build failed with the message "Error starting modern compiler". The failure happened during the build of web.debug module. So, this failure can be related somehow. On the other hand, a problem (with the compiler) like this happened many times to me and I never experienced issues like this one (I always finished the build by restarting the ant build-nozip script).

Anyway, I am closing this issue as non-reproducible.
Comment 4 Jan Stola 2015-07-28 14:30:12 UTC
Created attachment 154977 [details]
Corrupted org-netbeans-modules-web-debug.jar