I’ve been watching the error reports trickling into the Sapphire inbox, but unfortunately none of them have been actionable so far. The issue is interaction with third-party code. Consider the following stack trace:
java.lang.NullPointerException: HIDDEN
at org.eclipse.jst.j2ee.model.ModelProviderManager.getModelProvider(ModelProviderManager.java:101)
at org.eclipse.jst.j2ee.model.ModelProviderManager.getModelProvider(ModelProviderManager.java:281)
at HIDDEN.HIDDEN(HIDDEN:-1)
at HIDDEN.HIDDEN(HIDDEN:-1)
at org.eclipse.sapphire.PossibleValuesService.initDataService(PossibleValuesService.java:68)
at org.eclipse.sapphire.services.DataService.init(DataService.java:54)
at org.eclipse.sapphire.services.Service.initIfNecessary(Service.java:60)
at org.eclipse.sapphire.services.ServiceContext.services(ServiceContext.java:217)
at org.eclipse.sapphire.Property.services(Property.java:535)
at org.eclipse.sapphire.Property.service(Property.java:505)
at org.eclipse.sapphire.services.internal.PossibleValuesValidationService$Condition.applicable(PossibleValuesValidationService.java:82)
at org.eclipse.sapphire.services.ServiceProxy.service(ServiceProxy.java:99)
at org.eclipse.sapphire.services.ServiceContext.services(ServiceContext.java:176)
There are three codebases interacting here: Sapphire, WTP and some unknown third-party plugin. Without knowing the hidden details in order to be able to initiate a discussion with the third-party, this error report is not actionable. This is not an isolated case or a minority of cases. Literally all reports received so far for Sapphire are like that. I know that there are other leaf projects with a similar issue.
Now that we have a solution for capturing and hopefully handling errors that only involve eclipse.org code, let’s have a serious discussion on how we can handle error reports involving third-party code.
First question… Why are third-party stack frames hidden? Are the notes from when this was originally considered captured somewhere? I have contact info for many Sapphire adopters. If I knew who to contact, I could actually follow up on these error reports.
Thanks,
- Konstantin