Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 466255

Summary: Excpetion while creating a package in Project Explorer
Product: [Eclipse Project] Platform Reporter: Noopur Gupta <noopur_gupta>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: arunkumar.thondapu, daniel_megert, ericwill
Version: 4.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Screenshot none

Description Noopur Gupta CLA 2015-05-04 03:15:45 EDT
Created attachment 253113 [details]
Screenshot

Eclipse 4.5 M7 (I20150430-1445)
Ubuntu 14.04

This issue is not reproducible with Eclipse 4.4.

Steps:
- Open a new workspace.
- Open Error log view and open Project Explorer view in Java perspective.
- In Project Explorer view, create a new Java Project "P1" and in its "src", create a new Package "p1".
- Following error is logged in Erro log view and an empty child is added before the package as shown in the attached screenshot:

eclipse.buildId=4.5.0.I20150430-1445
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_IN
Command-line arguments:  -data file:/home/noopur/workspace_test/ -os linux -ws gtk -arch x86_64

org.eclipse.ui.navigator
Error
Mon May 04 12:32:45 IST 2015
Cannot find navigator content extension (using triggerPoints) for object "<null>" parent path: "src [in P1]
  <default> (not open)
  p1 (not open)".  Check that you have an expression for this object in a navigatorContent triggerPoints or enablement.

An exception stack trace is not available.
Comment 1 Dani Megert CLA 2015-05-04 05:44:55 EDT
This works fine for me on Windows 7.
Comment 2 Arun Thondapu CLA 2015-05-05 09:56:42 EDT
Working for me on Ubuntu 14.04 (64-bit) with the exact same steps.
Comment 3 Noopur Gupta CLA 2015-05-05 09:59:59 EDT
Observed that it happens only when the "src" node is expanded once before creating the package:

(In reply to Noopur Gupta from comment #0)
> Eclipse 4.5 M7 (I20150430-1445)
> Ubuntu 14.04
> 
> This issue is not reproducible with Eclipse 4.4.
> 
> Steps:
> - Open a new workspace.
> - Open Error log view and open Project Explorer view in Java perspective.
> - In Project Explorer view, create a new Java Project "P1" 

- Expand its "src" node. Now, create the package.

> and in its "src", create a new Package "p1".
Comment 4 Eric Williams CLA 2018-11-30 10:59:58 EST
I can't reproduce this issue and the version of Ubuntu reported is no longer supported. Please file a new ticket against 4.9 or 4.10 if the bug is reproducible on a supported environment.