Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin does not install under netbeans-9.0-vc3, but works in 9.0-rc1 #146

Open
homberghp opened this issue Jul 17, 2018 · 9 comments
Open

Comments

@homberghp
Copy link

due to a change in dependency or dependency handling in netbeans-9.0-vc3 (on top of java 10), a precursor of the final 9.0 release under the apache falg, the plugin will not install.
The message I get is:

Some plugins require plugin org.jdesktop.beansbinding to be installed.
The plugin org.jdesktop.beansbinding is requested in version 1.24.1.121. The following plugin is affected:       Test My Code plugin

I am not sure where the problem lies: Either to strict version selection for the plugin (no open end) or not being available in netbeans 9.0

@nygrenh
Copy link
Member

nygrenh commented Jul 17, 2018

Thanks for reporting this!

I have now built an experimental version of the plugin without the beansbinding dependency. You should be able to install it if you change your update url to http://update.testmycode.net/tmc-netbeans_test/updates.xml.

@homberghp
Copy link
Author

homberghp commented Jul 17, 2018 via email

@joonashak
Copy link

Just installed this on NetBeans 9.0 build 1.2.0 and everything seems to work (so far I've just installed it and downloaded and updated exercises from TMC server). I'll be using this set up for course work, so I'll report back if I encounter any problems.

However, I did get an exception while TMC was extracting one of the exercise zips. This isn't necessary an issue, because the exercise in question seems to have been unzipped successfully in the end. I thought I'd let you know anyway:

java.lang.NullPointerException
	at fi.helsinki.cs.tmc.langs.utils.TmcProjectYmlParser.<init>(TmcProjectYmlParser.java:30)
	at fi.helsinki.cs.tmc.langs.io.ConfigurableStudentFilePolicy.isUpdatingForced(ConfigurableStudentFilePolicy.java:88)
	at fi.helsinki.cs.tmc.langs.io.zip.StudentFileAwareUnzipper.mayDelete(StudentFileAwareUnzipper.java:233)
	at fi.helsinki.cs.tmc.langs.io.zip.StudentFileAwareUnzipper.deleteFilesNotInZip(StudentFileAwareUnzipper.java:144)
	at fi.helsinki.cs.tmc.langs.io.zip.StudentFileAwareUnzipper.unzip(StudentFileAwareUnzipper.java:127)
	at fi.helsinki.cs.tmc.langs.AbstractLanguagePlugin.extractProject(AbstractLanguagePlugin.java:75)
	at fi.helsinki.cs.tmc.langs.util.TaskExecutorImpl.extractProject(TaskExecutorImpl.java:68)
[catch] at fi.helsinki.cs.tmc.core.commands.ExerciseDownloadingCommand.extractProject(ExerciseDownloadingCommand.java:111)
Caused: fi.helsinki.cs.tmc.core.exceptions.ExtractingExericeFailedException: Extracting zip for viikko08-Viikko08Tehtava4 failed
	at fi.helsinki.cs.tmc.core.commands.ExerciseDownloadingCommand.extractProject(ExerciseDownloadingCommand.java:120)
[catch] at fi.helsinki.cs.tmc.core.commands.DownloadOrUpdateExercises.call(DownloadOrUpdateExercises.java:81)
	at fi.helsinki.cs.tmc.core.commands.DownloadOrUpdateExercises.call(DownloadOrUpdateExercises.java:29)
	at fi.helsinki.cs.tmc.core.utilities.ExceptionTrackingCallable.call(ExceptionTrackingCallable.java:39)
	at fi.helsinki.cs.tmc.utilities.BgTask.call(BgTask.java:147)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

The course in question is hy-tira-s18.

PS. Thanks for making TMC work on NB9! At least for me, working on 8.2 on macOS has been quite painful. NB9 already seems way smoother and easier to live with.

@tomWhilbert
Copy link

Hi, Just installed this test plugin on top of Netbeans 11, macos 10.14.5.

@samip5
Copy link

samip5 commented May 23, 2020

It seems like update.testmycode.net is not working anymore, so I cannot download the experimental plugin. :(

@nygrenh
Copy link
Member

nygrenh commented May 23, 2020

Please see https://www.mooc.fi/en/installation/netbeans for the latest version. It's much newer than the experimental version.

@samip5
Copy link

samip5 commented May 23, 2020

Please see https://www.mooc.fi/en/installation/netbeans for the latest version. It's much newer than the experimental version.

Netbeans version of that is pretty old, in that regard that it has no dark mode by default.
Newer Netbeans have that, and for the life of me, I cannot use a white UI nor background while coding anything.

P.S I already tried that, and came to the conclusion that I CANNOT use it when Mac OS X UI is set to dark, as the white text on like dependencies on packages cannot be seen easilly.

Screenshot 2020-05-23 at 8 51 04

@nygrenh
Copy link
Member

nygrenh commented May 23, 2020

Have you tried installing taking the plugin repository url (https://download.mooc.fi/tmcbeans/updates/updates.xml) from that netbeans and using that on Netbeans 11.3?

@samip5
Copy link

samip5 commented May 23, 2020

Have you tried installing taking the plugin repository url (https://download.mooc.fi/tmcbeans/updates/updates.xml) from that netbeans and using that on Netbeans 11.3?

Yup, that works. :) I hadn't tried that as I did not think to look for the actual URL of the plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants