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 236229 - Attempting to upload unsigned NBMs produces mysterious error message
Summary: Attempting to upload unsigned NBMs produces mysterious error message
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Pirek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-21 21:27 UTC by Jesse Glick
Modified: 2013-09-23 12:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The ZIP of NBMs I am trying to upload (compatible with both 7.3 and 7.4) (90.99 KB, application/zip)
2013-09-21 21:27 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2013-09-21 21:27:55 UTC
Created attachment 140341 [details]
The ZIP of NBMs I am trying to upload (compatible with both 7.3 and 7.4)

I tried to upload binaries to http://plugins.netbeans.org/plugin/43938/ both as an “Edit” to the 7.3 version, and as a new binary for 7.4. Both attempts failed: I got some unspecified error in the web UI.
Comment 1 Jiri Kovalsky 2013-09-22 13:40:14 UTC
31923	2013-09-21 17:18:44	Stapler/Hudson/Jenkins Support	jglick	Binary uploaded successfully - /space/pluginportal-v2/public/data/nbms/nb-stapler.zip
31922	2013-09-21 17:18:44	Stapler/Hudson/Jenkins Support	jglick	Uploading new binary for version 7.4
31921	2013-09-21 17:17:16	Stapler/Hudson/Jenkins Support	jglick	Binary uploaded successfully - /space/pluginportal-v2/public/data/nbms/nb-stapler.zip
31920	2013-09-21 17:17:16	Stapler/Hudson/Jenkins Support	jglick	Uploading new binary for version 7.3

I don't see any problem in the log. Honzo, can you please take a look at this?

Jesse, a screenshot would maybe help.
Comment 2 Jesse Glick 2013-09-22 14:57:46 UTC
> I don't see any problem in the log.

And yet the plugin page does not show any new binaries.


> a screenshot would maybe help

All that is shown in the browser after uploading is

---%<---
An error occurred

Application error
---%<---


Also when I go back to http://plugins.netbeans.org/my-plugins I see

ERROR: SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '(0)' for column 'signed' at row 1

in a red box at the top of the screen the first time I visit this URL after the failed upload. When I reload the page, it goes away.
Comment 3 Jesse Glick 2013-09-22 15:07:56 UTC
I guess the problem was that the NBMs were unsigned. When I regenerate them with signatures and upload again it works. But this is a pretty lousy way to report that error!

(BTW requiring plugin authors to sign NBMs is a PIA. Plugin Portal should repack unsigned NBMs with its own signature instead.)
Comment 4 Jesse Glick 2013-09-22 15:08:27 UTC
Downgrading since the problem is one of error reporting, not affecting valid usage.
Comment 5 Jiri Kovalsky 2013-09-23 11:00:30 UTC
This is strange, because in the past it generated a nice red warning message. Honzo, is it somehow related to the MySQL upgrade?
Comment 6 Jan Pirek 2013-09-23 12:10:57 UTC
fixed now