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.
1. Install 'Standard' package. 2. Start IDE. 3. Start GlassFish. Result: There is exception in message.log: "[Fatal Error] :2:123: The character reference must end with the ';' delimiter. INFO [global] java.io.IOException".
Created attachment 45154 [details] IDE's log
Is there something the plugin can do to resolve this? Reassign with advice.
The 'fatal error' message comes from schema2beans. It seems that one of the recorded HTTP requests cannot be loaded from XML. Changing the priority to P3. Roman, can you please zip and attach the $NB_USERDIR/config/HTTPMonitor folder after this issue occurs again?
$NB_USERDIR/config/HTTPMonitor in attach. And this issue is always reproducible.
Created attachment 45206 [details] Ziped $NB_USERDIR/config/HTTPMonitor folder.
It looks like the culprit is most likely the GlassFish server. HTTP Monitor filter obtains the request method by calling HttpServletRequest.getMethod(). Expected value is GET, POST, etc., but the real value provided by the server is a mess, see the value of the method attribute of the MonitorData element in the recorded request (HTTPMonitor.zip/HTTPMonitor/current/1184674996187.xml). Reassign to Vince, just to make sure that the GlassFIsh plugin is not involved in this.
The request that is causing this comes from the plugin. The strange request is used to determine if the server at the address and port given is speaking http or https. If the server's admin port is "secured", the message doesn't get logged, since the networking code figures out that needs to respond to this strangeness BEFORE the data gets sent into the HTTP layer and gets intercepted by the monitor... If the port is not secured, the request makes it into the http layer... and we end up with this strange error. 1. turn off autodetection - would need to add user interaction to pick the http flavor associated with a server... BAD 2. find a way to not associate the http monitor with the admin listener... this looks like it requires an extension to the monitor. 3. extend the http monitor to not barf when it gets some strange data...
Please note that there is no real user impact of this issue, the only side effect are the error messages in the log. Those messages can be ignored. The proper place for fixing this issue is schema2beans, illegal characters stored in the model should be automatically escaped. Reassigning the issue....
*** Issue 112584 has been marked as a duplicate of this issue. ***
I'm setting the target milestone to future as this has no impact on functionality and doing changes in schema2beans at this point is a bit risky.
Downgrading to P4 as the issue has no user impact.
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team