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 190009 - Editor shows error message while the code works fine in Grails 1.3.4.
Summary: Editor shows error message while the code works fine in Grails 1.3.4.
Status: RESOLVED WORKSFORME
Alias: None
Product: groovy
Classification: Unclassified
Component: Grails (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-31 07:12 UTC by defascat
Modified: 2012-03-20 08:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot (17.87 KB, image/png)
2010-08-31 07:13 UTC, defascat
Details
SourceCode (4.62 KB, text/x-groovy)
2010-08-31 07:14 UTC, defascat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description defascat 2010-08-31 07:12:56 UTC
Product Version = NetBeans IDE Dev (Build 100825-ba4898edabae)
Operating System = Linux version 2.6.33.8-149.fc13.x86_64 running on amd64
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) 64-Bit Server VM 16.3-b01

The problem is reproducible for 6.8 and version built from trunk.

The code itself runs fine on Grails 1.3.4.

Code snippet from Grails application:

    private def getJSONConfig() {
        JsonConfig jsonConfig = new JsonConfig();
        jsonConfig.setJsonPropertyFilter(
            new PropertyFilter() {
>> Message goes here.
                public boolean apply(Object source, String name, Object value) {
                    return name.equals("id") || name.equals("version");
                }
            }
        );
        return jsonConfig;
    }
Comment 1 defascat 2010-08-31 07:13:38 UTC
Created attachment 101762 [details]
Screenshot
Comment 2 defascat 2010-08-31 07:14:45 UTC
Created attachment 101763 [details]
SourceCode
Comment 3 Martin Janicek 2012-03-20 08:08:06 UTC
I've just try to reproduce the problem but everything works just fine. Could you please try to check whether it is still reproducible on your side even with a latest development build? (it can be downloaded on: http://bits.netbeans.org/download/trunk/nightly/latest/).. And if so what exact error message do you got there?
Thanks in advance.