Bug 471232 - Servers View does not work (multiple Errors; Java.lang.NullPointerException)
Summary: Servers View does not work (multiple Errors; Java.lang.NullPointerException)
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.4.2   Edit
Hardware: PC Windows 8
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-06-28 05:51 EDT by Michael Maton CLA
Modified: 2020-03-27 18:48 EDT (History)
3 users (show)

See Also:


Attachments
Configuration Details (705.32 KB, application/msword)
2015-06-28 05:51 EDT, Michael Maton CLA
no flags Details
Error_log_29.06.2015 (555.18 KB, text/plain)
2015-06-29 13:50 EDT, Michael Maton CLA
no flags Details
workbench (563.58 KB, text/plain)
2015-06-30 18:08 EDT, Michael Maton CLA
no flags Details
LogCAt+++ (5.41 KB, text/plain)
2015-06-30 18:08 EDT, Michael Maton CLA
no flags Details
LogCat (5.41 KB, text/plain)
2015-06-30 18:10 EDT, Michael Maton CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Maton CLA 2015-06-28 05:51:48 EDT
Created attachment 254779 [details]
Configuration Details

When trying to open the Servers View (Perspective "Java EE") an error message occurs: "Multiple Problems occured".

The two Details corresponding two the two errors say:
1) "index=3, size=0"
2) "Java.lan.NullPointerException"

The error log shows two entries from plugin "org.eclipse.e4.ui.worbench"

Very thankful for help? 
I seem not to be able to Change Server configurations anymore...

best Michael
Comment 1 Brian de Alwis CLA 2015-06-29 11:25:39 EDT
Could you include your error log?  And please don't use RTF.
Comment 2 Michael Maton CLA 2015-06-29 13:50:08 EDT
Created attachment 254814 [details]
Error_log_29.06.2015

error log as of 29.06.2015
Comment 3 Michael Maton CLA 2015-06-29 13:51:14 EDT
I uploaded the error log as of today (29.06.) and tried to open the Server view again on 29.06.2015.

Thanks and best,
Michael
Comment 4 Brian de Alwis CLA 2015-06-29 14:24:14 EDT
So the NPE

> java.lang.NullPointerException
>	at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.selectionChanged(CompatibilityPart.java:422)


indicates that there was a pretty catastrophic problem creating the server view.

Could you try running your Eclipse from a fresh workspace and see if that makes a difference?

And how are you opening your Servers view?
Comment 5 Michael Maton CLA 2015-06-30 16:15:31 EDT
I was opening the Servers View simply via top menu "Windows->Show view-> Servers" out of the JAVA EE perspective.

meanwhile I have found a solution:

starting eclipse with Option -clearPersistedState and then the error was gone...

Thanks anyhow a lot !!

Michael
Comment 6 Brian de Alwis CLA 2015-06-30 16:23:31 EDT
Interesting.  If you haven't restarted/exited Eclipse yet, could you attach your workbench.xmi file here please?  It's normally found at:

    <<workspace>>/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

(Basically -clearPersistedState causes this file to be ignored.)

Thanks!
Comment 7 Michael Maton CLA 2015-06-30 18:08:06 EDT
Created attachment 254863 [details]
workbench

not for that. you tried to help me. Here is my workbench file, but since the error I have restarted Eclipse mutiple times...
Comment 8 Michael Maton CLA 2015-06-30 18:08:51 EDT
Created attachment 254864 [details]
LogCAt+++
Comment 9 Michael Maton CLA 2015-06-30 18:10:26 EDT
Created attachment 254865 [details]
LogCat

by the way ...why the AVD is breaking up and saying "... stopped" with the error log attached you don't know? (that's a differently Problem that may be should be excluded of that threas, however you seem to be a real expert...)

Thanks in any way...

Michael
Comment 10 Brian de Alwis CLA 2015-07-03 11:52:12 EDT
(In reply to Michael Maton from comment #7)
> Created attachment 254863 [details]
> workbench
> 
> not for that. you tried to help me. Here is my workbench file, but since the
> error I have restarted Eclipse mutiple times...

So this file should be ok, then.  But looking through it, I noticed that there are several elements with the same xmi:id:

  * The ServersView instance has the same model-id as the ProblemView's view menu (_GBuZih9zEeWPspTMMqDK5g)
  * The ServersView's view menu has the same model-id as the ProblemView's toolbar (_GBuZjB9zEeWPspTMMqDK5g)
  * The ServerView's toolbar has the same model-id as the JavadocView's toolbar
Comment 11 Eclipse Genie CLA 2020-03-27 18:48:07 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.