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 247899 - Error reported by Netbeans when implementing the ServletContextAware interface of spring (TestClass is not abstract and does not override abstract method setServletContext(ServletContext) in ServletContextAware)
Summary: Error reported by Netbeans when implementing the ServletContextAware interfac...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0.2
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-13 14:56 UTC by royteeuwen
Modified: 2015-04-13 18:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (82.82 KB, text/plain)
2014-10-13 14:56 UTC, royteeuwen
Details
Screenshot of the (wrongly reported by netbeans) error (137.68 KB, image/png)
2014-10-13 14:57 UTC, royteeuwen
Details
Class that extends WebApplicationInitializer (84.18 KB, image/png)
2015-04-13 18:00 UTC, mandrews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description royteeuwen 2014-10-13 14:56:25 UTC
Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Mac OS X version 10.10 running on x86_64
Java; VM; Vendor = 1.8.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Comment 1 royteeuwen 2014-10-13 14:56:29 UTC
Created attachment 149871 [details]
IDE log
Comment 2 royteeuwen 2014-10-13 14:57:40 UTC
Created attachment 149872 [details]
Screenshot of the (wrongly reported by netbeans) error
Comment 3 royteeuwen 2014-10-13 14:58:34 UTC
I tried this on several classes in several projects, the same error occurs in every one.
Comment 4 mandrews 2015-04-13 18:00:09 UTC
Created attachment 153167 [details]
Class that extends WebApplicationInitializer

Screenshot showing mis-reported exception in editor window.
Comment 5 mandrews 2015-04-13 18:05:15 UTC
The same thing happens when implementing org.springframework.web.WebApplicationInitializer (which is required if deploying to a Servlet spec 3+ container and using Spring without a web.xml file). See uploaded screenshot. No exception is reported when doing a build, and there is no exception at runtime.
Comment 6 mandrews 2015-04-13 18:05:40 UTC
Setting the version to 8.0.2
Comment 7 mandrews 2015-04-13 18:06:51 UTC
This does not happen when using 7.4 - so this is isolated to 8.x