Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » [neon] Problems with (pre-release) of M6
[neon] Problems with (pre-release) of M6 [message #1727542] Wed, 23 March 2016 16:04 Go to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
Today I changed the maven dependency from 5.2.0.M5 to 6.0.0.M6. There were a few compilation errors which were easily fixed.

However, there are a number of things that fail miserably which worked nicely in 5.2.0:

  • login screen looks extremely ugly
    Login Dialog with 5.2.0.M5 (see login520.png picture)
    Login Dialog with 6.0.0.M6 (see login600.png)
  • null pointer exception in AccessControlService.execLoadPermission() as the
    ServerSession seems to be null whenever user "notification-authenticator" is passed to the method, which is about every 10 seconds.
    Against this, we can easily guard ourselves, but it was unexpected
    
  • null pointer exception because AbstractForm.getDesktop() seems to return null 2016-03-23 16:35:43,386 ERROR scout-model-thread-23 t.c.s.c.a.s.c.ui.desktop.AngebotDesktopExtension - Exception while creating AngebotForms: null [u208490 @ ] java.lang.NullPointerException: null at org.eclipse.scout.rt.client.ui.form.AbstractForm.startInternalExclusive(AbstractForm.java:827) ~[org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6] at ch.sbb.cisi.angebot.scout.client.ui.forms.DetailsZugForm.startModify(DetailsZugForm.java:1282) ~[angebot.scout.client-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT] at ch.sbb.cisi.angebot.scout.client.ui.desktop.AngebotDesktopExtension.execInit(AngebotDesktopExtension.java:321) ~[angebot.scout.client-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT] at org.eclipse.scout.rt.client.ui.desktop.AbstractDesktopExtension.initDelegate(AbstractDesktopExtension.java:43) [org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6] at org.eclipse.scout.rt.client.ui.desktop.AbstractDesktop.initDesktop(AbstractDesktop.java:636) [org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6] at org.eclipse.scout.rt.client.AbstractClientSession.setDesktop(AbstractClientSession.java:409) [org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6] at ch.sbb.cisi.core.client.CoreClientSession.execLoadSession(CoreClientSession.java:69) [core.scout.client-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]

  • null pointer exception because it seems that Desktop.getTitle() is called, before our DesktopExtension.desktopOpenDelegate() is called to set it, so getTitle() returns null. We can fix this easily enough, by setting this to an empty string in our Desktop-constructor, but it is not something that failed before
    2016-03-23 16:47:38,453 ERROR scout-model-thread-22 o.e.scout.rt.platform.exception.ExceptionHandler - NullPointerException:n/a [u208490 @   ]
    java.lang.NullPointerException: null
    	at java.lang.StringBuilder.<init>(StringBuilder.java:109) ~[na:1.7.0_67]
    	at org.eclipse.scout.rt.client.deeplink.DeepLinkUriBuilder.createBrowserHistoryEntry(DeepLinkUriBuilder.java:68) ~[org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6]
    	at org.eclipse.scout.rt.client.deeplink.OutlineHandler.createBrowserHistoryEntry(OutlineHandler.java:53) ~[org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6]
    	at org.eclipse.scout.rt.client.ui.desktop.AbstractDesktop.setOutlineInternal(AbstractDesktop.java:1004) ~[org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6]
    	at org.eclipse.scout.rt.client.ui.desktop.AbstractDesktop$3.run(AbstractDesktop.java:973) ~[org.eclipse.scout.rt.client-6.0.0.M6.jar:6.0.0.M6]
    

  • some new error about there not being an adapter for our outline which worked until then
    2016-03-23 16:47:38,540 WARN  scout-model-thread-23 org.eclipse.scout.rt.ui.html.UiSession - Error while transforming response to JSON: JsonResponse [STARTUP RESPONSE, adapters: 53, events: 5, buffered events adapters: 0] [u208490 @   ]
    java.lang.IllegalArgumentException: No adapter registered for model=ch.sbb.cisi.angebot.scout.client.ui.desktop.outlines.AngebotOutline@1b5babd
    	at org.eclipse.scout.rt.ui.html.json.JsonAdapterUtility.getAdapterIdForModel(JsonAdapterUtility.java:42) ~[org.eclipse.scout.rt.ui.html-6.0.0.M6.jar:6.0.0.M6]
    	at org.eclipse.scout.rt.ui.html.json.JsonAdapterUtility.getAdapterIdForModel(JsonAdapterUtility.java:29) ~[org.eclipse.scout.rt.ui.html-6.0.0.M6.jar:6.0.0.M6]
    	at org.eclipse.scout.rt.ui.html.json.AbstractJsonAdapter.putAdapterIdProperty(AbstractJsonAdapter.java:284) ~[org.eclipse.scout.rt.ui.html-6.0.0.M6.jar:6.0.0.M6]
    	at org.eclipse.scout.rt.ui.html.json.desktop.JsonDesktop.toJson(JsonDesktop.java:259) ~[org.eclipse.scout.rt.ui.html-6.0.0.M6.jar:6.0.0.M6]



I can easily fix the getTitle() error, but don't see how to solve the NPE thrown on the line 827 of AbstractForm: getDesktop().getSimilarViewForms(this

Is what we are seeing unusual, or is this an expected failure when moving from 5.2.0 to 6.0.0? Or are we just the first ones working with DesktopExtensions and additional forms?

_____
Edit: Images are not longer displayed (1920px width is too big for most of the screens). I replaced them with a link.
  • Attachment: login520.png
    (Size: 110.66KB, Downloaded 313 times)
  • Attachment: login600.png
    (Size: 108.90KB, Downloaded 624 times)

[Updated on: Thu, 24 March 2016 11:37] by Moderator

Report message to a moderator

Re: [neon] M6 blows up in our face [message #1727561 is a reply to message #1727542] Wed, 23 March 2016 21:09 Go to previous messageGo to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
I think our Neon.M6 contribution will be the version "6.0.0.M6_1" (release day is on friday at the end of this week)
Re: [neon] M6 blows up in our face [message #1727577 is a reply to message #1727561] Thu, 24 March 2016 07:19 Go to previous messageGo to next message
Urs Beeli is currently offline Urs BeeliFriend
Messages: 573
Registered: October 2012
Location: Bern, Switzerland
Senior Member
I was surprised to find that it was already available, so it seems I was notified too early and got myself a pre-release Smile Am I right in expecting that M6_1 should avoid most of the trouble I encountered with M6?
Re: [neon] M6 blows up in our face [message #1727604 is a reply to message #1727577] Thu, 24 March 2016 11:33 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Urs Beeli wrote on Thu, 24 March 2016 08:19
I was surprised to find that it was already available, so it seems I was notified too early and got myself a pre-release Smile Am I right in expecting that M6_1 should avoid most of the trouble I encountered with M6?


Each release week, we follow the same pattern:
* Platform (projects with offset "+0") are built the friday before
* We start to build on monday (as soon as the Platform is available)
* Our build shoud be ready on Wednesday (because we have the offset "+3")
* The release day is on Friday

The final release pattern is not exactly the same.

You can read more here:
http://wiki.eclipse.org/Neon/Simultaneous_Release_Plan

You can also follow the "cross-project-issues" mailing list where problems are reported.
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev

This is why you can get the Neon M6 Build already now...

----

6.0.0.M6_1 was rebuild because of some signing issues with the jars.
The content of the release should be the same...

----

I have tried the demo app with the Neon M6 release and I could not notice the layout issues you are mentioning...

The other issues you are mentioning needs to be analyzed.

Previous Topic:[NEON] Scrolling/editing tables is very slow in Internet Explorer
Next Topic:Eclipse Scout Neon offline application
Goto Forum:
  


Current Time: Sat Apr 27 01:03:21 GMT 2024

Powered by FUDForum. Page generated in 0.02777 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top