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.
Make the following mistake in code: 1. Create WebApp 2. Drop from the palette Get Bean Property on jsp page 3. Remove one quote symbol at the end of value (see image). I'm running in the Japan locale, using a pseudo localized Netbeans. There is an err message not from pseudo localized bundle file.
Created attachment 55846 [details] image
When you run the application, does the server show a localized error message, or is it still English? Thanks.
Isn't this a duplicate of 125946 ?
I think this issue is not a duplicate of the 125946. The reason is in the different err messages shown in red. All of them are coming not from pseudo localized bundle file. App was built and deployed ok. Running in browser with the following error: HTTP Status 500 - type Exception report message descriptionThe server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /index.jsp(17,67) PWC6214: attribute for " is not properly terminated
This message is when you run it on the *localized* version of GlassFish? So is this a L10N bug in GlassFish? The message from the server should be in Japanese, right?
I think the message shown in editor came from jsp parser. It was shown without any deployment or running the app.
as to localized gf, just an fyi - it was only just released 2 days ago and won't be in product until ml builds start in a few weeks. let me know if ptr to it is needed. ken.frank@sun.com
another two messages and one tooltip: Steps: 1. Create Web Application 2. Open index.jsp in the editor 3.1 Replace encoding with the following value ${aaa}. See jsp_utf8.JPG 3.1 Type incorrect value for pageEncoding without quotes. See jsp_utf8_1.JPG There are messages and a tooltip not from pseudo localized bundle file. I'm running in the Japan locale, using a pseudo localized Netbeans.
Created attachment 56187 [details] image1
Created attachment 56188 [details] image2
The message on the image 1 is coming from integrated Glassfish jsp parser in NetBeans. The correct fix of this is integrating the latest ML version of the Glassfish jsp parser. There is also possibility to create just a "hotfix". Take the appropriate ML bundles file from Glassfish and past them to the current integration. It can work. I think the message on the image 2 is coming directly from NB jsp editor from lexer. It should be fixed there. It should be fixed by Marek.
ml gf is at https://glassfish.dev.java.net/downloads/v2ur1-b09d.html but due to the dload problems, not accurate yet; that webpage will update when its ok. does it mean that if user uses the ml gf, that the msgs will show per locale or is it that we need to take the applicable gf ml jars and integrate into nb code or product ? if its just that user needs to use ml gf, then that part of the issue can be skipped, since 6.1 will have the ml gf v2u1, which was not ready in time for 6.0.1. ken.frank@sun.com
BTW, did this work in previous versions of NetBeans? Is this a regression? Thanks.
to kfrank: We have to integrate the new jars/files to the NetBeans code to fix this issue. to pjiricka: This is not regression and it works never.
Since this never worked and we had no reports of this bug from real users, I am changing the priority to P3. Also, a possible workaround should be to run the application in a localized version of GlassFish - the localized text of the error will be printed in the browser, so the user can find out what's wrong with the page this way. I agree it should be fixed for NB 6.1 the way Petr Pisl suggests.
*** Issue 125946 has been marked as a duplicate of this issue. ***
*** Issue 128726 has been marked as a duplicate of this issue. ***
How to localize that bundle file from GF? Is it OK if I just attach it to this issue? Then I could just add the japanese translation to the NB jasper jar.
Created attachment 57507 [details] bundle file
I have missed that there's a multilingual version of GF available. I will try to use its bundle files.
*** Issue 123591 has been marked as a duplicate of this issue. ***
Created attachment 59086 [details] there is another message
moving opened issues from TM <= 6.1 to TM=Dev
There are another messages: Product Version: NetBeans IDE Dev (Build 200808101401) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22
Created attachment 67557 [details] message 1
Created attachment 67558 [details] message 2
kaa, is it still reproducible?
Looks like an old issue which was either resolved or is not relevant anymore. Reopen please if it is still a valid one.