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 161643 - AssertionError: C:\Documents and Settings\Paul A Norman\.netbeans\dev\update\download\org-netbeans-modules-php-prado.nbm
Summary: AssertionError: C:\Documents and Settings\Paul A Norman\.netbeans\dev\update\...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: dlipin
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 05:13 UTC by paulanormannz
Modified: 2009-08-11 15:21 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 145354


Attachments
stacktrace (2.92 KB, text/plain)
2009-04-01 05:13 UTC, paulanormannz
Details
stacktrace (2.92 KB, text/plain)
2009-04-01 07:04 UTC, paulanormannz
Details
stacktrace (2.88 KB, text/plain)
2009-04-02 15:51 UTC, jdwyah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paulanormannz 2009-04-01 05:13:31 UTC
Build: NetBeans IDE Dev (Build 200903250219)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments:
jdwyah: Trying to install haml plugin from: http://mediacast.sun.com/users/tnorbye/media/org-netbeans-modules-haml.nbm/details

GUEST: Trying to install the haml plugin

GUEST: Installing HAML plugin

avok: Trying to install FlexBean on 7.0m1  </3

GUEST: installing http://www.netbeans.org/download/nbms/alpha/dev/1.16/org-netbeans-modules-php-prado.nbm



Stacktrace: 
java.util.concurrent.ExecutionException: java.lang.AssertionError: C:\Documents and Settings\Paul A Norman\.netbeans\dev\update\download\org-netbeans-modules-php-prado.nbm
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:0)
        at java.util.concurrent.FutureTask.get(FutureTask.java:0)
        at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:253)
        at org.netbeans.api.autoupdate.InstallSupport.doValidate(InstallSupport.java:110)
        at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.handleValidation(InstallStep.java:407)
        at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.doDownloadAndVerificationAndInstall(InstallStep.java:185)
Comment 1 paulanormannz 2009-04-01 05:13:44 UTC
Created attachment 79197 [details]
stacktrace
Comment 2 paulanormannz 2009-04-01 07:04:36 UTC
Build: NetBeans IDE Dev (Build 200903250219)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments: 
insatalling http://blogs.sun.com/netbeansphp/resource/other/org-netbeans-modules-php-prado-001.nbm

Stacktrace: 
java.util.concurrent.ExecutionException: java.lang.AssertionError: C:\Documents and Settings\Paul A Norman\.netbeans\dev\update\download\org-netbeans-modules-php-prado.nbm
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:0)
        at java.util.concurrent.FutureTask.get(FutureTask.java:0)
        at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:253)
        at org.netbeans.api.autoupdate.InstallSupport.doValidate(InstallSupport.java:110)
        at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.handleValidation(InstallStep.java:407)
        at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.doDownloadAndVerificationAndInstall(InstallStep.java:185)
Comment 3 paulanormannz 2009-04-01 07:04:46 UTC
Created attachment 79198 [details]
stacktrace
Comment 4 jdwyah 2009-04-02 15:50:51 UTC
Build: NetBeans IDE Dev (Build 200904011705)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 
trying to install HAML plugin in 6.7M3 oh pretty pretty please make this work. 

Stacktrace: 
java.util.concurrent.ExecutionException: java.lang.AssertionError: /Users/jdwyah/.netbeans/6.7m3/update/download/org-netbeans-modules-haml.nbm
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
        at java.util.concurrent.FutureTask.get(FutureTask.java:80)
        at org.netbeans.modules.autoupdate.services.InstallSupportImpl.doValidate(InstallSupportImpl.java:250)
        at org.netbeans.api.autoupdate.InstallSupport.doValidate(InstallSupport.java:110)
        at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.handleValidation(InstallStep.java:407)
        at org.netbeans.modules.autoupdate.ui.wizards.InstallStep.doDownloadAndVerificationAndInstall(InstallStep.java:185)
Comment 5 jdwyah 2009-04-02 15:51:01 UTC
Created attachment 79293 [details]
stacktrace
Comment 6 Sergey Petrov 2009-04-06 13:25:45 UTC
almost all fails in the issue are with haml and prado plugins, just tried to install haml and all was ok.
so the issue doesn't mean this specific lugins can't be installed, but the issue may be more visible with these plugins.
Comment 7 jdwyah 2009-04-06 14:42:26 UTC
On hearing that you were able to install the plugin, I gave it another shot.
I've been trying to install from http://mediacast.sun.com/users/tnorbye/media/org-netbeans-modules-haml.nbm/details  
The file is a jar, but I just changed the plugin adder to accept all files. 

Today I renamed the jar to be a .nbm and it worked.  
Comment 8 Sergey Petrov 2009-04-07 10:21:24 UTC
thanks, 
looks strange as report points to "/Users/jdwyah/.netbeans/6.7m3/update/download/org-netbeans-modules-haml.nbm"
It may means plugin manager task replace extension at some point, and fail to find appropriate file.
Do you mean  you report was done when module had "org-netbeans-modules-haml.jar" name?
Comment 9 Sergey Petrov 2009-04-07 10:42:40 UTC
was able to install prado downloaded from latest link
Comment 10 Sergey Petrov 2009-04-07 11:54:09 UTC
thanks, tried myself and was able to reproduce the issue after changing nbm extension to jar extension.
also it means there should be easy workaround for the issue.
Comment 11 jdwyah 2009-04-07 13:44:32 UTC
Yeah this fails when 6.7 M3 offered to auto-update my plugins from M2 (or M1?). I can't say for sure what the plugin extension was, but it was the same 
download, so probably .jar. It worked without incident in M1&2.
Comment 12 dlipin 2009-04-14 17:39:42 UTC
I`d say that the best workaround is to ignore files (that come from file chooser) that do not have .nbm extension.
Comment 13 dlipin 2009-04-15 13:43:11 UTC
Assertion is fixed and non-nbm files are not handled, see also Issue 36858.
http://hg.netbeans.org/core-main/rev/150610c1f570
Comment 14 Quality Engineering 2009-04-16 08:08:10 UTC
Integrated into 'main-golden', will be available in build *200904160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/150610c1f570
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #161643 AssertionError: C:\Documents and Settings\Paul A Norman\.netbeans\dev\update\download\org-netbeans-modules-php-prado.nbm
Comment 15 jdwyah 2009-04-16 15:33:57 UTC
This is a bit tangential to the actual bug here. But if anyone on the NetBeans team has the ability to change the HAML download from http://mediacast.sun.com/users/tnorbye/media/org-netbeans-modules-haml.nbm/details to be a .nbm extension instead of a jar, I think that would be a 
great thing. I would not use an IDE that doesn't have decent HAML support. I gave RubyMine the 20 minute demo yesterday but ditched it bc it didn't highlight 
HAML and I couldn't be bothered. It would be a bummer if Ruby-ists ditched NetBeans for the same reason, since it DOES work once you figure out that you 
need to rename the .jar file into a .nbm.

thx
Comment 16 dlipin 2009-04-16 15:40:32 UTC
It works fine for me - clicking the download button leads me in NBM file download
http://mediacast.sun.com/users/tnorbye/media/org-netbeans-modules-haml.nbm
Comment 17 jdwyah 2009-04-16 15:45:05 UTC
odd. i get org-netbeans-modules-haml.nbm.jar Safari 4 OS X. perhaps it's some odd mimetype thing. I presume you're displaying file extensions.