FindBugs Plugin In NetBeans. - netbeans-plugins

I get the following error when I try to install FindBugs plugin in Netbeans. Can anyone help me how to resolve -
The plugin org.apache.commons.lang is requested in version 2.4.0.
The following plugin is affected:       FindBugs
Some plugins require plugin Settings API to be installed.
The plugin Settings API is requested in version >= 1.33.1 but only 1.31.1 was found. The following plugin is affected:       FindBugs
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.39.1 but only 7.31.2 was found.
The following plugin is affected:       FindBugs
Some plugins not installed to avoid potential installation problems.

As it is answered here, you might be using an old ScanOnDemand plugin, you can add the latest Development Plugins to your Plugins: Plugins > Settings Tab > Add and use the following URL to add a new NB Plugins source:
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
I have tried this solvation, added the source above with name 'Plugin Resource' and checked available plugins. There, Findbugs Integration plugin appeared and installed successfully. When i restarted the ide to finish the installation, it generated an error and never started again.
Thus, i have downloaded netbeans 7.3 from this link and replaced with the old one (7.0.1) on my computer. Now Findbugs plugin is availabe in the list of available plugins without any additional configuration and works flawless. I recommend you to upgrade your ide to 7.3 and solve your problem. This will fix the problems that may occure in the future because of the lack of version of your current netbeans ide.
In addition, after updating the ide, you can use the findbugs plugin installing from this source. This plugin provides to use findbugs explicitly from the inspector.

Related

Unable to install LDT to Eclipse 2019-12 (4.14.0)

I was setting up a new laptop and downloaded Eclipse: Version: 2019-12 (4.14.0) but when I tried to add the LDT plugins, it fails because it cannot satisfy dependency (see below.)
The prior version of eclipse I had on my last laptop was 2018-12 (4.10.)
Does anyone have a list of what or know which the last/latest version of Eclipse which works with the (1.4.2?) LDT plugin is?
[[EDIT]] => Verified that Lua Development Tools still installs if I reinstall 2018-12 Eclipse. So it is a compatability thing as I asked. Since no one yet has the answer, I will install one after another Eclipse version to determine last that works and update this entry. VERIFIED: 2019-09 is the latest that works with LDT plugin.
(pointed repo to "stable" (although tried even nightly after that)
Error message:
Cannot complete the install because one or more required items could not be found.
Software being installed: Lua Development Tools SDK 1.4.2.201804031433 (org.eclipse.ldt.source.feature.group 1.4.2.201804031433)
Missing requirement: Lua Development Tools Core 1.3.0.201804031433 (org.eclipse.ldt 1.3.0.201804031433) requires 'osgi.bundle; org.eclipse.dltk.core [5.5.0,6.0.0)' but it could not be found
Cannot satisfy dependency:
From: Lua Development Tools - Core Feature 1.4.2.201804031433 (org.eclipse.ldt.core.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt [1.3.0.201804031433,1.3.0.201804031433]
Cannot satisfy dependency:
From: Lua Development Tools 1.4.2.201804031433 (org.eclipse.ldt.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt.core.feature.group [1.4.2.201804031433,1.4.2.201804031433]
Cannot satisfy dependency:
From: Lua Development Tools SDK 1.4.2.201804031433 (org.eclipse.ldt.source.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt.feature.group [1.4.2.201804031433,1.4.2.201804031433]
The key error here is
requires 'osgi.bundle; org.eclipse.dltk.core [5.5.0,6.0.0)'
which is saying that a version of the 'org.eclipse.dltk.core' plug-in (bundle in OSGi terminology) with a version of at least 5.5.0 and less than 6.0.0 is required.
The Eclipse 2019-12 release has version 6.0 of this plug-in so it does not match the criteria and the install fails.
I installed earlier versions of Eclipse IDE (Java) and it appears the version right before the one I was trying (2019-12) is the last that will accept installing the LDT plug-in successfully: Eclipse (Java) 2019-09
Hopefully it is a bug that gets fixed in either LDT or Eclipse 2019-12.
There is a workaround that I found here: https://www.eclipse.org/forums/index.php/t/1101907/
The solution is basically to provide the missing resource from a download since it doesn't seem to be available from repositories any more:
Download the runtime for DLTK 5.7.1 as a zip: http://www.eclipse.org/downloads/download.php?file=/technology/dltk/downloads/drops/R5.7/R-5.7.1-201703020501/dltk-core-R-5.7.1-201703020501.zip
In Eclipse, navigate to menu > Help > Install new software...
Click Manage... to go to Available Software Sites dialog
Click Add... use a good name like "LDTK zip", click the "Archive" button and browse to that zip, downloaded from before.
Then when I tried again the install happened correctly and my initial tests indicate that LDT is working as expected.

IntelliJ IDEA 2018.3 Browse Repositories

I can't find the "Browse Repositories" option under Plugins in IntelliJ Ultimate Edition 2018.3.2 and I am pretty sure that I had it before.
I need to install the Flutter plugin from repositories.
[!] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
Seems like you have it already installed - check the Installed tab. If it's there you probably missing the Dart plugin, which should be installed together with Flutter plugin. Try to reinstall Flutter plugin.
There are many changes in the newer versions of IntelliJ IDEA.
"Marketplace" is similar to the "Browse Repositories" option.
If you have already installed a plugin it will be in your "installed" tab.
Also, check if have somehow disabled the plugin.
I found out that the Flutter plugin is not compatible with 2018.3 versions. I downgraded to 2018.2, now it is fine.

Plugin Compatibility Issue Eclipse Oxygen (4.7) and Java 9

We upgraded one of our Eclipse 3.x plugins to work with Java 9.
But when we generated the plugin update site content, and used Eclipse Update functionality to install the new version of the plugin, we encountered the following error in Eclipse Oxygen.
Removing part descriptor with the 'pluginxxx.bla.bla' id and the 'bla bla' description. Points to the invalid 'bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView' class.
This error also appears due to some of the bundled plugins of Eclipse Oxygen itself.
After a hard week we had to
Uninstall our plugin
Remove the older versions of the plugin from the Eclipse/plugins folder
Export the plugin as a deployable plugin under the eclipse plugins directory. (Eclipse/plugins/blabla.jar)
Restart Eclipse and it worked.
Right click the eclipse plugin project and Run as "Eclipse Application" works fine, but installing the plugin from an "Update Site" causes the plugin to fail loading.
We could not find a solution yet, but it certainly effects our delivery of the plugin. The plugin is used by almost 500 CS students on their personal computers, and 200 lab computers. So the update should be installed using regular Eclipse Update functionality, not by copying the jar into the plugins directory.
Was there a better way to fix this, or something quicker we could've tried (in case this happens again)?
Update (7 days into the problem)
We have a workaround:
Export the feature project with the following settings in the Export Wizard
Destination/ Directory: Folder of your Plugin Update Site project
Options/ Package as individual JAR archieves (selected)
Options/ Generate p2 repository (selected)
Options/ Allow for binary cycles in target platform (selected)
Options/ Use class files compiled in the workspace (essentially selected)
Install (or update) the plugin from the local (or remote) plugin update site, and the CompatibilityView problem is solved.
In order to have the category listing displayed correctly during install/update new software operations, we added a category.xml file (File/New/Other/Plugin-in Development/Category Definition) in the update site project, defined the categories, and added the feature (versioned as "qualifier").
This is certainly not the way it should be, and we just hope it will be solved in the future Eclipse releases.
By the way current Eclipse Photon integration version has the same problem unfortunately.

Dukescript plugin not in Netbeans plugin manager

I am wanting to install DukeScript plugin to my NetBeans IDE and for some reason it doesn't show as an available plugin. I can find it just fine on the NetBeans plugin listing. It even has a symbol to show that it's certified and should be available in the IDE for installation.
Attempted Solution: I tried downloading manually from the site and I get a zip with a bunch of jar files and 2 .nbm files. I tried adding the .nbm files to the plugin manager manually I get the following errors.
The plugin javax.websocket_api is requested in version 1.0.
The following plugin is affected:       
DukeScript Project Wizard
Some plugins require plugin org.netbeans.html.ko_ws_tyrus to be installed.
The plugin org.netbeans.html.ko_ws_tyrus is requested in version 1.2.3.
The following plugin is affected:       
DukeScript Project Wizard
The plugin was temporarily not available from the update center. It should be there again now, after we removed some unneeded depenedencies. Please try to install it again via the plugin manager inside NetBeans.
To explain your problem with manual install: The plugin consists of NBMs and OSGi Bundles (the jar files). You need to install all of them.

IntelliJ Datanucleus Enhancer plugin not working

The project I'm developing uses Datanucleus 2.0.3, so I'm using those libraries for enhancement (plugin is configured to use the module dependencies as well). IntelliJ version 12.0.1 on a Ubuntu 12.4 machine. I know the 2.0.3 is ancient history but upgrading it at least now is not an option for me.
From gradle all works fine. I imported by project to IntelliJ and when I ran the tests from junit I got the usual ClassNotPersistenceCapableException so I recalled I need a plugin for this.
I installed the newest plugin (tried both the beta and the last stable version) and configured the plugin to enhance my this one module. I chose JDO and applied, it discovered all the classes annotated for persistence, I rebuilt the whole project, ran the tests again and the same error occurs.
some things I've noticed / checked:
- the Enchaner is ticked in "Build / Datanucleus Enhancer"
- looked for multiple datanucleus jars, but there is only one
- haven't seen any message in IntelliJ in the Event Log saying is has done enhancing (the gradle enhancer logs such a message)
- haven't seen any error messages in IntelliJ saying enhancement failed, I also didn't find any log files outside IntelliJ (should there be any?)
- when I manually added the gradle built classes at the top of the classpath for the test the tests passed - but this is no good
- the module has the following datanucleus 2.0.3 jars on it's classpath: datanucleus-core, datanucleus-enhancer, datanucleus-connectionpool, datanucleus-rdbms and the asm-3.1.jar (the dependencies say it's 3.0-4.0 so this one should fit)
I have no idea why it sees the classes but doesn't enhance them, or maybe it does try and silently fail ... but then I don't know how to diagnose the problem
No other ideas come to my mind, please advise what to check or what to try.