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

Bug 317961

Summary: [General] Invalid preference page path
Product: [Modeling] Papyrus Reporter: Tatiana Fesenko <tatiana.fesenko>
Component: CoreAssignee: Emilien Perico <emilien.perico>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Patrick.Tessier
Version: 0.7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch to fix "Invalid preference page: Printing" message none

Description Tatiana Fesenko CLA 2010-06-25 08:45:39 EDT
N201006241830 build:
When the user creates a new papyrus diagram there is an error message in console: 
"Invalid preference page path: UseCase Diagram".  
Exception is not available. UseCase preferences page is displayed in the Papyrus preferences
Comment 1 Emilien Perico CLA 2010-06-28 11:25:15 EDT
Patrick > Any clue about that problem ? Is it a link with the new framework for preferences ?
Comment 2 Tatiana Fesenko CLA 2010-06-29 04:36:40 EDT
(In reply to comment #1)
> Patrick > Any clue about that problem ? Is it a link with the new framework for
> preferences ?

The exception is thrown in CategorizedPageRegistryReader class (from org.eclipse.ui.workbench plugin), line 190.
It means that registry could not find pereferences category, in this cas - "UseCase Diagram"
Comment 3 Patrick Tessier CLA 2010-06-29 11:34:53 EDT
I will try to find the origin of this problem
Comment 4 Patrick Tessier CLA 2010-06-29 12:15:32 EDT
after updating all plugins, I have not succeed to reproduce it.
Comment 5 Tatiana Fesenko CLA 2010-06-30 08:24:40 EDT
The message with "UseCase Diagram" did not appear during last several days, however, the similar message ""Invalid preference page path: UseCase Diagram" appears on every diagram opening
Comment 6 Tatiana Fesenko CLA 2010-06-30 08:26:36 EDT
Created attachment 173081 [details]
Patch to fix "Invalid preference page: Printing" message

Apparently it was just a type in requirements diagram plugin
Comment 7 Tatiana Fesenko CLA 2010-06-30 08:27:44 EDT
> Apparently it was just a type in requirements diagram plugin
"type" -> "typo" =)
Comment 8 Tatiana Fesenko CLA 2010-06-30 08:32:24 EDT
(In reply to comment #0)
...
> "Invalid preference page path: UseCase Diagram".  
> Exception is not available. UseCase preferences page is displayed in the
> Papyrus preferences

It is possible to reproduce this message this way:
1.Select any kind of project. 
2.Invoke Properties in the context menu of the project
3.Voila the exception
Comment 9 Tatiana Fesenko CLA 2010-07-05 13:08:00 EDT
(In reply to comment #8)
> (In reply to comment #0)
> ...
> > "Invalid preference page path: UseCase Diagram".  
> > Exception is not available. UseCase preferences page is displayed in the
> > Papyrus preferences
> 
> It is possible to reproduce this message this way:
> 1.Select any kind of project. 
> 2.Invoke Properties in the context menu of the project
> 3.Voila the exception

I've extracted this problem into Bug 318924 [UseCaseD] Invalid PropertyPages Path
Comment 10 Camille Letavernier CLA 2013-04-10 13:43:48 EDT
Cannot reproduce on the latest version. I close this task.