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 208606

Summary: Error in JSP page
Product: javaee Reporter: ender01 <ender01>
Component: JSPAssignee: issues@javaee <issues>
Status: RESOLVED WONTFIX    
Severity: normal CC: brettryan
Priority: P3    
Version: 7.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot of error

Description ender01 2012-02-19 02:39:58 UTC
Created attachment 115913 [details]
screenshot of error

I'm getting an odd 'error' in a jsp page. It's complaining about 'Absent Code Attribute ....' for ConditionalTagSupport when viewing the JSP page. Everything thing still seems to work, but I notice a serious pause when I go to save the page, and the error message flashes in the bottom status bar as well.

I looked in the log, and saw nothing about this, so the only way I was able to capture it is to get a screenshot.

The project uses maven, and has javax.javae-api as a dependency. I've read that this may cause issues with errors like this if you try to actually run anything against this jar, but I'm not running anything (even though I know NB is in the background).
Comment 1 Vladimir Riha 2013-03-25 12:00:07 UTC
*** Bug 226624 has been marked as a duplicate of this bug. ***
Comment 2 brettryan 2013-03-25 12:08:31 UTC
ender01. From my experience with Bug 226624 is that the error only presents itself when you use the <c:if> tag, are you experiencing the same?

Note that this is also present when using the artefact javax.servlet:jstl which is required for tomcat.
Comment 3 ender01 2013-03-25 12:26:00 UTC
brettryan, I don't remember now, but I don't think it mattered on the tag I was using.  Looking at a more recent project, using 7.3 I'm not seeing the issue, but I'm using a completely different set of dependencies. I'll have to go back and see if I can reproduce this now.
Comment 4 brettryan 2013-03-25 12:27:56 UTC
(In reply to comment #3)
> brettryan, I don't remember now, but I don't think it mattered on the tag I was
> using.  Looking at a more recent project, using 7.3 I'm not seeing the issue,
> but I'm using a completely different set of dependencies. I'll have to go back
> and see if I can reproduce this now.

Are you using JSTL and if so which implementation? I am using javax.servlet:jstl:1.2 and seeing this problem.
Comment 5 ender01 2013-03-25 12:31:43 UTC
I am, here's a list of all my javax.* dependencies:

        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.validation</groupId>
            <artifactId>validation-api</artifactId>
            <version>1.0.0.GA</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
            <version>1.1</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jstl</artifactId>
            <version>1.2</version>
        </dependency>
        <dependency>
            <groupId>javax.el</groupId>
            <artifactId>el-api</artifactId>
            <version>2.2</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jsp-api</artifactId>
            <version>2.0</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.ws.rs</groupId>
            <artifactId>jsr311-api</artifactId>
            <version>1.1.1</version>
            <scope>provided</scope>
        </dependency>
Comment 6 Martin Balin 2016-07-07 08:54:35 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss
Comment 7 brettryan 2016-07-08 11:31:04 UTC
I do think at some stage this may have been resolved, though; due to [1] I am presently unable to verify in the nightly.

[1]: https://netbeans.org/bugzilla/show_bug.cgi?id=262583