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 108918

Summary: Can't modify my plugin
Product: updatecenters Reporter: err <err>
Component: PluginportalAssignee: David Botterill <dbotterill>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description err 2007-07-05 03:53:11 UTC
After hitting the submit button for http://plugins.netbeans.org/PluginPortal/faces/MainPage.jsp?pluginid=2802 I'm
getting the following error and the plugin is not modified.

System Messages

    * Error Modifying Plugin! javax.persistence.RollbackException: Exception [TOPLINK-4002] (Oracle TopLink Essentials -
2006.8 (Build 060830)): oracle.toplink.essentials.exceptions.DatabaseException Internal Exception:
org.apache.derby.client.am.SqlException: An SQL data change is not permitted for a read-only connection, user or
database.Error Code: -1 Call:UPDATE PLUGINIMPL SET NBM_FILENAME = ?, NEW_VERSION_COMMENTS = ?, DATE_LAST_UPDATED = ?,
DOWNLOADS = ? WHERE (PLUGINID = ?) bind => [1183603062369_nbvi-1.0.1.zip, 1.0.1 - July 4, 2007, see change log at
http://jvi.sourceforge.net/CHANGES.html, 2007-07-05, 223, 2802]
Query:UpdateObjectQuery(org.netbeans.pluginportal.data.Plugin[id=2802])
Comment 1 David Botterill 2007-07-07 22:11:52 UTC
There was a plugin system problem.  The database was started as root somehow making certain lock files a problem for the
plugin system.  It's fixed now.
Comment 2 err 2007-09-02 15:57:55 UTC
Reopening. The "Downloads" counter has not changed for several days (maybe a week or two) for project jVi. Since the
download traffic has been healthy from sourceforge for the project I'm guessing this problem has returned. I tried
downloading a copy this morning, it downloaded and the counter did not change.

Perhaps an automated verification of proper startup...
Comment 3 David Botterill 2008-01-16 23:13:06 UTC
The download counter does update but only on a page refresh.  This is still not correct but at least the overall
download number is correct.  I'm leaving this open until the number refreshes on the page after the download without a
page refresh.
Comment 4 David Botterill 2008-04-12 19:39:55 UTC
Fixed