code deployment issues

I wasn’t sure if this could be considered a Java-specific issue, but Netbeans is giving an error on two different CRIOs when I try deploying code. Both of these CRIOs were updated for last year and worked fine, but now whenever I try deploying code, I just get this error:
“Expected version FRC_2011_v28.zip; for Name but got FRC_2012_v43.zip”

Which implies Netbeans is expecting an older version of the image? I’m using the same installment of Netbeans from the same computer as last year, and the CRIOs have not been imaged since. All I can think of is Netbeans did some automatic update without me knowing, otherwise I’m at loss at what might have changed.

Well, first I tried editing the upgrade.xml file and changing the expected version, and the code was sent, but it caused the CRIO’s JVM to crash on deployment (not at runtime).

So, I decided to download the old image “FRC_2011_v28.zip” for the CRIO. When I tried imaging them (and this happened on both 2011 and 2012 imaging tools), I got this error:

**Unable to complete operation because of unexpected error:
Error 7 occurred at File/Directory Info in NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi->NI_InternetTK_FTP_VIs.lvlib:FTP Store Multiple.vi->ConfigUtility.lvlib:FRC 2012_FTP Put File.vi->ConfigUtility.lvlib:CloseAndUploadRemoteConfiguration.vi->ConfigUtility.lvlib:CurrentLanguageConfig.vi->ConfigUtility.lvlib:ReImageTarget.vi->ConfigUtility.lvlib:Dialog.vi

Possible reason(s):

LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.

C:\Users\user\AppData\Local\Temp\lvtemporaryd_22381\FRC_ImageVersion.ini**

I don’t know if this related to the Netbeans error. Anyway since it says LabVIEW isn’t found, I tried reinstalling LabVIEW and got the same results. I don’t know if the imaging error is related to the Netbeans error, but either way I’m stuck. Anyone have similar issues?

Rather then try to figure out how to go to an old image, I think you should concentrate on the netbeans plugins. What version of the plugins are installed? They should be 2012.3077. What is the update URL? It should be http://first.wpi.edu/FRC/java/netbeans/update/updates.xml

I have the 2012.3077 version for all frc related plugins on Netbeans. I’m not quite certain what you mean by the updates URL. In the error message, it at least gave the first half of your URL: http://first.wpi.edu/FRC/frcjava.html

I looked in the directory of updates.xml in the url you provided, and I found the updates files, but it appears I already have them.

The update URL is what netbeans uses to update the plugins. See the getting started with Java guide.

Do you have multiple versions of netbeans installed? The sunspotfrcsdk folder could have been overwritten if someone installed old plugins in another version of netbeans. If that’s the case, I would uninstall the plugins (in all versions of netbeans) and delete the sunspotfrcsdk folder. Then you can install the 2012 plugins.

I agree i think it has nothing to do with your crio’s image being old but as it said it got a newer version than expected the update link can also be found on the KOP site for last year