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 118515 - [60cat] [plugin]Exception when install downloaded plugin.
Summary: [60cat] [plugin]Exception when install downloaded plugin.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords:
: 121244 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-10-11 10:12 UTC by tetsu
Modified: 2007-11-06 08:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception thread from "tetsu" user... (2.32 KB, text/plain)
2007-10-11 12:18 UTC, Jaromir Uhrik
Details
screenshot (254.86 KB, image/png)
2007-10-12 01:56 UTC, tetsu
Details
messages.log (34.02 KB, text/plain)
2007-10-12 01:57 UTC, tetsu
Details
attached module with additional assertions + loging (681.26 KB, application/octet-stream)
2007-10-17 13:32 UTC, rmatous
Details
stacktrace (2.32 KB, application/octet-stream)
2007-10-18 03:30 UTC, tetsu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tetsu 2007-10-11 10:12:24 UTC
[ BUILD # : 200710100000 ]
[ JDK VERSION : 1.6.0_03 ]

1. I download the plug-in from
http://codecoverage.netbeans.org/downloads/codecoverage60.zip.
2. Unzip it, there are 2 .nbm files
3. In netbeans, Tools | plugins | downloaded | Add Plugins and select
these 2 .nbm files.
4. Next click the install button and accept the licences warning, I
got exception.

I attached the stacktrack file. Please check it out.
Comment 1 rmatous 2007-10-11 11:04:57 UTC
works fine for me with latest dev build. BTW I didn't find promised stacktrace file
Comment 2 Jaromir Uhrik 2007-10-11 12:18:56 UTC
Created attachment 50679 [details]
Exception thread from "tetsu" user...
Comment 3 Jaromir Uhrik 2007-10-11 12:26:47 UTC
I have attached exception stack provided by tetsu on NetCat mailing list. Could you please, tetsu, attach log file that
can be found in your userdir under var/log/messages.log to have complete information.
Thanks.
Comment 4 tetsu 2007-10-12 01:50:50 UTC
Sorry, I forgot to attach the stacktrack. And thanks Juhrik do that for me.
This time I attached a screenshot also with messages.log file. Please check it out.
Comment 5 tetsu 2007-10-12 01:56:39 UTC
Created attachment 50764 [details]
screenshot
Comment 6 tetsu 2007-10-12 01:57:01 UTC
Created attachment 50765 [details]
messages.log
Comment 7 tetsu 2007-10-15 02:47:55 UTC
I think I figure out why this bug cannot be reproduced by netbeans developer.
It seems that the plugin model (or Java ?) cannot handle the non-ascii path correctly.

Because my OS is WindowsXP JP, my desktop path contains some Japanese characters.
To confirm this, I move the downloaded .nbm files to c:/, and installation works fine.
But if the path to the .nbm files contains any Japanese characters, the exception I mentioned will be thrown.

I test with JDK 1.6.0_01 and JDK 1.6.0_02, both have this problem.

So, please try to confirm this issue on windows with eastern-character support.
Comment 8 rmatous 2007-10-17 13:32:21 UTC
Created attachment 51108 [details]
attached module with additional assertions + loging
Comment 9 rmatous 2007-10-17 13:40:02 UTC
Please, could you replace the current module by putting the attached module into installation dir into:
./platform7/modules/org-netbeans-modules-autoupdate-ui.jar and attach the results again, thanks
Comment 10 tetsu 2007-10-18 03:28:44 UTC
I tested with the attached modules. But still have exception if the path containing Japanese characters. I attached the
stacktrack.
Comment 11 tetsu 2007-10-18 03:30:29 UTC
Created attachment 51180 [details]
stacktrace
Comment 12 rmatous 2007-10-18 15:45:50 UTC
/cvs/autoupdate/services/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateInfoParser.java,v  <--  new
revision: 1.10; previous revision: 1.9

/cvs/autoupdate/services/src/org/netbeans/modules/autoupdate/updateprovider/SimpleItem.java,v  <--  SimpleItem.java
new revision: 1.16; previous revision: 1.15
Comment 13 Jiri Rechtacek 2007-11-06 08:54:23 UTC
*** Issue 121244 has been marked as a duplicate of this issue. ***