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 74382 - Scriplet CC for declared variables
Summary: Scriplet CC for declared variables
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: REGRESSION
: 74385 74496 (view as bug list)
Depends on:
Blocks: 75143
  Show dependency tree
 
Reported: 2006-04-04 15:24 UTC by Martin Schovanek
Modified: 2006-05-16 12:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schovanek 2006-04-04 15:24:04 UTC
[#200604040200, jdk1.5.0]

to repoduce:
------------
1) type in a .jsp:
<% String str; st|
2) invoke CC
ERROR: 'No suggestions' message appears

'<% String str; str.|' does not work too.
Comment 1 Martin Schovanek 2006-04-04 16:35:52 UTC
NOTE: during CC invocation following message appears at the console:

[org.netbeans.javacore] FileObject not found for resource: JspFakeJMIClass.java
Comment 2 Jiri Kovalsky 2006-04-05 10:12:02 UTC
*** Issue 74385 has been marked as a duplicate of this issue. ***
Comment 3 Marian Mirilovic 2006-04-05 10:17:06 UTC
reproducible in trunk NB dev (200604031800)
Comment 4 Jiri Kovalsky 2006-04-06 14:05:29 UTC
*** Issue 74496 has been marked as a duplicate of this issue. ***
Comment 5 Marek Fukala 2006-04-20 12:16:15 UTC
It is a regression caused by Mila's fix of Issue #74137 (CC provides invalid
fields). I'll try to workaround it on our side since we bend the
NbJavaJMISyntaxSupport to our needs quite heavily and the fix on java's side
seems to be correct to me.
Comment 6 Marek Fukala 2006-04-20 12:31:39 UTC
fixed

Checking in JspJavaSyntaxSupport.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/JspJavaSyntaxSupport.java,v
 <--  JspJavaSyntaxSupport.java
new revision: 1.20.2.3.2.2; previous revision: 1.20.2.3.2.1
done
Comment 7 Martin Schovanek 2006-05-16 12:56:03 UTC
Verified in #200605160200 build.