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.
Build: NetBeans IDE 8.1 RC (Build 201510012201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16 OS: Windows 7 User Comments: emiddio: trying to diff 2 text files Stacktrace: java.lang.NullPointerException: The activatedFileObjects parameter cannot be null at org.openide.util.Parameters.notNull(Parameters.java:89) at org.netbeans.modules.php.spi.testing.create.CreateTestsSupport.create(CreateTestsSupport.java:121) at org.netbeans.modules.php.atoum.create.AtoumTestCreatorProvider.enable(AtoumTestCreatorProvider.java:57) at org.netbeans.modules.gsf.testrunner.ui.TestCreatorAction.enable(TestCreatorAction.java:119) at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:209) at org.openide.actions.ToolsAction.generate(ToolsAction.java:240)
Created attachment 156636 [details] stacktrace
Fanis, you are passing null to the SPI impls - this is incorrect I guess. I was not able to reproduce it but still, adding 81patch-candidate keyword (but it is up to you to decide, of course). Thanks.
this bug has many duplicates - you cannot diff 2 .txt files, cannot diff 2 .wsdl files. seems cannot diff any 2 files that are not .java files. you can in all prev versions of netbeans.
(In reply to emiddio from comment #3) > this bug has many duplicates I see 7 duplicates but just from you :) Perhaps you could try a clean userdir [1]? > you cannot diff 2 .txt files, cannot diff 2 > .wsdl files. seems cannot diff any 2 files that are not .java files. you can > in all prev versions of netbeans. Láďo, could you please verify that? If it is true, I would see it as a stopper for NB 8.1. Thanks. [1] http://wiki.netbeans.org/FaqAlternateUserdir
Product Version: NetBeans IDE 8.1 RC2 (Build 201510122201) Java: 1.8.0_65; Java HotSpot(TM) 64-Bit Server VM 25.65-b01 Runtime: Java(TM) SE Runtime Environment 1.8.0_65-b17 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb) I tried to multiselect two PHP files and "Tools > Diff" them but no exception was thrown. It also worked without problems with two Java files. I don't think this is a stopper for 8.1.
For the record, diffing two TXT files worked fine too.
Thanks Jirko, I am also not able to reproduce this issue. Thanks.
strange that you cannot reproduce; this occurred for me with fresh nb81rc1 and nb8rc2 installations - after importing settings from nb801, and activating all checkboxes in tools/plugins/installed. I also imported all plugins nb81rc2 offered to import from prev installation. the error happens when select 2 files from file and/or favorites of same type - .txt or .wsdl, and right mouse/tools -- the tools dialog does not open - get exception; error does not occur doing the diff, but trying to display the dialog that offers to diff.
I tried it from the Files view and it works for me without any problem (diffing 2 TXT files). Perhaps try a clean userdir _without_ importing your settings and other plugins? Thanks. Product Version: NetBeans IDE Dev (Build 20151023-a1348a230792) Java: 1.7.0_80; Java HotSpot(TM) 64-Bit Server VM 24.80-b11 Runtime: Java(TM) SE Runtime Environment 1.7.0_80-b15 System: Linux version 3.19.0-31-generic running on amd64; UTF-8; cs_CZ (nb)
start with fresh nb81 install; do not add any plugins, do not import any prev netbeans settings. go to tools/plugins/installed and activate all settings. The error will now occur. I have found if i deactivate php the problem goes away. Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\gbello\AppData\Roaming\NetBeans\8.1 Cache directory: C:\Users\gbello\AppData\Local\NetBeans\Cache\8.1
Created attachment 157863 [details] stacktrace trying to Tools->Diff
Created attachment 157883 [details] stacktrace trying to Diff two files from Favorites
Changeset: 3a546dbe3e28 Author: Theofanis Oikonomou <theofanis@netbeans.org> Date: 2016-01-06 16:27 Message:
I could not reproduce either but now you should not see the exception when trying to diff those files. Please verify in latest build. Thank you
Integrated into 'main-silver', will be available in build *201601070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/3a546dbe3e28 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Task #255817 - NullPointerException: The activatedFileObjects parameter cannot be null
verified in trunk
Transplanted in release 81 branch as http://hg.netbeans.org/releases/rev/b6a586cf09de and http://hg.netbeans.org/releases/rev/04c505af7824