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 233018 - Changes in server configuration (Tools -> Server) causes error "could not save property change to file."
Summary: Changes in server configuration (Tools -> Server) causes error "could not sav...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
: 231250 231518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-07-18 18:48 UTC by ecerichter
Modified: 2013-08-10 18:56 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (123.23 KB, application/octet-stream)
2013-07-18 18:48 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-07-18 18:48:55 UTC
Created attachment 137399 [details]
IDE log file

Using DEV201307172300 on Win7 Pro x64 with JDK 1.7.0_25 x64.

Whenever I try to make changes in Glassfish server (3.1.2.2 or 4.0), I get the erro "could not save property change to file."

Attached is IDE log with the error.
Comment 1 TomasKraus 2013-07-22 13:43:04 UTC
Well, this is all I can see in your logs:
-----------------------------------------
INFO [glassfish]: Storing GlassFish Server 4.0 atributes

This looks like 231518 duplicate.

There seems to be typo in the code.

        if ((cometEnabledChanged || monitorEnabledChanged
                || jdbcDriverDeployEnabledChanged || sessionEnabledChanged
                || startDerbyChanged)
                && instance.getCommonSupport().isWritable()) {
            NotifyDescriptor nd = new NotifyDescriptor.Message(
                    NbBundle.getMessage(getClass(), "WRN_CouldNotWrite"),
                    NotifyDescriptor.WARNING_MESSAGE);
            DialogDisplayer.getDefault().notify(nd);
            Logger.getLogger("glassfish")
                    .warning("Could not write changed property");
        }

instance.getCommonSupport().isWritable() should be !instance.getCommonSupport().isWritable()

But this is just false warning. Properties were saved.
Comment 2 TomasKraus 2013-07-22 13:44:07 UTC
*** Bug 231518 has been marked as a duplicate of this bug. ***
Comment 3 TomasKraus 2013-07-22 13:49:04 UTC
Checked into web-main:
----------------------
changeset:   259111:75c603c5fe33
summary:     #233018 - Fixed warning condition

Warning message condition is fixed. Closing now.
Comment 4 Quality Engineering 2013-07-23 02:39:33 UTC
Integrated into 'main-silver', will be available in build *201307222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/75c603c5fe33
User: Tomas Kraus <TomasKraus@netbeans.org>
Log: #233018 - Fixed warning condition
Comment 5 TomasKraus 2013-07-24 13:19:10 UTC
*** Bug 231250 has been marked as a duplicate of this bug. ***
Comment 6 ecerichter 2013-08-10 18:56:27 UTC
Verified. Ok in DEV201308090746.