Regarding the stack trace ...
can http://saros-build.imp.fu-berlin.de/gerrit/#/c/52/3 be abandoned ?
On 24.04.2014 13:58, Zieris, Franz wrote:
Hi Damla,
> If I open eclipse, I get an error in the Error Logs view: unexpected
method call (NullSarosSession.java:64)
That is not an error, but a warning. Since you're using the Saros
version that was released in December 2013, you can easily see which
line causes this message here:
https://github.com/saros-project/saros/blob/release/13.12.6/de.fu_berlin.inf.dpp/src/de/fu_berlin/inf/dpp/serviceProviders/NullSarosSession.java#L64
Messages of this kind are created on every Saros start and don't mean
anything bad.
> the problem is, that if I start a new instance to test my changes, I
get tons of error dialogs (see screenshot)
This is a completely unrelated issue. As your screenshot shows, you'll
find details in the "error log" -- and that is the Error Log of the
Eclipse instance you're getting these error dialogs in, and /not/ the
Error Log in which you see the "unexpected method calls" messages.
Since you added me as a reviewer to your current Draft in Gerrit, I
was able to execute your code that causes the NullPointerExceptions
and to take a look at the stacktrace:
java.lang.NullPointerException
at
de.fu_berlin.inf.dpp.project.internal.UIActivitiesManager.handleOpenedDialog(UIActivitiesManager.java:146)
at
de.fu_berlin.inf.dpp.project.internal.UIActivitiesManager$3.handleDialogActivity(UIActivitiesManager.java:96)
at
de.fu_berlin.inf.dpp.project.internal.UIActivitiesManager$3.windowClosed(UIActivitiesManager.java:116)
at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:972)
[...]
Since this class was newly created in your Draft, you'll find the
reason for the NPEs in your own code.
(Additionally, even without looking at the actual code, the Stacktrace
reveals something weird: Why should a call of "windowClosed" lead to a
call of "handleOpenedDialog"?)
Best Regards,
Franz
*From:*Damla Durmaz [mailto:ddurma...@gmail.com]
*Sent:* Tuesday, April 22, 2014 1:04 AM
*To:* dpp-devel@lists.sourceforge.net
*Subject:* [DPP-Devel] NullSarosSession exception in a freshly
installed plugin
Hello devs,
I am using Mac OSX 10.9.2 and have got the Eclipse Standard 4.3.2
Edition for 64bit systems. I have freshly installed the current Saros
version form the update site. If I open eclipse, I get an error in the
Error Logs view:
unexpected method call (NullSarosSession.java:64)
This also happened with the Eclipse Classic 3.7.2 version for MacOS
64bit, which is recommended on the Saros website for developing and
even with these both versions on my Windows 7 Desktop PC I get this
error. I can still develop and use Saros, but the problem is, that if
I start a new instance to test my changes, I get tons of error dialogs
(see screenshot), which occur again and again if I click them away. As
a workaround, I don't click them away...
Does anyone know the reason for it?
Regards,
Damla.
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel