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 271705

Summary: maven project not showing source and test nodes on project tab
Product: projects Reporter: javatlacati <javatlacati>
Component: MavenAssignee: Tomas Stupka <tstupka>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Other   
Issue Type: DEFECT Exception Reporter:
Attachments: Graphical view of the error.

Description javatlacati 2017-10-26 02:31:42 UTC
Created attachment 165353 [details]
Graphical view of the error.

The issue happened on Ubuntu 16.04 running on virtual box.

Assuming we have a well-formed maven project that was already opened with NetBeans we follow the steps to reproduce:

1. close NetBeans
2. add a "package.json" file 
3. using command line cd to src folder
4. install any node package using "npm install" command so the "npm_modules" folder will be created.
5. open NetBeans
6. open project

Source folder and test folder have changed the icon and they both have the text "Source Packages is owned by project x, cannot be used here, see issue #138310 for details"