Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (on)  | Unanswered Messages (off)

Forum: Memory Analyzer
 Topic: MAT 1.6 OQL object de-reference problem - yields blank row values
MAT 1.6 OQL object de-reference problem - yields blank row values [message #1736513] Thu, 30 June 2016 04:49
ken marx is currently offline ken marxFriend
Messages: 1
Registered: June 2016
Junior Member
Eclipse MAT plugin 1.6.0.201606221912. Eclipse Mars.2 Release (4.5.2).

(Apologies if this is an already known problem, but my searches didn't find anything seemingly related. I'm also a MAT/OQL newbie.)

I installed the plugin via the usual help->install new sw, using http://download.eclipse.org/mat/snapshots/update-site/.

After that any object dereferencing in an OQL select seems to only yield blanks, even if the field in question is clearly non-blank when viewing its attributes (e.g., via clicking on a row and viewing attributes in the inspector tab.)

For example:
- SELECT s.name.toString(), s, s.@retainedHeapSize FROM org.eclipse.persistence.sessions.server.ServerSession s

This would have visible values for retainedHeapSize and the instances of ServerSession, but not for s.name.toString(). (Or, for that matter s.name, toString(s.name), or other grasped at straws.)

I uninstalled and back-rev'd to 1.5 via http://download.eclipse.org/mat/1.5/update-site/, ( Memory Analyzer 1.5.0.201505271423 org.eclipse.mat.feature.feature.group Eclipse Memory Analyzer) and de-referencing works again.

See attached screenshot (with probably unnecessary redactions, but oh well.)

Thanks in advance for any help/guidance.
Forum: Advanced Scripting Environment (EASE)
 Topic: Load Java Class in Script from current workspace
Re: Load Java Class in Script from current workspace [message #1736519 is a reply to message #1735196] Thu, 30 June 2016 07:09
Zakir Meer is currently offline Zakir MeerFriend
Messages: 12
Registered: February 2016
Junior Member
Hi Christian,

any hints regarding my above post?
Forum: Kura
 Topic: modbus TCP/IP ADU send problem
Re: modbus TCP/IP ADU send problem [message #1736520 is a reply to message #1736394] Thu, 30 June 2016 07:15
Peter Huszar is currently offline Peter HuszarFriend
Messages: 6
Registered: June 2016
Junior Member
Hi Pierre,

I made some code changes and is seems to work. Please let me know what is the review policy, how should I contribute the code. Also there is a TransactionID variable which should persist preferably for more than a single connection attempt. Where would you recommend to place/declare this variable?

Best regards,
Peter
Forum: Jubula
 Topic: Jubula try/catch example
Re: Jubula try/catch example [message #1736522 is a reply to message #1736320] Thu, 30 June 2016 07:39
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1520
Registered: July 2009
Senior Member
Hi Dan,

you're probably looking for "retry event handlers". An example of how they work is here:
http://testing.bredex.de/wait-for-status-text-to-change.html

Best regards,
Alex
Forum: Eclipse Titan
 Topic: Dual-faced test ports: architectural considerations
Dual-faced test ports: architectural considerations [message #1736527] Thu, 30 June 2016 08:26
Elemer Lelik is currently online Elemer LelikFriend
Messages: 315
Registered: January 2015
Senior Member
Greetings.


Typically TTCN-3 code focuses on the behaviour of a protocol layer; this layer will be connected
to the uppermost layer of a communication stack using some glue code named a system adapter(or test port- basically the same thing).
This stack is an IP stack in most of the cases, but it could be an SS7 stack, a serial port, you name it.
Frequently the term "transport" is being used to denote the communication stack in this role; so we have protocols
that connect to and use UDP, or TCP or HTTP as transport.


        +------------------------------------------+
        |                                          |
        |                                          |
        |             Protocol behaviour           |
        |                                          |
        +-------------------+----------------------+
                            | 
        +-------------------v----------------------+
        |                                          |
        |            System adapter/test port      |
        |                                          |
        |                                          |
        +------------------------------------------+
                            | 
        +-------------------v----------------------+
        |                                          |
        |                 Stack                    |
        |                                          |
        |                                          |
        +------------------------------------------+

This article is about reusing the code of the test ports/system adapters.
Let's assume that we have already implemented a test port for a certain transport, say HTTP,
and we have two protocols, A, and B, that use HTTP as transport.

Protocol A is JSON encoded, while B is XML encoded.
The HTTP test port (published on github among Titan-related products, see https://github.com/eclipse/titan.TestPorts.HTTPmsg)
is a generic, protocol-independent port that accepts HTTP requests and responses, plus some control messages (Connect, Close etc.)
Protocol messages of A and B will be encoded and transported in HTTP bodies.



protocol A MsgA1, MsgA2, MsgA3 (JSON encoded)
protocol B MsgB1, MsgB2, MsgB3 (XML encoded)




  
                       +--------------------------------+
                       |                                |
                       |                                |
                       |        Protocol  A (JSON)      |
                       |                                |
        +-----------------------------------------------+
        |              |                                |
        |              |                                |
HTTP    |   Headers    |         Body                   |
        |              |                                |
        +--------------+--------------------------------+







                        +--------------------------------+
                        |                                |
                        |                                |
                        |       Protocol  B (XML)        |
                        |                                |
         +-----------------------------------------------+
         |              |                                |
         |              |                                |
 HTTP    |   Headers    |         Body                   |
         |              |                                |
         +--------------+-------------------------------->
  




The upmost protocol layers describing protocol behaviour will have a test port carrying protocol messages, something like:

 
 type port ProtA_PT message  
{
 inout MsgA1, MsgA2, MsgA3  
}
 
type port ProtB_PT message  
{
 inout MsgB1, MsgB2, MsgB3  
}



OK, so what options we have, short of writing a new test port from scratch, to connect Protocol A to HTTP?


1) Option zero - protocol-specific test ports

We can re-use the code of the HTTP test port (written in C++ for Titan) to create a protocol-specific test port:
add default headers characteristic to A (e.g. Content-Type "application/json"), invoke the appropriate JSON codecs when assembling the HTTP request
or dissecting the HTTP response etc. This is a rather simple exercise; we will have of course to modify the HTTP test port interface accordingly:


type port HTTP_ProtA_PT message  
{
 inout MsgA1, MsgA2, MsgA3  
}
 


but we can achieve a quick result, we have re-used most of the HTTP test port code so ....yay!!!!

OK, now we will have to do something similar for protocol B: add deafult headers(Content-Type "application/xml") , invoke XML codecs etc.
and pretty soon we have a new test port:


type port HTTP_ProtB_PT message  
{
 inout MsgB1, MsgB2, MsgB3  
}  


So now we have three test ports in total: the generic HTTP , the one for protocol A, and the one for protocol B.
And maybe this is the moment when we get a little uncomfortable: what if some new similar protocols will appear?
We will have to have a new test port for each; if any change or correction is needed, this will have to be done across a quickly proliferating set of test ports.
Things can get quickly out of hand and we may decide that having protocol specific test ports, even it's an easy alternative,
it may prove to be difficult to manage and too costly in the long reach.


All right, so what's next???


2) Option one - mapping layer


We can implement mapping between the upper layer protocols and the test port in a separate layer, conveniently
and unsurprisingly named "mapping layer". Basically whatever has been done in C++ (or lower level code in general)
in the test port will have to be done in TTCN-3: assembling /disassembling messages, invoking codecs etc.

type component Mapping_CT
{

  var boolean v_run;
  
  
  port  ProtA_PT 	ProtA_PCO;
  port  HTTPmsg_PT  HTTP_A_PCO;
  
}

type component System_CT  
{
  port  HTTPmsg_PT  HTTP_A_PCO; 
}


        +------------------------------------------+
        |                                          |
        |                                          |
        |             Protocol A                   |
        |                                          |
        +-------------------+----------------------+
                            | ProtA_PT
        +-------------------v----------------------+
        |                                          |
        |            Mapping component             |
        |                                          |
        |                                          |
        +-------------------+----------------------+
                            |
                            |
                            v   HTTP_PT
        +-------------------+----------------------+
        |                                          |
        |                System                    |
        |                                          |
        |                                          |
        +------------------------------------------+







The mapping component will run a loop function, something like:
		
//************************************************************************* 
function f_ScanPorts  runs on Mapping_CT
//*************************************************************************

{//startfunction ScanPorts



  v_run := true;
 

  while (v_run)
  {//startwhile
    alt
    {//startalt

      //************************************************************************* 
      // Messages  received  on the upper (protocol)  port
      //*************************************************************************

      [] ProtA_PCO.receive(MsgA1:?) -> value vl_msgA1

        {//startStatementBlock
		
         //JSON-encode vl_msgA1 and make it the body of an HTTP message     
         //assemble HTTP headers
		 //open HTTP 
		 //send HTTP request
		 //close HTTP

        }//endStatementBlock
		
		:
		:

      //************************************************************************* 
      // Messages  received from the HTTP port
      //*************************************************************************


      []HTTP_PCO.receive(HTTPResponse: ?) -> value vl_HTTPResponse;
      {//startStatementBlock
       
	   
	   //extract body from HTTP response
	   //JSON-decode it into protocol message
	   //send message on the upper port 

   

      }//endStatementBlock

:
:


    }//endalt

  }//endwhile

}//endfunction  ScanPorts



v_run can be set to false for instance at the reception of an appropriate message on an internal control port,
permitting a controlled termination of the mapping component.




All right, this seems a bit better: in the end we have only one test port (so one separate product to maintain), at the expense of some extra TTCN-3 code and a separate mapping layer.
This separate layer could be a good option when we need to implement some complex stateful behaviour but in general this should not be necessary.
Also, one may object that we simply moved the problem out of the test port and into the TTCN-3 code of the mapping layer.
Still not an ideal situation .......

OK, anything else?

3)Option two- dual-faced test port


Dual faced test ports implement the above idea in a more elegant and transparent manner, without the need for a separate component.


This is the original definition of the HTTP test port:

  type port HTTPmsg_PT message
  {
    // Connection handling ASPs
    inout   Close;
    out     Connect;
    in      Connect_result;
    in      Client_connected;
    inout   Half_close;
    out     Listen;
    in      Listen_result;
    inout   Shutdown;

    // Message to send and receive
    inout   HTTPMessage;
  }with { extension "provider" };



This can be extended with declarations that describe the mapping between the northern face( accepting protocol A, B, etc. messages)
and the southern face( the HTTP port itself)


type port ProtA_PT message  //DualFace port
{
inout MsgA1, MsgA2, MsgA3          
}with 
{ extension 
   "user HTTPmsg_PT
      out(
        MsgA1 -> HTTPMessage: function(f_assemble_Request_from_MsgA1);
        MsgA2 -> HTTPMessage: function(f_assemble_Request_from_MsgA2);
        MsgA3 -> HTTPMessage: function(f_assemble_Request_from_MsgA3)
    )    
      in(
        HTTPMessage ->  MsgA1 : function(f_dec_Response_to_MsgA1),
	                    MsgA2 : function(f_dec_Response_to_MsgA2),
	                    MsgA3 : function(f_dec_Response_to_MsgA3);
	    Close       ->   -    : .....           
    )
   " 
   
}



The mapping functions will have to be implemented manually and will do all steps of the mapping: encoding/decoding, message assembling/disassembling etc.)

function f_assemble_Request_from_MsgA1 runs on ProtocolA_CT
{

var HTTPRequest v_HTTPRequest
var HTTPMessage v_HTTPMessage

//MsgA received 
//send Connect 
//if Connect_result is OK
//v_HTTPRequest.client_id optional,
//v_HTTPRequest.method:= "GET";
//v_HTTPRequest.uri:=....;
//v_HTTPRequest.version_major:=1;
//v_HTTPRequest.version_minor:=0;
//v_HTTPRequest.header:=
//v_HTTPRequest.body =f_encode(v_msgA1)  //JSON encoding of msgA1
//v_HTTPMessage.request:=v_HTTPRequest;
//port.send(v_HTTPMessage) 
//send Close
}




The end result: only one test port, no additional layer or component, and a minimal number of extra lines of easily readable TTCN-3 code.

So far, this seems to be the winning option. Viewed from a product perspective,
all transport issues can be solved with a small number of test ports (UDP, TCP, SCTP, HTTP and so on..), one for each transport stack.

In fact, instead of HTTP, I could also have used UDP or TCP as an example.

Several dual-faced test port examples have been published in this forum:

Dual-faced IPL4 test port in UDP mode
Example of ping (ICMP) over a layer 2 test port with Titan
Example of SNMP over UDP


and the reference guide supplies further details.

The standard describes these ports as "ports with translation capability" in

TTCN-3 Language Extensions:
Configuration and Deployment Support
5.2 Ports with translation capability


Besides the above example, the dual-faced test ports can be used in all kinds of protocol translations, such as translating between two different versions of the same protocol,
but also translating between say SIP and ISUP, as a protocol gateway, connecting the IP and SS7 realm.



Best regards

Elemer

[Updated on: Thu, 30 June 2016 14:16]

Report message to a moderator

Forum: C / C++ IDE (CDT)
 Topic: How to add Boost to Eclipse
Re: How to add Boost to Eclipse [message #1736536 is a reply to message #1736507] Thu, 30 June 2016 09:12
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 77
Registered: June 2014
Member
What have you tried already? Adding boost into Eclipse should be no different than any other library.
Forum: RCP Testing Tool
 Topic: Unable to Launch AUT with RCPTT
Unable to Launch AUT with RCPTT [message #1736537] Thu, 30 June 2016 09:12
Rajesh Singh is currently offline Rajesh SinghFriend
Messages: 7
Registered: March 2016
Junior Member
!SESSION 2016-06-29 11:22:38.659 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IN
Framework arguments: -product com.kpit.denso.ui.product -eclipse.keyring D:\DIAG_PRODUCTS\iHDS\20160613_1444\workspace/secure_storage
Command-line arguments: -product com.kpit.denso.ui.product -data D:\DIAG_PRODUCTS\iHDS\20160613_1444\workspace -dev file:D:/DIAG_PRODUCTS/iHDS/20160613_1444/workspace/dev.properties -os win32 -ws win32 -arch x86 -consoleLog -eclipse.keyring D:\DIAG_PRODUCTS\iHDS\20160613_1444\workspace/secure_storage

!ENTRY org.eclipse.osgi 2 0 2016-06-29 11:22:44.710
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.710
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.gmf.aspects_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf.aspects 2 0 2016-06-29 11:22:44.710
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf.aspects 2 0 2016-06-29 11:22:44.710
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.710
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.recording.gmf_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gmf 2 0 2016-06-29 11:22:44.711
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.711
!MESSAGE Bundle reference:file:/D:/DIAG_PRODUCTS/iHDS/20160613_1444/plugins/com.in2soft.graph.swt-3Dgraph_1.0.0.201605121610.jar was not resolved.
!SUBENTRY 2 com.in2soft.graph.swt-3Dgraph 2 0 2016-06-29 11:22:44.711
!MESSAGE Missing native code match lib/dll/gluegen-rt.dll; lib/dll/nativewindow_awt.dll; lib/dll/nativewindow_win32.dll; lib/dll/jogl_desktop.dll; lib/dll/newt.dll; processor=x86; osname=win32.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.711
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.verifications.log_2.1.0.201512011236.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.verifications.log 2 0 2016-06-29 11:22:44.711
!MESSAGE Missing required bundle com.google.guava_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.711
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.gmf_2.1.0.201605211632.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf 2 0 2016-06-29 11:22:44.711
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.core_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf 2 0 2016-06-29 11:22:44.712
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.712
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.recording.draw2d_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.draw2d 2 0 2016-06-29 11:22:44.712
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.712
!MESSAGE Bundle reference:file:/D:/DIAG_PRODUCTS/iHDS/20160613_1444/plugins/com.in2soft.license.login_1.0.5.201402180938.jar was not resolved.
!SUBENTRY 2 com.in2soft.license.login 2 0 2016-06-29 11:22:44.712
!MESSAGE Missing native code match lib/matrix32.dll; lib/jacob-1.15-M3-x86.dll; processor=x86; osname=win32, lib/matrix64.dll; lib/jacob-1.15-M3-x64.dll; processor=x86_64; osname=win32, lib/libmxlin.so.2.6.0; processor=x86; osname=Linux, lib/libmxlin64.so.2.6.0; processor=x86_64; osname=Linux.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.712
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.ctx.workbench.aspect_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.ctx.workbench.aspect 2 0 2016-06-29 11:22:44.712
!MESSAGE Missing required bundle org.eclipse.ui.views.log_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.713
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.recording.aspects.gef_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gef 2 0 2016-06-29 11:22:44.713
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.713
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.emf.importer.java_2.7.0.v20140203-1126.jar was not resolved.
!SUBENTRY 2 org.eclipse.emf.importer.java 2 0 2016-06-29 11:22:44.713
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.713
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.emf.codegen.ecore_2.9.1.v20140203-1126.jar was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen.ecore 2 0 2016-06-29 11:22:44.713
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen.ecore 2 0 2016-06-29 11:22:44.713
!MESSAGE Missing required bundle org.eclipse.jdt.launching_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.713
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.emf.codegen.ecore.ui_2.9.1.v20140203-1126.jar was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen.ecore.ui 2 0 2016-06-29 11:22:44.713
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.714
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.recording.aspects.gmf_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gmf 2 0 2016-06-29 11:22:44.714
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gmf 2 0 2016-06-29 11:22:44.714
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.714
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.gef.aspects_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gef.aspects 2 0 2016-06-29 11:22:44.714
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.714
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.gef_2.1.0.201605211632.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gef 2 0 2016-06-29 11:22:44.714
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.714
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.emf.codegen_2.9.0.v20140203-1126.jar was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen 2 0 2016-06-29 11:22:44.714
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen 2 0 2016-06-29 11:22:44.715
!MESSAGE Missing required bundle org.eclipse.jdt.launching_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.715
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.jdt_2.1.0.201605211632.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.jdt 2 0 2016-06-29 11:22:44.715
!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.715
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.emf.codegen.ui_2.6.0.v20140203-1126.jar was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen.ui 2 0 2016-06-29 11:22:44.715
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen.ui 2 0 2016-06-29 11:22:44.715
!MESSAGE Missing required bundle org.eclipse.jdt.launching_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.716
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.verifications.log.impl_2.1.0.201512011236.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.verifications.log.impl 2 0 2016-06-29 11:22:44.716
!MESSAGE Missing required bundle com.google.guava_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.716
!MESSAGE Bundle reference:file:/D:/Automation/workspaceTest/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.eclipse.rcptt.tesla.jdt.aspects_2.1.0.201510050740.jar was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.jdt.aspects 2 0 2016-06-29 11:22:44.716
!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2016-06-29 11:22:44.731
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.732
!MESSAGE Bundle org.eclipse.emf.ant_2.8.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.ant 2 0 2016-06-29 11:22:44.732
!MESSAGE Missing required bundle org.eclipse.emf.codegen_[2.9.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.ant 2 0 2016-06-29 11:22:44.732
!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore_[2.9.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.732
!MESSAGE Bundle org.eclipse.emf.codegen_2.9.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen 2 0 2016-06-29 11:22:44.732
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen 2 0 2016-06-29 11:22:44.732
!MESSAGE Missing required bundle org.eclipse.jdt.launching_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.732
!MESSAGE Bundle org.eclipse.emf.codegen.ecore_2.9.1.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen.ecore 2 0 2016-06-29 11:22:44.732
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen.ecore 2 0 2016-06-29 11:22:44.732
!MESSAGE Missing required bundle org.eclipse.jdt.launching_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen.ecore 2 0 2016-06-29 11:22:44.733
!MESSAGE Missing required bundle org.eclipse.emf.codegen_[2.9.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.733
!MESSAGE Bundle org.eclipse.emf.codegen.ecore.ui_2.9.1.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen.ecore.ui 2 0 2016-06-29 11:22:44.733
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen.ecore.ui 2 0 2016-06-29 11:22:44.733
!MESSAGE Missing required bundle org.eclipse.emf.codegen.ecore_[2.9.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.733
!MESSAGE Bundle org.eclipse.emf.codegen.ui_2.6.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.codegen.ui 2 0 2016-06-29 11:22:44.733
!MESSAGE Missing required bundle org.eclipse.emf.codegen_[2.9.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen.ui 2 0 2016-06-29 11:22:44.733
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.codegen.ui 2 0 2016-06-29 11:22:44.734
!MESSAGE Missing required bundle org.eclipse.jdt.launching_[3.5.0,4.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.734
!MESSAGE Bundle org.eclipse.emf.converter_2.6.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.converter 2 0 2016-06-29 11:22:44.734
!MESSAGE Missing required bundle org.eclipse.emf.codegen.ecore_[2.9.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.converter 2 0 2016-06-29 11:22:44.734
!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_[2.9.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.734
!MESSAGE Bundle org.eclipse.emf.exporter_2.7.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.exporter 2 0 2016-06-29 11:22:44.734
!MESSAGE Missing required bundle org.eclipse.emf.converter_[2.6.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.exporter 2 0 2016-06-29 11:22:44.734
!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_[2.9.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.734
!MESSAGE Bundle org.eclipse.emf.importer_2.8.1.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.importer 2 0 2016-06-29 11:22:44.734
!MESSAGE Missing required bundle org.eclipse.emf.converter_[2.6.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.importer 2 0 2016-06-29 11:22:44.735
!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_[2.9.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.735
!MESSAGE Bundle org.eclipse.emf.importer.ecore_2.7.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.importer.ecore 2 0 2016-06-29 11:22:44.735
!MESSAGE Missing required bundle org.eclipse.emf.importer_[2.8.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.importer.ecore 2 0 2016-06-29 11:22:44.735
!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_[2.9.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.importer.ecore 2 0 2016-06-29 11:22:44.735
!MESSAGE Missing optionally required bundle org.eclipse.emf.ant_[2.8.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.735
!MESSAGE Bundle org.eclipse.emf.importer.java_2.7.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.importer.java 2 0 2016-06-29 11:22:44.736
!MESSAGE Missing required bundle org.eclipse.jdt.core_[3.5.0,4.0.0).
!SUBENTRY 2 org.eclipse.emf.importer.java 2 0 2016-06-29 11:22:44.736
!MESSAGE Missing required bundle org.eclipse.emf.importer_[2.8.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.importer.java 2 0 2016-06-29 11:22:44.736
!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_[2.9.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.importer.java 2 0 2016-06-29 11:22:44.736
!MESSAGE Missing optionally required bundle org.eclipse.emf.ant_[2.8.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.736
!MESSAGE Bundle org.eclipse.emf.importer.rose_2.7.0.v20140203-1126 was not resolved.
!SUBENTRY 2 org.eclipse.emf.importer.rose 2 0 2016-06-29 11:22:44.736
!MESSAGE Missing required bundle org.eclipse.emf.importer_[2.8.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.importer.rose 2 0 2016-06-29 11:22:44.737
!MESSAGE Missing optionally required bundle org.eclipse.emf.codegen.ecore.ui_[2.9.0,3.0.0).
!SUBENTRY 2 org.eclipse.emf.importer.rose 2 0 2016-06-29 11:22:44.737
!MESSAGE Missing optionally required bundle org.eclipse.emf.ant_[2.8.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.737
!MESSAGE Bundle org.eclipse.rcptt.ctx.workbench.aspect_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.ctx.workbench.aspect 2 0 2016-06-29 11:22:44.737
!MESSAGE Missing required bundle org.eclipse.ui.views.log_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.737
!MESSAGE Bundle org.eclipse.rcptt.tesla.gef_2.1.0.201605211632 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gef 2 0 2016-06-29 11:22:44.737
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gef 2 0 2016-06-29 11:22:44.737
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gef.aspects_[2.1.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.738
!MESSAGE Bundle org.eclipse.rcptt.tesla.gef.aspects_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gef.aspects 2 0 2016-06-29 11:22:44.738
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.738
!MESSAGE Bundle org.eclipse.rcptt.tesla.gmf_2.1.0.201605211632 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf 2 0 2016-06-29 11:22:44.738
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.core_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf 2 0 2016-06-29 11:22:44.738
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf 2 0 2016-06-29 11:22:44.738
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gef_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf 2 0 2016-06-29 11:22:44.738
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gmf.aspects_[2.1.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.739
!MESSAGE Bundle org.eclipse.rcptt.tesla.gmf.aspects_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf.aspects 2 0 2016-06-29 11:22:44.739
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.gmf.aspects 2 0 2016-06-29 11:22:44.740
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.740
!MESSAGE Bundle org.eclipse.rcptt.tesla.jdt_2.1.0.201605211632 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.jdt 2 0 2016-06-29 11:22:44.740
!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.jdt 2 0 2016-06-29 11:22:44.740
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.jdt.aspects_[2.1.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.740
!MESSAGE Bundle org.eclipse.rcptt.tesla.jdt.aspects_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.jdt.aspects 2 0 2016-06-29 11:22:44.740
!MESSAGE Missing required bundle org.eclipse.jdt.core_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.741
!MESSAGE Bundle org.eclipse.rcptt.tesla.recording.aspects.gef_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gef 2 0 2016-06-29 11:22:44.741
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gef 2 0 2016-06-29 11:22:44.741
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gef.aspects_[2.1.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.741
!MESSAGE Bundle org.eclipse.rcptt.tesla.recording.aspects.gmf_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gmf 2 0 2016-06-29 11:22:44.741
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gmf 2 0 2016-06-29 11:22:44.741
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gef.aspects_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.aspects.gmf 2 0 2016-06-29 11:22:44.741
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.741
!MESSAGE Bundle org.eclipse.rcptt.tesla.recording.draw2d_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.draw2d 2 0 2016-06-29 11:22:44.741
!MESSAGE Missing required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.742
!MESSAGE Bundle org.eclipse.rcptt.tesla.recording.gef_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gef 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing optionally required bundle org.eclipse.gef_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gef 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.recording.aspects.gef_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gef 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gef_[2.1.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.742
!MESSAGE Bundle org.eclipse.rcptt.tesla.recording.gmf_2.1.0.201510050740 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gmf 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.recording.aspects.gmf_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gmf 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing required bundle org.eclipse.gmf.runtime.diagram.ui_0.0.0.
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gmf 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.recording.gef_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gmf 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gmf_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.rcptt.tesla.recording.gmf 2 0 2016-06-29 11:22:44.742
!MESSAGE Missing required bundle org.eclipse.rcptt.tesla.gef_[2.1.0,3.0.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.743
!MESSAGE Bundle org.eclipse.rcptt.util.swt.win64_2.1.0.201506300557 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.util.swt.win64 2 0 2016-06-29 11:22:44.743
!MESSAGE Platform filter did not match: (&(osgi.ws=win32) (osgi.arch=x86_64))
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.743
!MESSAGE Bundle org.eclipse.rcptt.verifications.log_2.1.0.201512011236 was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.verifications.log 2 0 2016-06-29 11:22:44.743
!MESSAGE Missing required bundle com.google.guava_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2016-06-29 11:22:44.743
!MESSAGE Bundle org.eclipse.rcptt.verifications.log.impl_2.1.0.201512011236 [359] was not resolved.
!SUBENTRY 2 org.eclipse.rcptt.verifications.log.impl 2 0 2016-06-29 11:22:44.743
!MESSAGE Missing required bundle org.eclipse.rcptt.verifications.log_[2.1.0,3.0.0).
!SUBENTRY 2 org.eclipse.rcptt.verifications.log.impl 2 0 2016-06-29 11:22:44.743
!MESSAGE Missing required bundle com.google.guava_0.0.0.

!ENTRY org.eclipse.rcptt.tesla.swt.aspects 1 0 2016-06-29 11:22:44.929
!MESSAGE DebugDisplayAspect activated
!STACK 0
java.lang.RuntimeException: DebugDisplayAspect activated
at org.eclipse.rcptt.tesla.swt.aspects.DebugDisplayAspect.logStackTrace(DebugDisplayAspect.aj:19)
at org.eclipse.rcptt.tesla.swt.aspects.DebugDisplayAspect.<init>(DebugDisplayAspect.aj:15)
at org.eclipse.rcptt.tesla.swt.aspects.DebugDisplayAspect.ajc$postClinit(DebugDisplayAspect.aj:1)
at org.eclipse.rcptt.tesla.swt.aspects.DebugDisplayAspect.<clinit>(DebugDisplayAspect.aj:11)
at org.eclipse.swt.widgets.Display.register(Display.java:3766)
at org.eclipse.swt.widgets.Display.create(Display.java:839)
at org.eclipse.swt.graphics.Device.<init>(Device.java:137)
at org.eclipse.swt.widgets.Display.<init>(Display.java:489)
at org.eclipse.swt.widgets.Display.<init>(Display.java:480)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1680)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.getApplicationDisplay(E4Application.java:120)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:141)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

!ENTRY org.eclipse.rcptt.tesla.swt.aspects 1 0 2016-06-29 11:22:44.930
!MESSAGE Display register called. This is not an error.
!STACK 0
java.lang.RuntimeException: Display register called. This is not an error.
at org.eclipse.rcptt.tesla.swt.aspects.DebugDisplayAspect.logStackTrace(DebugDisplayAspect.aj:19)
at org.eclipse.rcptt.tesla.swt.aspects.DebugDisplayAspect.ajc$before$org_eclipse_rcptt_tesla_swt_aspects_DebugDisplayAspect$1$bba6cb74(DebugDisplayAspect.aj:27)
at org.eclipse.swt.widgets.Display.register(Display.java:3766)
at org.eclipse.swt.widgets.Display.create(Display.java:839)
at org.eclipse.swt.graphics.Device.<init>(Device.java:137)
at org.eclipse.swt.widgets.Display.<init>(Display.java:489)
at org.eclipse.swt.widgets.Display.<init>(Display.java:480)
at org.eclipse.swt.widgets.Display.getDefault(Display.java:1680)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.getApplicationDisplay(E4Application.java:120)
at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:141)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)

!ENTRY org.eclipse.e4.ui.workbench 1 0 2016-06-29 11:22:47.080
!MESSAGE Nothing to merge for "platform:/plugin/com.kpit.denso.measurement.contribute/fragment.e4xmi"

!ENTRY org.eclipse.e4.ui.workbench 1 0 2016-06-29 11:22:47.086
!MESSAGE Nothing to merge for "platform:/plugin/com.kpit.denso.measurement.contribute/fragment.e4xmi"

!ENTRY com.kpit.denso.ui 4 0 2016-06-29 11:23:01.225
!MESSAGE Failed to init RT-System!
!STACK 0
com.kpit.diagfw.diagnosticapi.TaskException: could not initialize rtConnectionService
at com.kpit.diagfw.diagnosticapi.otx.DiagnosticApiOtx.init(DiagnosticApiOtx.java:315)
at com.kpit.diagfw.diagnosticapi.otx.DiagnosticAPIInject.init(DiagnosticAPIInject.java:205)
at com.kpit.denso.ui.LifeCycleManager$3.run(LifeCycleManager.java:512)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Forum: XML Schema Definition (XSD)
 Topic: Cloning annotations
Re: Cloning annotations [message #1736542 is a reply to message #604178] Thu, 30 June 2016 09:31
Dilip Baviskar is currently offline Dilip BaviskarFriend
Messages: 1
Registered: June 2016
Junior Member
Keshav,
Is your issue for deep cloning of annotation resolved ?
Forum: GEF
 Topic: MvcUiModule dependency on PlatformUI
Re: MvcUiModule dependency on PlatformUI [message #1736543 is a reply to message #1736101] Thu, 30 June 2016 09:32
Robert Onslow is currently offline Robert OnslowFriend
Messages: 16
Registered: March 2016
Junior Member
Yes, have switched to a pure JavaFX E4 app.
Thanks
Robert
Forum: EclipseLink
 Topic: QUERY_RESULTS_CACHE vs CACHE_USAGE and QUERY_TYPE
QUERY_RESULTS_CACHE vs CACHE_USAGE and QUERY_TYPE [message #1736554] Thu, 30 June 2016 10:19
Alberto Gori is currently offline Alberto GoriFriend
Messages: 1
Registered: June 2016
Junior Member
Can you explain me what is the difference between

@QueryHint(name = QueryHints.CACHE_USAGE, value=CacheUsage.CheckCacheThenDatabase),
@QueryHint(name = QueryHints.QUERY_TYPE, value = QueryType.ReadObject),


and just

@QueryHint(name = QueryHints.QUERY_RESULTS_CACHE, value = "true")


has hints on a NamedQuery?
Forum: Remote Application Platform (RAP)
 Topic: GEF figure move problem
Re: GEF figure move problem [message #1736555 is a reply to message #1735825] Thu, 30 June 2016 10:21
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 194
Registered: March 2010
Location: France
Senior Member
Have you tried with the latest gef port version ? current version you use seems to be a bit old
Forum: Newcomers
 Topic: MARS - CVS plugin configuration
Re: MARS - CVS plugin configuration [message #1736563 is a reply to message #1736500] Thu, 30 June 2016 11:10
William Harrelson is currently offline William HarrelsonFriend
Messages: 4
Registered: May 2013
Junior Member
Hmm, well, when I checked the plugin (Help→Install New Software...
"Work with:" "The Eclipse Project Updates" option.
"Eclipse CVS Client" still showed. So I installed again, and now everything is working after a re-start.
 Topic: Installer vs. usability at all
Re: Installer vs. usability at all [message #1736574 is a reply to message #1736505] Thu, 30 June 2016 12:06
Ed Merks is currently offline Ed MerksFriend
Messages: 27585
Registered: July 2009
Senior Member
Sven,

Comments below.


On 29.06.2016 17:38, Sven Hofrichter wrote:
> Hi Ed,
>
> thank you for your reply. I hope it's right to send you some
> additional feedback and answers to your question.
>
> a profile is the special folder, where windows, ios or linux save the
> user specific things - do you have a different name for it?
User home folder. Via Java's system properties it's "user.home".
> Eclipse is an IDE and should not install most of it things into that
> folder. Such a folder is for user specific settings and not for
> installations, right?
If the whole installation is user specific, that seems okay. For
example, if you have a read-only installation created by a system admin,
Eclipse will create a "surrogate" installation in ~/.eclipse/<hash>/.
But in the end you can install things wherever you like, as long as you
have write permissions for that folder.
>
> The download link wasn't dominant enough or better said: do you really
> think "Download Packages" is the correct wording for "alternative
> downloads" - especially for such a pluggable ide, like eclipse? But
> okay, it seems to be my fault ;)
The foundation staff decide how the pages look and ask for feedback from
the community, so you could certainly suggest clearer wording (though
personally I think it's fine).
>
> Sorry for sitting and waiting until the installation was done, but do
> you do other things on the same computer, when you especially took
> time, to test the new release of the IDE?
Yes. I always try to multi-task, but I understand why you might want to
focus on one task and be eager for it to complete quickly. Note that I
often test for a clean user scenario, where the bundle pool is empty so
it's like the uses installing something for the first time. When
servers are functioning reasonably, this takes on the order of 2 minutes
for me. But of course when Neon first releases, there are a great many
users banging the server, and different people have different network
behaviors, and even proxies that slow things down further...
>
> Sorry for not understanding, why the eclipse-makers/-documentors do
> not fix the reason for those "many people" who "have trouble unzipping
> and [...] launching because there's no good Java installed.". This
> needs to be part of a good INSTALL.txt or (if it exists) a transparent
> AND structured way to describe the most important really first steps
> ;) This is NOT a job of a forum or a wiki, this must be part of the
> installation. But this is my opinion, okay, my fault?
Many users simply don't know what to do with a zip file, and find
Windows built-in unzip is crippled. But yes, the launcher is kind of
brain dead too, and should do more to find a good JRE if one exists on
the machine (like Oomph's own native self-extracting exe does).
>
> "stability, compatibility and cooperate design between plugins": It
> can not be, that I get Exceptions at the first start of an fresh
> installed ide with a blank workspace. Don't know, what kind it was,
> but .... rrr
I've tested for that as well:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=483982

And have tried to make the teams aware of this problem. But awareness
don't actually fix the problems.
>
> "You have complete control over where and how everything is
> installed." Oh nooooo, not in the installer-version! You can choose an
> installation folder, that's right, but most of the IDE-plugins were
> installed into my user-profile and not in the chosen installation
> folder! Sorry, but you are not right, if you say, you have complete
> control.
You also have control over the bundle pool location (from the menu in
the upper right), or even whether a bundle pool is used at all (also
from the menu in the upper right).
>
> "Not everyone has such short nerves." right, but to see the same
> unfixed and known bugs/problems of the previous release in the current
> one is not okay - espacially after a long running installation, that
> scattered its files all around!
Sorry for that, but it's a scatter-shot critique of a whole bunch of
projects. I can't control that, and perhaps there are people working in
the spare time on such projects that have limited time to work on them.
A million users might complain, but if each one contributed a penny
toward fixing the problem, there would be $100,000 to fix it. That's
open source. You get it for free (though using your valuable time to
install and learn it), and you can complain for free. But fixing
problems is costly, and bread on the table doesn't get there for free.
> And the 4k-display hack - or however you call the really hidden
> -Dswt.autoScale-option, to scale the icons?
Yes, I was horrified to see how bad Neon looked only to find I could
avoid it with this option. I added it to my user.setup so I won't have
to see it again. But yes, how is one to learn about this? And it's not
just the icons that look horrible, there are all kinds of repaint
problems in the editor. Of course I've been too busy (lazy?) to report
that problem, so that won't get fixed until I or someone does. Or
maybe if it bothers me enough I'll figure how why it's broken and help
fix it. Doing things yourself is the only way to be sure it gets done.
> It is especially in those situation an hack, when you see those small
> icons after you used the installer - oh, sorry, but don't you run into
> trouble with all the people who do not have a "good Java installed"?
Of course it has nothing to do with the installer....
> Again: You should try, to get it more simple, if you start to reach
> all those people, that loads an java-based ide and have trouble
> unzipping? Sound's like a wrong target group, right?
Sorry, I'm not sure I understand the point. What specifically could we
make more simple?
>
> However, I wanted to give some feedback to eclipse and hope, that it
> helps a little bit.
Constructive feedback is always useful, and I understand when one is
frustrated, but it's hard for that not to bubble through.
 Topic: Eclipse 4.6.0 Dark Theme , but grey toolbars
Eclipse 4.6.0 Dark Theme , but grey toolbars [message #1736575] Thu, 30 June 2016 12:28
mowl alter is currently offline mowl alterFriend
Messages: 1
Registered: June 2016
Junior Member
Hi,
i tried to switch to dark theme and installed moonrise ui theme + eclipse color theme plugin in eclipse 4.6.0, but my toolbars don't change. i only found a lot of posts about a white editor window, but no answers to my problem.
index.php/fa/26305/0/
Does anyone know how to fix this?

rob
Forum: EGit / JGit
 Topic: Could not initialize class org.eclipse.jgit.util.FS
Could not initialize class org.eclipse.jgit.util.FS [message #1736548] Thu, 30 June 2016 09:53
Pawel Eljasz is currently offline Pawel EljaszFriend
Messages: 6
Registered: March 2015
Junior Member
hi,
I'm trying to configure Eclipse, I go in Team -> Git -> Configuration , and I get:

An error has occurred. See error log for more details.
Could not initialize class org.eclipse.jgit.util.FS

and in log:

!ENTRY org.eclipse.jface 4 2 2016-06-30 10:45:25.770
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.jgit.util.FS
at org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage.init(GlobalConfigurationPreferencePage.java:236)


I'm on a pretty plain vanilla fedora24, I wonder if you might have a solution/suggestion?
many thanks
L.
Re: Could not initialize class org.eclipse.jgit.util.FS [message #1736577 is a reply to message #1736548] Thu, 30 June 2016 12:41
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 835
Registered: July 2009
Senior Member
Looks like you miss the bundle org.eclipse.jgit in your installation
Forum: OM2M
 Topic: Why the ID of lamp sample is 30??
Why the ID of lamp sample is 30?? [message #1736578] Thu, 30 June 2016 12:43
Trung Luu is currently offline Trung LuuFriend
Messages: 2
Registered: June 2016
Junior Member
Hi all,

I'm working on om2m project and I cannot figure out why the ID of the lamp ipe sample is "30"(from command start 30in OSGi). can anyone explain for me, many thanks.
Forum: Oomph
 Topic: Oomps is able to share preferences between different eclipse instances?
Re: Oomps is able to share preferences between different eclipse instances? [message #1736572 is a reply to message #1736497] Thu, 30 June 2016 11:46
Ed Merks is currently offline Ed MerksFriend
Messages: 27585
Registered: July 2009
Senior Member
Lidia,

Comments below.


On 29.06.2016 15:56, Lidia Gutu wrote:
> Hi Ed,
>
> I have few updates. Based on my needs described above, can I use:
> -Doomph.redirection.mirror.nothing=true \
> Seems that it helps to solve the SocketTimeoutException errors.
> If I skip 'mirror' feature, would be oomph still properly working
> regarding saving preferences in user.setup and installation.setup ?
> What is the purpose of 'mirror' feature?
The primary purpose of this is for use the the SetupArchiver application
which builds the zip file containing the entire setup structure (which
is what that code where the exception you're concerned about is
processing). Of course when building this archive, we want to access
all the resources directly, not from the archive itself. If that solves
your problem (I'm not sure why or how), that's fine. But I really
wonder how your application is able to load and index and the product
catalogs...
>
> Suppose that more users are using same eclipse, from same location,
> can I share few predefined preferences between all users by using oomph?
If it's a shared installation, the Installation.setup.
> The installation file is saved in user's custom location, it's not
> exactly what I would need.
> fir:/home/<user>/.eclipse/configuration/org.eclipse.oomph.setup/installation.setup
>
This is created initially as a copy of the one in the shared installation.
>
> Can I create in this case an index/catalog that will contain only few
> custom eclipse preferences that should be applied to all users, if I
> save the created *.setup file in a shared location ?
If you define your own index with your own product definition you can
define variables in that product definition that will be used by all
users that install it.
>
> Thanks a lot for all your support.
> Kind Regards
> Lidia
>
>
>
>
>
Re: Oomps is able to share preferences between different eclipse instances? [message #1736579 is a reply to message #1736572] Thu, 30 June 2016 12:46
Lidia Gutu is currently offline Lidia GutuFriend
Messages: 39
Registered: July 2013
Member
Thank you Ed, I am sorry for bothering you, but I still have issues with the index.

Regarding installation.setup:
>> Suppose that more users are using same eclipse, from same location,
>> can I share few predefined preferences between all users by using oomph?

>If it's a shared installation, the Installation.setup.
>> The installation file is saved in user's custom location, it's not
>> exactly what I would need.
>> fir:/home/<user>/.eclipse/configuration/org.eclipse.oomph.setup/installation.setup

>This is created initially as a copy of the one in the shared installation.

This doesn't seems to work for me. I have a custom eclipse mars and if I install basic oomph plugins in it, I can not found the 'installation.setup' file inside my eclipse.
 ECLIPSE_ROOT % find -name installation.setup

The search results are empty.

Regarding:
>> Can I create in this case an index/catalog that will contain only few
>> custom eclipse preferences that should be applied to all users, if I
>> save the created *.setup file in a shared location ?

>If you define your own index with your own product definition you can
>define variables in that product definition that will be used by all users that install it.

I have got lost how to do it?
I tried a simple way:
I understand that I have to define one *.setup file and add a redirection so that oomph will be able to load from that file my preferences.

Suppose I am adding few preferences manually from eclipse, the changes are stored in user.setup. Then I make a copy from user.setup and update names like 'user' :
E.g. having a simple change, added a python template:
<?xml version="1.0" encoding="UTF-8"?>
<setup:GlobalPreferences
    xmi:version="2.0"
    xmlns:xmi="http://www.omg.org/XMI"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
    name="global preferences">
  <setupTask
      xsi:type="setup:CompoundTask"
      name="User Preferences">
    <annotation
        source="http://www.eclipse.org/oomph/setup/UserPreferences">
      <detail
          key="/instance/org.python.pydev/org.python.pydev.editor.templates.PyTemplatePreferencesPage">
        <value>record</value>
      </detail>
    </annotation>
    <setupTask
        xsi:type="setup:CompoundTask"
        name="org.python.pydev">
      <setupTask
          xsi:type="setup:PreferenceTask"
          key="/instance/org.python.pydev/org.python.pydev.editor.templates.PyTemplatePreferencesPage"
          value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?>&lt;templates>&lt;template autoinsert=&quot;true&quot; context=&quot;org.python.pydev.editor.templates.python&quot; deleted=&quot;false&quot; description=&quot;Debug initialization&quot; enabled=&quot;true&quot; name=&quot;debuginit&quot;>import sys&#xA;sys.path.append('/usr/asm/atl.0000/pysrc')&#xA;import __builtin__&#xA;__builtin__.PATHS_FROM_ECLIPSE_TO_PYTHON = [&#xA;(r'$${fileparent}/',&#xA;r'/usr/asm/atl.0000/bin/python/$${project}/')&#xA;#TODO: add more translations if required&#xA;]&#xA;__builtin__.DEBUG_CLIENT_SERVER_TRANSLATION = False&#xA;import pydevd&#xA;pydevd.settrace(host='$${eth0ipv4}', stdoutToServer=False, stderrToServer= False, port=5678, suspend=False, trace_only_current_thread=False)&#xA;$${cursor}&lt;/template>&lt;template autoinsert=&quot;true&quot; context=&quot;org.python.pydev.editor.templates.python&quot; deleted=&quot;false&quot; description=&quot;Lidia description&quot; enabled=&quot;true&quot; name=&quot;_LIDIA&quot;>Lidia Template&lt;/template>&lt;/templates>"/>
    </setupTask>
  </setupTask>
  <productVersion
      href="index:/org.eclipse.setup#//@productCatalogs[name='self']/@products[name='product']/@versions[name='version']"/>
</setup:GlobalPreferences>


How can I force oomph to load preferences from this file?
I tried to add redirection:
 -Doomph.redirection.myProduct=index:/->/path/to/folder/where/my.setup/is/stored 


But oomph is not loading preferences from my file.
Am I missing something?

If the above approach is wrong, I am trying to create an index and product definition.
Does it mean that I have to create 'Setup Product Model' ? Seems yes.
index.php/fa/26307/0/

In the created MyProduct.setup file it has some default content, Do I need it? (I don't think so, I can not apply it into the installer based on wiki) I tried to paste the generated content form user.setup. the <setupTask> .... </setupTask>
before last tag.
Getting a very close *.setup. I can not test is based on
https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Testing_the_Setup_Model
Suppose that the eclipse is already installed, so I do not have the installed described in the wiki.
What other setting needs to be done for being able to load preferences form my *.setup ?
What should be the correct redirection line? Following is not helping.
  
  -Doomph.redirection.setups=index:/-\>setups/ \
  -Doomph.redirection.myProduct=index:/->/path/to/folder/where/my.setup/is/stored/ \


Thank you
Kind Regards
Lidia

[Updated on: Thu, 30 June 2016 14:21]

Report message to a moderator

 Topic: [Minor] Product Icon restrictions
[Minor] Product Icon restrictions [message #1736581] Thu, 30 June 2016 12:51
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 27
Registered: January 2016
Junior Member

Hello *,

Since my selfwritten product works and is online I wanted to add a nice logo, so people find it in the simple installer at first sight.

my product catalogue
The logo I want

But still, the default eclipse logo is shown.
Are there any size/format restrictions to that?

Thanks in advance


"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" - John Woods
Forum: Sirius
 Topic: Transaction editing domain
Transaction editing domain [message #1736515] Thu, 30 June 2016 05:08
naveen ramesh is currently offline naveen rameshFriend
Messages: 37
Registered: May 2016
Member
Hi,
I have the model file in the explorer as soon as i drop the palette objects into the diagram view it is created in the model file .Now i have one more file that is XML file in the same project file so now i want to use same write transaction to write into that XML file as soon as i Sirius writes in the model files when we drop the objects in the diagram view.So which class can i refer to do this operation.I want to do parallel operation with saving it in the new file .

[Updated on: Thu, 30 June 2016 08:22]

Report message to a moderator

 Topic: Model evolution and Sirius
Re: Model evolution and Sirius [message #1736517 is a reply to message #1736478] Thu, 30 June 2016 06:23
Richard Meyer is currently offline Richard MeyerFriend
Messages: 39
Registered: June 2012
Member
Hy Pierre-Charles and Laurent,

many thanks for your fast reply.
But I'm not interested in meta model evolution from Sirius models, I'm interested in model evolution of my own models visualized by Sirius.
To make it clearer with the library example:
EMF mata model: library.ecore
Viewpoint Specification: library. odesign
I release my product and my hundreds of thousands customers;-) creating diligent many model projects with *.library and *.aird files.
And now I change the library.ecore meta model (adding/removing classes, references...).

My question is: what did I have to do that in the next release of my product my customers are able to convert their old modeling projects into the new one?
*.library files -> edapt!
*.aird files ???


many thanks
Richard





[Updated on: Thu, 30 June 2016 06:25]

Report message to a moderator

Re: Model evolution and Sirius [message #1736530 is a reply to message #1736517] Thu, 30 June 2016 08:34
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 236
Registered: July 2009
Senior Member
Le 30/06/2016 08:24, Richard Meyer a écrit :
> My question is: what did I have to do that in the next release of my
> product my customers are able to convert their old modeling projects
> into the new one?
> *.library files -> edapt!
> *.aird files ???

First you need to update your modeler definition (*.odesign files and
any associated Java code) to work with the new version of your
metamodel. You can use the VSM validation to detect some inconsistencies
(references to types which do not exist anymore, interpreted expressions
which are now invalid, etc.), but given the very loose coupling in
general between a VSM and the target metamodel(s), you really need tests
(manual or automated) to make sur the VSM is correct for your updated
metamodel. The most important thing is to keep the identifiers stable
across versions of your VSM, especially for viewpoints, representations
and mappings (you can of course add new things or remove obsolete ones
in the new version).

Once your users have installed the new version of your modeler, it is
completely transparent to them. When they open their existing diagrams,
Sirius will refresh its content using the updated definition from the
new VSM (depending on the settings a forced manual refresh may be
needed). As long as you kept identifiers stable, the pre-existing
elements on the diagram will be kept (though some of their graphical
attributes may change if you changed their definition), diagram elements
which corresponded to things you removed from the VSM will disappear,
and any new element you added in the VSM will be created as needed.
Really its the exact same mechanism that you see at play when you
iterate on your modeler definition in "live mode": (existing diagram +
existing or updated semantic model + updated VSM) => diagram updated to
the new definition with minimal disruption to the previous state
(layout, styles, etc.).

Regards,
Pierre-Charles David

--
Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
 Topic: Customizing markers location with EMF Validation
Re: Customizing markers location with EMF Validation [message #1736541 is a reply to message #1736496] Thu, 30 June 2016 09:28
Vincent Zurczak is currently offline Vincent ZurczakFriend
Messages: 143
Registered: July 2009
Senior Member

This is so weird.
I have not modified anything in my code. And this morning, all the edit parts are resolved correctly.
Markers are on my nodes and not on edges. I cannot explain this, because, again, I did not change anything (apart restarting my computer). Anyway, unless the problem arises again, I guess we can ignore my initial message.
Re: Customizing markers location with EMF Validation [message #1736570 is a reply to message #1736541] Thu, 30 June 2016 11:43
Vincent Zurczak is currently offline Vincent ZurczakFriend
Messages: 143
Registered: July 2009
Senior Member

OK. I am spamming my own thread, but the issue is back. :/
Markers now appear on my edges while I would expect them to be shown on the node.
Re: Customizing markers location with EMF Validation [message #1736585 is a reply to message #1736570] Thu, 30 June 2016 13:05
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 287
Registered: July 2009
Senior Member
Hi Vincent,


Le 30/06/2016 à 13:43, Vincent Zurczak a écrit :
> OK. I am spamming my own thread, but the issue is back. :/
> Markers now appear on my edges while I would expect them to be shown on
> the node.

When an edge has a mapping defined as "Relation" edge mapping, its
semantic element is the semantic element of its source.

Your issue really looks like a bug: it seems that EMF/GMF/Sirius takes
the first item it found with the good element to decorate and puts its
decorator. We should at least investigate to always have the same
behavior (node first or edge first or both) and maybe define another
approach to have a better solution.

Could you report a bug on the bugzilla [1] ?


--
Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
--
[1] https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius
Forum: Eclipse SmartHome
 Topic: Extension of the DiscoveryResult
Extension of the DiscoveryResult [message #1736586] Thu, 30 June 2016 13:16
Andre Fuechsel is currently offline Andre FuechselFriend
Messages: 26
Registered: December 2015
Junior Member
I would like to extend the discovery result with an optional field describing the modelId of the discovered thing.

For example if we discover things of thing type "hue:0210" (extended color light), we may find several things. To distinguish between the actual models (LCT001, LCT007, ...) of extended color lights a model id in the discovery result would be helpful. I would not use the result's properties, as they are specifying instance-related properties, e.g. the light id of the discovered light.

Any opinions about this?
Forum: e(fx)clipse
 Topic: How to get EMF-Edit for JavaFX
How to get EMF-Edit for JavaFX [message #1736539] Thu, 30 June 2016 09:19
Robert Onslow is currently offline Robert OnslowFriend
Messages: 16
Registered: March 2016
Junior Member
Dear All
I can't work out which feature I need to install from http://download.eclipse.org/efxclipse/runtime-released/2.4.0/site to get EMF-Edit for JavaFX

Could someone help me with this - and perhaps should the website could be clarified?

Thanks

Robert
Re: How to get EMF-Edit for JavaFX [message #1736589 is a reply to message #1736539] Thu, 30 June 2016 13:34
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 453
Registered: December 2010
Location: Germany
Senior Member
Hi Robert,

you can get all of the efxclipse features with:
"Target Platform Feature"

I recommend not to install this into the IDE but to create a "Target Definition" instead.
See Step (1) of this tutorial.

Regards,
Christoph
 Topic: Tycho build compiler cannot find javafx classes
Tycho build compiler cannot find javafx classes [message #1736591] Thu, 30 June 2016 13:36
Matthias F is currently offline Matthias FFriend
Messages: 17
Registered: June 2011
Junior Member
I'm currently trying to add a FX view to my e4 SWT application.

This is the description I tried to follow: https://blog.codecentric.de/en/2015/04/add-javafx-controls-swt-eclipse-4-application-eclipse-rcp-cookbook/

I'm on ubuntu 14.04 with oracle JDK8 and eclipse 4.5.2. Tycho is in version 0.24.0.

What I did:

Installed efxclipse 2.3.0 IDE features.
Added the RCP e4 Target Platform Feature 2.3.0 to the base target platform.
Add -Dosgi.framework.extensions=org.eclipse.fx.osgi

From inside eclipse its now working, however my tycho build fails:

[Quote:

...
ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.24.0:compile (default-compile) on project [...]: Compilation failure: Compilation failure:
...
[ERROR] import javafx.embed.swt.FXCanvas;
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] The import javafx.embed.swt cannot be resolved
...


The tycho build also resolves the target platform (adds the non p2 dependencies to my base target platform). I also added the p2 site http://download.eclipse.org/efxclipse/runtime-released/2.3.0/site to the tycho repositories.
This setup is already working without javaFX so the problem seems to be somewhere else.

The last part of the description says to copy the jfxswt.jar, which probably is not a good idea. I though using efxclipse would solve exactly that?

I also checked this: https://www.eclipse.org/forums/index.php/t/796180/

But I can't find the bundles org.eclipse.fx.osgi and org.eclipse.fx.javafx) to add as dependencies to my bundle.
Re: Tycho build compiler cannot find javafx classes [message #1736594 is a reply to message #1736591] Thu, 30 June 2016 14:00
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 2180
Registered: July 2012
Senior Member
Have you tried to set

-Dorg.osgi.framework.bundle.parent=ext


instead of the osgi.framework.extensions parameter?

My blog post was using e(fx)clipse 1.2 and that is one change that happened with 2.0.
Forum: OCL
 Topic: Evaluate OCL constraints in an UML model programmatically
Re: Evaluate OCL constraints in an UML model programmatically [message #1736582 is a reply to message #1736368] Thu, 30 June 2016 12:53
Ed Willink is currently offline Ed WillinkFriend
Messages: 4801
Registered: July 2009
Senior Member
Hi

If you want me to look at this, please provide a repro project that
clearly demonstrates your achievements / failures.

Regards

Ed Willink


On 29/06/2016 00:25, Chung-Ling Lin wrote:
> Hi,
>
> Thank you again for your help, but I have question about the
> UMLElementExtension as you mentioned in the post.
>> If you evaluate using UML objects the missing instance-of-Stereotype
>> UML model element is provided by
>> org.eclipse.ocl.pivot.uml.internal.library.UMLElementExtension.
>
> I rewrite my program as below using the UMLElementExtension. In my
> codes, oe is an uml element and ce is a stereotype. And I can get the
> expected evaluation results running the program.
> org.eclipse.ocl.pivot.Stereotype asStereotype = null;
> try {
> asStereotype =
> ocl.getMetamodelManager().getASOf(org.eclipse.ocl.pivot.Stereotype.class,
> ce);
> } catch (ParserException e) {
> // TODO Auto-generated catch block
> e.printStackTrace();
> }
> Object uee =
> org.eclipse.ocl.pivot.uml.internal.library.UMLElementExtension.getUMLElementExtension(asStereotype,
> oe);
> System.out.println("Validation result: "+ocl.evaluate(uee,
> asExpression));
> If we consider the example from UML 2.5 Fig.12.29, and assume that I
> have an OCL expression whose context is stereotype Clock. When
> executing my program, the ce is stereotype Clock, and oe is StopWatch,
> which is an instance of UML::Class. And the evaluated element is the
> instance of Clock, which is provided by the UMLElementExtension uee.
>
> Based on your explaination about the UMLElementExtension and the
> execution results of my program, I expect that I should be able to
> find the the instance of stereotype from the members of
> UMLElementExtension. But when I read the description and the
> implementation of this class, I only found the umlElement, which is
> class StopWatch in this example. And the umlStaticStereotype, which is
> stereotype Clock in this example. Where is the instance of Clock in
> the UMLElementExtension?
>
> And in a correct instance of UMLElementExtension, should
> umlStaticStereotype and umlDynamicStereotype always the same?
>
> Best Regards,
> Chung-Ling Lin
Re: Evaluate OCL constraints in an UML model programmatically [message #1736595 is a reply to message #1736582] Thu, 30 June 2016 14:06
Chung-Ling Lin is currently offline Chung-Ling LinFriend
Messages: 25
Registered: December 2011
Junior Member
Hi,

Sorry I forgot to attach my project. In my example, the context of my OCL expression is stereotype Clock, so I should evaluate the constraint on an instance of Clock, which is provided by the UMLElementExtension uee. And the evaluation result is correct.

I just curios that when I check the UMLElementExtension, I can only see the instance of UML::Class from attribute umlElement and the stereotype from attribute umlStaticStereotype and umlDynamicStereotype. But where is the instance of Clock in the UMLElementExtension?

And should the umlStaticStereotype and umlDynamicStereotype always the same in an UMLElementExtension?

Best Regards,
Chung-Ling Lin
Forum: Vorto
 Topic: Vorto for Internet of Services?
Vorto for Internet of Services? [message #1736561] Thu, 30 June 2016 10:44
Marcus Munzert is currently offline Marcus MunzertFriend
Messages: 10
Registered: August 2012
Location: Freiburg, Germany
Junior Member
Hi,

are there already any thoughts about extending Vorto (or build another Vorto) to not only provide a repository for device descripitions but also one for service descriptions (something like JAX-WS, REST, ...)?

Cheers,
Marcus


CEO and President
Generative Software GmbH
Cornelia-Schlosser-Allee 15
79111 Freiburg
Germany

www.generative-software.de
Phone: +49 761 1562051
Fax: +49 761 7043098

www.virtual-developer.com
The efficient use of software development
Re: Vorto for Internet of Services? [message #1736598 is a reply to message #1736561] Thu, 30 June 2016 14:11
Alexander Edelmann is currently offline Alexander EdelmannFriend
Messages: 21
Registered: January 2015
Junior Member
Hi Marcus,

It is not the scope of the Vorto project because we want to purely focus on device abstractions which is quite a big and complex topic already Smile

Cheers, Alex
Forum: scout
 Topic: Filter table data
Filter table data [message #1736587] Thu, 30 June 2016 13:23
Andreas Christ is currently offline Andreas ChristFriend
Messages: 9
Registered: April 2016
Junior Member
I have a table filled with some data (a task list: name, description, id etc.). Now I'd like to implement a button which shows only my data (my name is in a column) after click - any maybe disables that filter to show all tasks again.
My soft requirements:
* I don't want to reload the data from service/DB repetitively (at each button click)
* I don't really need a SearchForm implementation yet. (But if this is needed to fulfill my requirements, I will create that...)

The default filter field in the table-footer works perfectly, but it filters all table columns - and I have to enter my name...

How can I do this in Eclipse Scout (6.0.0)?
Re: Filter table data [message #1736596 is a reply to message #1736587] Thu, 30 June 2016 14:09
Thomas Pluess is currently offline Thomas PluessFriend
Messages: 2
Registered: May 2016
Junior Member
Hi Andreas,

you could use a column filter:

        @Override
        protected void execClickAction() {
          if (getTableField().getTable().getUserFilterManager().getFilter(getTableField().getTable().getNameColumn().getColumnId()) == null) {
            TextColumnUserFilterState filter = new TextColumnUserFilterState(getTableField().getTable().getNameColumn());
            filter.setFreeText("Your name");
            getTableField().getTable().getUserFilterManager().addFilter(filter);
          }
          else {
            getTableField().getTable().getUserFilterManager().removeFilterByKey(getTableField().getTable().getNameColumn().getColumnId());
          }
        }


This adds/removes a filter state for the NameColumn with the given text. It will be visible on the UI (free text field is filled and the column header is marked with an 'F').
Re: Filter table data [message #1736597 is a reply to message #1736587] Thu, 30 June 2016 14:10
Andreas Christ is currently offline Andreas ChristFriend
Messages: 9
Registered: April 2016
Junior Member
OK, we found out the following code in the button's execAction() :
			final TableTextUserFilterState f = new TableTextUserFilterState("Andreas".toLowerCase());
			getTable().getUserFilterManager().addFilter(f);


It works quite well...

But Thomas Pluess' solution above is better.

[Updated on: Thu, 30 June 2016 14:23]

Report message to a moderator

Re: Filter table data [message #1736603 is a reply to message #1736596] Thu, 30 June 2016 14:22
Andreas Christ is currently offline Andreas ChristFriend
Messages: 9
Registered: April 2016
Junior Member
@Thomas Pluess:
Thank you! Works perfectly!!
Very Happy

even better than our solution!

[Updated on: Thu, 30 June 2016 14:23]

Report message to a moderator

Forum: ATL
 Topic: Can't use lazy rules with EMFTVM in Refining mode
Can't use lazy rules with EMFTVM in Refining mode [message #1736608] Thu, 30 June 2016 14:39
Sven L. is currently offline Sven L.Friend
Messages: 3
Registered: May 2012
Junior Member
Hi everyone,

I'm using the EMFTVM (based on this example Running ATL (EMFTVM) Transformations Programatically) to run some transformations in refining mode.

This has worked fine so far, but I now have run into problems when using lazy rules. I would always get this exception, when running a transformation which contains a lazy rule (does not matter if the rule is actually called, or not):

java.lang.IllegalArgumentException: Model IN not found for t: Families!Member (models: [IN])
	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.resolveRuleElementModels(ExecEnvImpl.java:1613)
	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.resolveRuleModels(ExecEnvImpl.java:1593)
	at org.eclipse.m2m.atl.emftvm.impl.ExecEnvImpl.run(ExecEnvImpl.java:2083)
	at com.example.transformation.ATLLauncher.run(ATLLauncher.java:153)


I used this minimal example based of the Families2Persons example, which illustrates the problem:

-- @atlcompiler emftvm
-- @nsURI EMFTVM=http://www.eclipse.org/m2m/atl/2011/EMFTVM

-- @path Families=/Families2Persons/Families.ecore

module Families2Persons;

create OUT: Families refining IN: Families;

lazy rule LazyRule {
	from
		s: Families!Member
	to
		t: Families!Member (
			firstName <- s.firstName + 'test'
		)
}

-- End of Transformation


If I remove the lazy keyword from the rule it works without any issues. The transformation also works as expected, when started from my eclipse. However, if I run it from the standalone application it crashes.

So this leads me to believe that this might be a bug in the EMFTVM, but I cannot find out why it works when called from inside eclipse, but not when called from the standalone application.

Any ideas how to solve this?

I'm aware that this problem does not appear when using the normal mode, but I would like to keep using refining mode, if possible, since I have a rather large metamodel and models. Furthermore I would most of the time only transform a small part of the models.

Any help is much appreciated,
Sven
Forum: NatTable
 Topic: Hiding a Column Using NAT TABLE API
Hiding a Column Using NAT TABLE API [message #1736609] Thu, 30 June 2016 14:46
CHANDRA SEKAR is currently offline CHANDRA SEKARFriend
Messages: 1
Registered: June 2016
Junior Member
Hi Experts,

I am new to this Forum and NAT TABLE Concepts and facing some difficulty in achieving one requirement . So require your URGENT help to get resolution.

I am hiding one of the column say 3rd column using

1. columnhideshowlayer.hideColumnPositions(columnPositions)
(OR)
2. nattable.docommand(new ColumnHideShowLayer(nattable,3);

I also have "Hide Column" and "Show All Columns" popup menus. When I perform "Show All Column", nattable shows all the columns including 3rd column also.

Is there any way to hide the 3rd column permanently so that even after performing "Show All Columns", it should be hidden?

It will be great pleasure that if i can get some ideas ASAP and as well as some code snippet if possible .

Thanks for your immense help.
Forum: BIRT
 Topic: Using data cube tables leads to error "There is no report design object available"
Re: Using data cube tables leads to error &quot;There is no report design object available&q [message #1736509 is a reply to message #1736418] Thu, 30 June 2016 03:32
Colin Sutton is currently offline Colin SuttonFriend
Messages: 86
Registered: July 2009
Member
Jörg Steffen <forums-noreply@xxxxxxxx> wrote:
> I'm using Eclipse with BIRT 4.2.2, and I find a (for me) strange behavior
> which I cannot fix.
>
> I created some simple reports with data cubes, displayed as tables. I
> tested them with the internal browser, they all worked fine. There are no
> special scripts inside, no parameters etc.
>
> Then I published them to our server, and half of them are not working, I
> only receive the error message "There is no report design object
> available". Expanding this message leads to the following, maybe it helps:
>
> org.eclipse.birt.report.exception.ViewerException: There is no report
> design object available.
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.__init(ViewerAttributeBean.java:226)
>
> at org.eclipse.birt.report.context.BaseAttributeBean.init(BaseAttributeBean.java:233)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.<init>(ViewerAttributeBean.java:118)
>
> at org.eclipse.birt.report.context.BirtContext.__init(BirtContext.java:44)
> at org.eclipse.birt.report.context.BaseContext.<init>(BaseContext.java:69)
> at org.eclipse.birt.report.context.BirtContext.<init>(BirtContext.java:30)
> at
> org.eclipse.birt.report.servlet.BirtEngineServlet.__getContext(BirtEngineServlet.java:76)
> at
> org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:163)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
> at
> org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at com.ave.er.filters.SessionExpiredFilter.doFilter(SessionExpiredFilter.java:56)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at com.ave.er.filters.CharsetFilter.doFilter(CharsetFilter.java:32)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:662)
>
> When I open and test the effected reports in Eclipse again, everything
> works well. When I delete the cube tables (NOT the cubes itselves), and I
> upload the reports again to our server, the reports are working. And I
> have to delete all cube tables, not only one, so for me it looks like
> that there is a more general problem.
>
> And again, only half of my reports are showing this behavior, the other
> are working fine, incl the data cube tables.
>
> I really have no idea what's wrong, I'm using the same development
> environment, same Postgres database, etc, and I get two different behaviors.
>
> Does anybody has an idea how to solve this?
>
> Thanks and best regards,
> Jörg
>

I have seen that error message when the server is an older BIRT version
than eclipse.

--
Colin Sutton
 Topic: Runtime exception occures when write any code into onPageStart or onPageEnd evetns
Runtime exception occures when write any code into onPageStart or onPageEnd evetns [message #1736532] Thu, 30 June 2016 08:52
Viktor Kalman is currently offline Viktor KalmanFriend
Messages: 2
Registered: May 2016
Junior Member
Hi!
When I try to write any code (even if only a comment) into onPageStart or onPageEnd event then always runtime exception is the result.
Is it a bug?
I need to create reports that restart page numbers at every groups.

Please any help!
Thanks.

Viktor

Eclipse Mars - BIRT 4.5.0


- org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
 faultActor: 
 faultNode: 
 faultDetail: 
    {http://xml.apache.org/axis/}stackTrace:org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
    at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1115)
    at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:943)
    at org.eclipse.birt.report.service.BirtViewerReportService.runAndRenderReport(BirtViewerReportService.java:973)
    at org.eclipse.birt.report.service.actionhandler.BirtRunAndRenderActionHandler.__execute(BirtRunAndRenderActionHandler.java:76)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.EngineFragment.doService(EngineFragment.java:318)
    at org.eclipse.birt.report.presentation.aggregation.AbstractBaseFragment.service(AbstractBaseFragment.java:76)
    at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(BirtEngineServlet.java:116)
    at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGet(BaseReportEngineServlet.java:185)
    at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doPost(BaseReportEngineServlet.java:224)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.birt.report.servlet.BaseReportEngineServlet.service(BaseReportEngineServlet.java:116)
    at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
    at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$LegacyServlet.service(HttpServiceRuntimeImpl.java:1271)
    at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:162)
    at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:63)
    at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl.doDispatch(HttpServiceRuntimeImpl.java:413)
    at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl.doDispatch(HttpServiceRuntimeImpl.java:341)
    at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl.doDispatch(HttpServiceRuntimeImpl.java:204)
    at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.processAlias(ProxyServlet.java:91)
    at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(ProxyServlet.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:356)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    at org.eclipse.jetty.server.Server.handle(Server.java:497)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2375)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:191)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
    at org.eclipse.birt.report.service.ReportEngineService.runAndRenderReport(ReportEngineService.java:937)
    ... 39 more
Caused by: java.lang.ClassCastException: org.eclipse.birt.report.engine.content.impl.TableContent cannot be cast to java.lang.Comparable
    at java.util.TreeMap.compare(Unknown Source)
    at java.util.TreeMap.put(Unknown Source)
    at java.util.TreeSet.add(Unknown Source)
    at java.util.AbstractCollection.addAll(Unknown Source)
    at java.util.TreeSet.addAll(Unknown Source)
    at java.util.TreeSet.&lt;init&gt;(Unknown Source)
    at org.eclipse.birt.report.engine.executor.OnPageBreakLayoutPageHandle.doAddContent(OnPageBreakLayoutPageHandle.java:143)
    at org.eclipse.birt.report.engine.executor.OnPageBreakLayoutPageHandle.addContent(OnPageBreakLayoutPageHandle.java:135)
    at org.eclipse.birt.report.engine.executor.OnPageBreakLayoutPageHandle.access$0(OnPageBreakLayoutPageHandle.java:115)
    at org.eclipse.birt.report.engine.executor.OnPageBreakLayoutPageHandle$PageContentBuilder.startContent(OnPageBreakLayoutPageHandle.java:196)
    at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startContainer(ContentEmitterAdapter.java:136)
    at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startRow(ContentEmitterAdapter.java:115)
    at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.startRow(CompositeContentEmitter.java:298)
    at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.startRow(HTMLTableLayoutEmitter.java:613)
    at org.eclipse.birt.report.engine.layout.html.HTMLTableLayoutEmitter.startRow(HTMLTableLayoutEmitter.java:613)
    at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:56)
    at org.eclipse.birt.report.engine.layout.html.buffer.ContainerBufferNode.start(ContainerBufferNode.java:83)
    at org.eclipse.birt.report.engine.layout.html.buffer.ContainerBufferNode.start(ContainerBufferNode.java:79)
    at org.eclipse.birt.report.engine.layout.html.buffer.HTMLPageBuffer.startContent(HTMLPageBuffer.java:113)
    at org.eclipse.birt.report.engine.layout.html.buffer.TableBreakBuffer.startContent(TableBreakBuffer.java:287)
    at org.eclipse.birt.report.engine.layout.html.HTMLLeafItemLM.start(HTMLLeafItemLM.java:67)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:139)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
    at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
    at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
    at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
    at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
    at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
    at org.eclipse.birt.report.engine.layout.html.HTMLTableBandLM.layoutChildren(HTMLTableBandLM.java:67)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
    at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
    at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
    at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
    at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.resumeLayout(HTMLInlineStackingLM.java:111)
    at org.eclipse.birt.report.engine.layout.html.HTMLInlineStackingLM.layoutNodes(HTMLInlineStackingLM.java:160)
    at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
    at org.eclipse.birt.report.engine.layout.html.HTMLStackingLM.layoutChildren(HTMLStackingLM.java:26)
    at org.eclipse.birt.report.engine.layout.html.HTMLRepeatHeaderLM.layoutChildren(HTMLRepeatHeaderLM.java:46)
    at org.eclipse.birt.report.engine.layout.html.HTMLAbstractLM.layout(HTMLAbstractLM.java:140)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:70)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
    ... 41 more

 Topic: Javascript problem in 2.5.2 -> 4.5.0 upgrade
Javascript problem in 2.5.2 -> 4.5.0 upgrade [message #1736610] Thu, 30 June 2016 14:54
Steve Schafer is currently offline Steve SchaferFriend
Messages: 23
Registered: December 2009
Junior Member
We have a plugin that extends org.eclipse.birt.core.ScriptFunctionService to provide a custom function. One of the arguments to this function is the row object, which is available in onCreate and many other places. In the function we check that row is an instance of ScriptableObject and then use the get method to access fields. This all works fine in BIRT 2.5.2.

In 4.5.0, however, it never gets into the function because the javascript engine throws "TypeError: Cannot find default value for object". The function call in javascript looks like this:

BlackboardFunctions.GetLearningStandardURL(reportContext, row, 1)

I've verified that it is the row object that is causing the error. If I pass null instead of row, it gets into the function.

I've read that "Cannot find default value for object" is thrown when getDefaultValue isn't defined for the object and that getDefaultValue is called when javascript is trying to convert the object to a string.

How can I get javascript to pass the row object to my function?
Forum: M2T (model-to-text transformation)
 Topic: [Acceleo] PackageNotFoundException
Re: [Acceleo] PackageNotFoundException [message #1736593 is a reply to message #1736373] Thu, 30 June 2016 14:00
Laurent Goubet is currently offline Laurent GoubetFriend
Messages: 1702
Registered: July 2009
Senior Member
Hi,

Please look at the comments in the generated java launcher beside your main template (org.eclipse.acceleo.module.sample.main.Generate.java) for an example of how to register your metamodels. You'll need a direct dependency from your generator project to the project that hosts your your metamodel as well for it to work properly.

See also the answer on this earlier thread.

Please keep us informed if you still don't manage to get it running.

Laurent Goubet
Obeo
 Topic: Acceleo UI plugin doesn't generate anything
Acceleo UI plugin doesn't generate anything [message #1736612] Thu, 30 June 2016 14:59
Zuriel Morales is currently offline Zuriel MoralesFriend
Messages: 6
Registered: March 2016
Junior Member
I have an Acceleo UI project and a template for web code generation.

The UI project works fine when I do the "Run As > Eclipse Application" thing.

I exported it as a plugin and installed it on Eclipse, but it refuses to work. All it does is create the folder that would contain the generated files, but said folder turns out empty.

I have no idea what's going on. I also have a GMF editor that works just fine both as a plugin and on the Eclipse runtime without any additional tweaking, so this problem with the UI has me stumped.

Any help on this matter would be greatly appreciated. I'm working on Eclipse Mars with the latest version of Acceleo.
Forum: EMF
 Topic: [xcore] derived feature does not allow class types
[xcore] derived feature does not allow class types [message #1736516] Thu, 30 June 2016 06:01
chris yo is currently offline chris yoFriend
Messages: 83
Registered: February 2013
Member
I have an xcore file with the following classes:
class Information {
String sName
String birthday
String age
}

class Directory {
String name
String address
derived Information xInfo get {
  //call the get method here that will return a type Information
}
}


But I am getting this error:
The generic attribute type must not refer to a class

How can I use the derived feature with a class?

[Updated on: Thu, 30 June 2016 08:54]

Report message to a moderator

Re: [xcore] value is not stored when set via xtend [message #1736569 is a reply to message #1736516] Thu, 30 June 2016 11:38
Ed Merks is currently offline Ed MerksFriend
Messages: 27585
Registered: July 2009
Senior Member
Chris,

Comments below.


On 30.06.2016 02:01, chris yo wrote:
> I have an xcore file with the following classes:
>
> class Information {
> String sName
> String birthday
> String age
> }
>
> class Directory {
> String name
> String address
> contains Information xInfo
> }
>
>
> The xInfo variable is populated during validation.
Modifying the model during validation doesn't sound appropriate. That's
probably operating on a model that's loaded and then discarded.
> So, I have an xtend method that sets this.
>
> public static val aDirs = new ArrayList<Directory>
> public static val aInfo = new ArrayList<Information>
>
> def public setInfo()
> {
> for (m: aDirs)
> {
> val x = aInfo.findFirst[m.name.equals(SName)]
> if (x != null)
> m.xInfo = x //print also shows that this is correctly set.
> }
> }
>
> def public printInfo()
> {
> for (m: aDirs)
> {
> if (m.xInfo == null) // check if null, this returns true.
> {
> // do nothing
> }
> }
> }
>
>
>
> With the two methods above, I called setInfo() and then printInfo(),
> but in printInfo(), xInfo variable is null again.
>
> aDirs and aInfos are populated during transform.
>
>
> What am I doing wrong?
Best you set a breakpoint and debug it. I can't guess what might be
missing.
 Topic: [xcore] How to set a class type variable
[xcore] How to set a class type variable [message #1736545] Thu, 30 June 2016 09:38
chris yo is currently offline chris yoFriend
Messages: 83
Registered: February 2013
Member
I have an xcore file with the following classes:
class Information {
String sName
String birthday
String age
}

class Directory {
String name
String address
contains Information xInfo
}


The variables in the class Directory is set by xtext thru the grammar configuration by the user, except for xInfo. I need to set the xInfo after all the grammar has been read.

The xInfo variable is set during validation. So, I have an xtend method that sets this.
public static val aDirs = new ArrayList<Directory>
public static val aInfo = new ArrayList<Information>

def public setInfo()
{
   for (m: aDirs)
   {
       val x = aInfo.findFirst[m.name.equals(SName)]
       if (x != null)
           m.xInfo = x //print also shows that this is correctly set.
   }
}

def public printInfo()
{
  for (m: aDirs)
  {
    if (m.xInfo == null) // ERROR: m.xInfo is null again!
    {
      // do nothing
    }
  }
}



With the two methods above, I called setInfo() and then printInfo(), but in printInfo(), xInfo variable is null again.

aDirs and aInfos are stored during transform.


Am I doing this right? How can we set a class type in xtend?
Re: [xcore] How to set a class type variable [message #1736571 is a reply to message #1736545] Thu, 30 June 2016 11:41
Ed Merks is currently offline Ed MerksFriend
Messages: 27585
Registered: July 2009
Senior Member
Comments below.


On 30.06.2016 05:38, chris yo wrote:
> I have an xcore file with the following classes:
>
> class Information {
> String sName
> String birthday
> String age
> }
>
> class Directory {
> String name
> String address
> contains Information xInfo
> }
>
>
> The variables in the class Directory is set by xtext thru the grammar
> configuration by the user, except for xInfo. I need to set the xInfo
> after all the grammar has been read.
>
> The xInfo variable is set during validation. So, I have an xtend
> method that sets this.
>
> public static val aDirs = new ArrayList<Directory>
> public static val aInfo = new ArrayList<Information>
>
> def public setInfo()
> {
> for (m: aDirs)
> {
> val x = aInfo.findFirst[m.name.equals(SName)]
> if (x != null)
> m.xInfo = x //print also shows that this is correctly set.
Perhaps you're moving the x instance from one containment reference to
another, i.e., removing it from wherever it's currently contained.
> }
> }
>
> def public printInfo()
> {
> for (m: aDirs)
> {
> if (m.xInfo == null) // ERROR: m.xInfo is null again!
> {
> // do nothing
> }
> }
> }
>
>
>
> With the two methods above, I called setInfo() and then printInfo(),
> but in printInfo(), xInfo variable is null again.
>
> aDirs and aInfos are stored during transform.
>
>
> Am I doing this right? How can we set a class type in xtend?
>
 Topic: Invalid thread access while updating UI
Re: Invalid thread access while updating UI [message #1736602 is a reply to message #1736466] Thu, 30 June 2016 14:21
Oleksiy Bulhakov is currently offline Oleksiy BulhakovFriend
Messages: 4
Registered: May 2016
Junior Member
Thank you, it seems like it is the best solution I can have now.
 Topic: Delete
Re: Model element sort in a tree [message #1736525 is a reply to message #1736501] Thu, 30 June 2016 08:12
Ed Willink is currently offline Ed WillinkFriend
Messages: 4801
Registered: July 2009
Senior Member
Hi

I think that you are mistaken in thinking that EMF is doing anything
very clever or helpful.

EMF collections are all lists, so what you see is 'chronological'
addition order.

In the case of your example for which you provide no models, I suspect
that typeA/typeB/typeC are in different child features that are shown
in, I think, metamodel feature order, ie. inheritance+chronological
order wrt the metamodel edit session..

If the order is important to you, you should make it part of your
design, rather than relying on accidental EMF functionality.

For graphics, the order is often irrelevant, so you might prefer to
define your collections as not-ordered, deferring imposition of order
until some save / transformation activity benefits from repeatability.

Regards

Ed Willink

On 29/06/2016 21:44, Alex Kravets wrote:
> I have EMF model that roughly looks like this:
>
> root
> --- typeA.1
> --- typeA.2
> --- typeB.1
> --- typeC.1
> --- typeC.2
> --- typeC.3
>
> if I were to add another element of typeA.3, it would be positioned
> between typeA.2 and typeB.1 - this is out of the box behavior that EMF
> generated editor offers and it's correct. How is the correct order
> kept when I am adding new element?
>
> The reason I am asking is that I am writing a Graphiti editor that
> graphically represents my model differently. Right now when I add new
> element typeA.3, as in the example above, it would be positioned below
> typeC.3, which is not correct ordering of the elements (according to
> EMF model). I can add comparator to the List that is used by Graphiti
> to layout the components, but I rather if possible reuse mechanism by
> which TreeViewer in EMF keeps elements sorted correctly.
>
> Thanks,
> Alex
Re: Model element sort in a tree [message #1736613 is a reply to message #1736525] Thu, 30 June 2016 14:59
Alex Kravets is currently offline Alex KravetsFriend
Messages: 460
Registered: November 2009
Senior Member
Thanks Ed,

I deleted the post because I realized that I was relying on Graphiti's List to display children whereas I should've been using EMF's List that has correct order and using that to display graphical parts. So this issue had to do with my particular case and not with EMF.
Forum: P2
 Topic: Where did the ServiceReference and Activator class go?
Where did the ServiceReference and Activator class go? [message #1736556] Thu, 30 June 2016 10:27
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 190
Registered: March 2012
Location: North Carolina
Senior Member
Where did the ServiceReference and Activator class go?

While reading the API documentation here (http://help.eclipse.org/mars/topic/org.eclipse.platform.doc.isv/guide/p2_api_overview.htm?cp=2_0_20_0) I tried to find the class ServiceReference and Activator to import the package that contains the classes. After looking at the org.eclipse.equinox.p2.* set of packages here (http://help.eclipse.org/mars/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/equinox/p2/core/package-summary.html?cp=2_1_0_85) I could not find ServiceReference and Activator.

Where did the ServiceReference and Activator class go?

Re: Where did the ServiceReference and Activator class go? [message #1736614 is a reply to message #1736556] Thu, 30 June 2016 15:03
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 475
Registered: January 2012
Senior Member

ServiceReference is an OSGi class (org.osgi.framework). Activator is the bundle's activator and it's mostly used in the example code to fetch the BundleContext, which holds the OSGi framework's context for that particular bundle. You can also get a BundleContext for the bundle that contains the current class with:
BundleContext context = FrameworkUtil.getBundle(getClass()).getBundleContext();


Eclipse Platform committer. Ask me about Eclipse support, training, and consulting.
Forum: Epsilon
 Topic: Query on HUTN
Query on HUTN [message #1736526] Thu, 30 June 2016 08:22
Rajkumar K is currently offline Rajkumar KFriend
Messages: 19
Registered: May 2015
Junior Member
Hello,

I have checked the HUTN examples in epsilon and it is Interesting. I understood that

for the given Ecore we can configure the model in Textual model in HUTN file and later

export to the XMI model.

Can I find more examples or some real time examples for HUTN ?

Thank you,

Best Regards,

Rajkumar
Re: Query on HUTN [message #1736553 is a reply to message #1736526] Thu, 30 June 2016 10:18
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 1206
Registered: July 2009
Senior Member
Hi Rajkumar,

I'd suggest having a look at GitHub for publicly-available HUTN examples: https://github.com/search?q=spec+extension%3Ahutn&type=Code

Cheers,
Dimitris
Re: Query on HUTN [message #1736623 is a reply to message #1736553] Thu, 30 June 2016 15:46
Rajkumar K is currently offline Rajkumar KFriend
Messages: 19
Registered: May 2015
Junior Member
Dear Dimitris,

Thank you very much for your support.

Best Regards,

Rajkumar
Forum: Eclipse Platform
 Topic: Cannot run Eclipse
Cannot run Eclipse [message #1736529] Thu, 30 June 2016 08:34
Antonio Fernandez is currently offline Antonio FernandezFriend
Messages: 1
Registered: June 2016
Junior Member
Hello, my name is Antonio.
I have installed Eclipse Neon and i install jboss tools 4.4.0 and vaadin from eclipse market.
When eclipse has finished, i restart and show next error and cannot run eclipse:

!SESSION 2016-06-30 09:18:51.760 -----------------------------------------------
eclipse.buildId=4.6.0.I20160606-1100
java.version=1.8.0_92
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=es_ES
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.equinox.ds 2 0 2016-06-30 09:19:27.035
!MESSAGE [SCR - WorkThread] Timeout occurred! Thread was blocked on processing [QueuedJob] WorkPerformer: org.eclipse.equinox.internal.ds.SCRManager@1b80af60; actionType 1

!ENTRY org.eclipse.equinox.ds 2 0 2016-06-30 09:19:27.049
!MESSAGE [SCR] Enabling components of bundle org.eclipse.ui.trace did not complete in 30000 ms

!ENTRY org.eclipse.core.runtime 4 0 2016-06-30 09:19:32.084
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.12.0.v20160606-1342"; osgi.identity="org.eclipse.core.runtime"; singleton:="true" [id=113] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 8 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 2 0 2016-06-30 09:19:37.685
!MESSAGE While loading class "org.eclipse.oomph.p2.internal.core.P2CorePlugin$Implementation", thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" timed out waiting (5002ms) for thread "Thread[Component Resolve Thread,5,main]" to finish starting bundle "org.eclipse.core.runtime_3.12.0.v20160606-1342 [113]". To avoid deadlock, thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" is proceeding but "org.eclipse.oomph.p2.internal.core.P2CorePlugin$Implementation" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.12.0.v20160606-1342"; osgi.identity="org.eclipse.core.runtime"; singleton:="true" [id=113] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)
at org.eclipse.equinox.internal.p2.core.Activator.registerAgent(Activator.java:175)
at org.eclipse.equinox.internal.p2.core.Activator.start(Activator.java:244)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 78 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)
at org.eclipse.equinox.internal.p2.core.Activator.registerAgent(Activator.java:175)
at org.eclipse.equinox.internal.p2.core.Activator.start(Activator.java:244)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 2 0 2016-06-30 09:19:42.687
!MESSAGE While loading class "org.eclipse.oomph.p2.internal.core.P2CorePlugin$Implementation", thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" timed out waiting (5000ms) for thread "Thread[Component Resolve Thread,5,main]" to finish starting bundle "org.eclipse.equinox.registry_3.6.100.v20160223-2218 [363]". To avoid deadlock, thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" is proceeding but "org.eclipse.oomph.p2.internal.core.P2CorePlugin$Implementation" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.6.100.v20160223-2218"; osgi.identity="org.eclipse.equinox.registry"; singleton:="true" [id=363] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)
at org.eclipse.equinox.internal.p2.core.Activator.registerAgent(Activator.java:175)
at org.eclipse.equinox.internal.p2.core.Activator.start(Activator.java:244)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 78 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)
at org.eclipse.equinox.internal.p2.core.Activator.registerAgent(Activator.java:175)
at org.eclipse.equinox.internal.p2.core.Activator.start(Activator.java:244)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 2 0 2016-06-30 09:19:47.729
!MESSAGE While loading class "org.eclipse.core.runtime.Platform", thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" timed out waiting (5001ms) for thread "Thread[Component Resolve Thread,5,main]" to finish starting bundle "org.eclipse.core.runtime_3.12.0.v20160606-1342 [113]". To avoid deadlock, thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" is proceeding but "org.eclipse.core.runtime.Platform" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.12.0.v20160606-1342"; osgi.identity="org.eclipse.core.runtime"; singleton:="true" [id=113] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.sources.MultiSourcePackage.loadClass(MultiSourcePackage.java:32)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:407)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.emf.common.EMFPlugin.<clinit>(EMFPlugin.java:65)
at org.eclipse.emf.common.CommonPlugin$Implementation.<init>(CommonPlugin.java:162)
at org.eclipse.emf.common.CommonPlugin$Implementation$Activator.createBundle(CommonPlugin.java:267)
at org.eclipse.emf.common.EMFPlugin$OSGiDelegatingBundleActivator.createBundleHelper(EMFPlugin.java:187)
at org.eclipse.emf.common.EMFPlugin$OSGiDelegatingBundleActivator.<init>(EMFPlugin.java:180)
at org.eclipse.emf.common.CommonPlugin$Implementation$Activator.<init>(CommonPlugin.java:262)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)
at org.eclipse.equinox.internal.p2.core.Activator.registerAgent(Activator.java:175)
at org.eclipse.equinox.internal.p2.core.Activator.start(Activator.java:244)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
... 107 more
Root exception:
java.util.concurrent.TimeoutException: Timeout after waiting 5 seconds to acquire the lock.
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.sources.MultiSourcePackage.loadClass(MultiSourcePackage.java:32)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:407)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.emf.common.EMFPlugin.<clinit>(EMFPlugin.java:65)
at org.eclipse.emf.common.CommonPlugin$Implementation.<init>(CommonPlugin.java:162)
at org.eclipse.emf.common.CommonPlugin$Implementation$Activator.createBundle(CommonPlugin.java:267)
at org.eclipse.emf.common.EMFPlugin$OSGiDelegatingBundleActivator.createBundleHelper(EMFPlugin.java:187)
at org.eclipse.emf.common.EMFPlugin$OSGiDelegatingBundleActivator.<init>(EMFPlugin.java:180)
at org.eclipse.emf.common.CommonPlugin$Implementation$Activator.<init>(CommonPlugin.java:262)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)
at org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)
at org.eclipse.equinox.internal.p2.core.Activator.registerAgent(Activator.java:175)
at org.eclipse.equinox.internal.p2.core.Activator.start(Activator.java:244)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:774)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.osgi 2 0 2016-06-30 09:19:52.735
!MESSAGE While loading class "org.eclipse.core.internal.runtime.Messages", thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" timed out waiting (5000ms) for thread "Thread[Component Resolve Thread,5,main]" to finish starting bundle "org.eclipse.core.runtime_3.12.0.v20160606-1342 [113]". To avoid deadlock, thread "Thread[Start Level: Equinox Container: 907603e7-923e-0016-1970-89fcf9cec02f,5,main]" is proceeding but "org.eclipse.core.internal.runtime.Messages" may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; type="osgi.bundle"; version:Version="3.12.0.v20160606-1342"; osgi.identity="org.eclipse.core.runtime"; singleton:="true" [id=113] STARTED [STARTED]
at org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)
at org.eclipse.osgi.container.Module.start(Module.java:401)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.core.runtime.Platform.<clinit>(Platform.java:434)
at org.eclipse.emf.common.EMFPlugin.<clinit>(EMFPlugin.java:65)
at org.eclipse.emf.common.CommonPlugin$Implementation.<init>(CommonPlugin.java:162)
at org.eclipse.emf.common.CommonPlugin$Implementation$Activator.createBundle(CommonPlugin.java:267)
at org.eclipse.emf.common.EMFPlugin$OSGiDelegatingBundleActivator.createBundleHelper(EMFPlugin.java:187)
at org.eclipse.emf.common.EMFPlugin$OSGiDelegatingBundleActivator.<init>(EMFPlugin.java:180)
at org.eclipse.emf.common.CommonPlugin$Implementation$Activator.<init>(CommonPlugin.java:262)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)
at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)
at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:309)
at org.eclipse.osgi.container.Module.doStart(Module.java:581)
at org.eclipse.osgi.container.Module.start(Module.java:449)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)
at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:334)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:411)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)
at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)
at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)
at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse$1.run(ServiceFactoryUse.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)
at org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)
at org.eclipse.osgi.internal.serviceregistry.ServiceConsumer$2.getService(ServiceConsumer.java:45)
at org.ec
 Topic: Show PDf in Universal intro
Re: Show PDf in Universal intro [message #1736580 is a reply to message #1736465] Thu, 30 June 2016 12:48
gonzo gonzales is currently offline gonzo gonzalesFriend
Messages: 5
Registered: May 2015
Junior Member
Thx for the Answer.
 Topic: Is it possible to open an editor in minimized state and prevent the user from maximizing the editor
Re: Is it possible to open an editor in minimized state and prevent the user from maximizing the edi [message #1736611 is a reply to message #309980] Thu, 30 June 2016 14:55
py e4 is currently offline py e4Friend
Messages: 3
Registered: June 2016
Junior Member
few years after ...
anyone with a better answer than here https://www.eclipse.org/forums/index.php/t/143213/ ?
thanks
 Topic: How to clean up leftover plugin artifact?
How to clean up leftover plugin artifact? [message #1736624] Thu, 30 June 2016 16:03
David M. Karr is currently offline David M. KarrFriend
Messages: 458
Registered: July 2009
Senior Member
At one time, I believe I tried a particular plugin called "Geppetto", for using Puppet. I decided to uninstall it, but it looks like there's still some artifact left over that is logging an error. I only see it in the log file, and it's not causing any other symptoms that I can see.

I'm seeing the following:
!ENTRY org.eclipse.jface 4 0 2016-06-28 20:24:30.889
!MESSAGE Unable to resolve plug-in "platform:/plugin/com.puppetlabs.geppetto.pp.dsl.ui/icons/obj16/file_pp.gif".
!STACK 0
java.io.IOException: Unable to resolve plug-in "platform:/plugin/com.puppetlabs.geppetto.pp.dsl.ui/icons/obj16/file_pp.gif".
	at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.parse(PlatformURLPluginConnection.java:65)
	at org.eclipse.core.internal.runtime.PlatformURLPluginConnection.resolve(PlatformURLPluginConnection.java:77)
	at org.eclipse.core.internal.boot.PlatformURLHandler.openConnection(PlatformURLHandler.java:69)
	at org.eclipse.osgi.internal.url.URLStreamHandlerProxy.openConnection(URLStreamHandlerProxy.java:114)


When I look at "Instalation Details", I don't see any artifacts from this plugin.

I tried going through the "Analyze Agent" path in the Oomph preferences (and "Delete Unused Artifacts). It's not clear to me whether that will clean this up.
Forum: TMF (Xtext)
 Topic: xbaseCompiler methods
Re: xbaseCompiler methods [message #1736508 is a reply to message #1736379] Thu, 30 June 2016 02:13
Mansour Al is currently offline Mansour AlFriend
Messages: 41
Registered: June 2016
Member
Now, here comes the confusing part. We go back again to "Expression-Vs-Statement". Reading on the Xtend pages https://www.eclipse.org/xtend/documentation/203_xtend_expressions.html :

Quote:

In Xtend everything is an expression and has a return type. Statements do not exist. That allows you to compose your code in interesting ways.
For example, you can have a try catch expression on the right hand side of an ...


So, here comes the question of what is an expression and what is a statement in Xtext ?
Assuming, that an expression has no side effect and always is a value, why XMemberCall in Xbase is considered an expression, when a member call may have side effect ?

Then we go to the DSL tutorial for a template language : https://eclipse.org/Xtext/documentation/207_template.html , and we see:

Quote:

The compiler now knows how to handle the new expressions in a statement context. In addition, we have to teach it to compile them in an expression context.
This is what the second method does: ....


Which makes me conclude, that a statement in Xtext may contain an expression, but an expression can not be a statement ... Am I wrong here ?
Assuming, this is correct (which I don't think), a XblockExpression is an "XExpression", however, it may contain multiple statements !

This is a bit confusing, especially when combined with writting the grammar. For example in Xtext, we write the grammar in a way not only to define the parsing, but we keep in the mind the processing
in the inferrer, compiler, ... etc.

So, assuming I have some parsing rule that I need to infer to:

SomeAction   Optional_InstanceOfObjectInAnotherClass    "MyValue1" "MyValue2"   ;
AnotherAction  123  987 ;


Would this be an expression or a statement ? It has no assignment.
Anyone can help me by clarifying these concepts in "Xbase", or a link to a tutorial/documentation page would be highly appreciated, as I was not able to find one that explains this topic.

Thank you a lot in advance.
Re: xbaseCompiler methods [message #1736510 is a reply to message #1736508] Thu, 30 June 2016 04:18
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
There is unfortunately no explanation nor tutorials.

You are doing advanced stuff. Xbase is usually just about inferrer and or api. Having custom expressions or statements is not a intended common usecase.
The example code you show is no valid Java.



Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xbaseCompiler methods [message #1736511 is a reply to message #1736510] Thu, 30 June 2016 04:24
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
In you case it are statements cause they are lines in a block, can not be used inside other expressions e.g. As left or right inside a binary expression or as right hand side in an assignment.



Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xbaseCompiler methods [message #1736512 is a reply to message #1736511] Thu, 30 June 2016 04:37
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
P.s. In xbase things are usually both since you can do stuff like

Var x = if (true) 1 else 2

Thus the if can occur in an expression context as well.


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
 Topic: [Xtend] Setting a class type variable
[Xtend] Setting a class type variable [message #1736523] Thu, 30 June 2016 07:58
chris yo is currently offline chris yoFriend
Messages: 83
Registered: February 2013
Member
I have an xcore file with the following classes:
class Information {
String sName
String birthday
String age
}

class Directory {
String name
String address
contains Information xInfo
}


The variables in the class Directory is set by xtext thru the grammar configuration by the user, except for xInfo. I need to set the xInfo after all the grammar has been read.

The xInfo variable is set during validation. So, I have an xtend method that sets this.
public static val aDirs = new ArrayList<Directory>
public static val aInfo = new ArrayList<Information>

def public setInfo()
{
   for (m: aDirs)
   {
       val x = aInfo.findFirst[m.name.equals(SName)]
       if (x != null)
           m.xInfo = x //print also shows that this is correctly set.
   }
}

def public printInfo()
{
  for (m: aDirs)
  {
    if (m.xInfo == null) // ERROR: m.xInfo is null again!
    {
      // do nothing
    }
  }
}



With the two methods above, I called setInfo() and then printInfo(), but in printInfo(), xInfo variable is null again.

aDirs and aInfos are stored during transform.


Am I doing this right? How can we set a class type in xtend?

[Updated on: Thu, 30 June 2016 08:04]

Report message to a moderator

Re: [Xtend] Setting a class type variable [message #1736524 is a reply to message #1736523] Thu, 30 June 2016 08:06
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
Hi,

sounds like a usecase for IDerivedStateComputer

have a look at http://xtextcasts.org/episodes/18-model-optimization


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: [Xtend] Setting a class type variable [message #1736528 is a reply to message #1736524] Thu, 30 June 2016 08:30
chris yo is currently offline chris yoFriend
Messages: 83
Registered: February 2013
Member
Hi Christian,
Thanks for the tip!
One of the solution I thought of is to make a derived feature in xcore so I will have a minimal code change.

I modified the class Directory like this:
class Directory {
String name
String address
derived Information xInfo get {
 MySingleton::instance.getInfo(name)
}
}


But I am getting an error saying that "The generic attribute type must not refer to a class".
Does this mean that its not possible to do it as a derived feature?
I am also thinking of using the containment/container reference but the xcore wiki did not state how to set it. I hope you have some idea how..?

[Updated on: Thu, 30 June 2016 08:31]

Report message to a moderator

Re: [Xtend] Setting a class type variable [message #1736534 is a reply to message #1736528] Thu, 30 June 2016 08:59
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
xcore questions are better asked in the emf forum.

derived is for attributes only maybe ?!?

my derived is a xtext derived and not a xcore derived.


another problem is:

you cannot have 2 parents.
why then this singleton thingy ?!?

what does
MySingleton::instance.getInfo(name)
do ?!?


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
 Topic: How to get an inverse boolean assignment operator?
How to get an inverse boolean assignment operator? [message #1736535] Thu, 30 June 2016 09:10
Dennis Hendriks is currently offline Dennis HendriksFriend
Messages: 65
Registered: January 2010
Location: Eindhoven, The Netherland...
Member
Consider a class 'A' with an attribute 'b' of type 'EBoolean'. In the textual syntax, there is a 'notb' keyword, that is optional. If it is specified, attribute 'b' should be 'false'. If it is not specified, it should be 'true'. How can this be specified in Xtext?

I tried using the 'boolean assignment operator', but in this case it needs to be inverted from the default behavior that if the keyword is present, the attribute becomes 'true'.

That is:

A: ... some other attributes and stuff... b?='notb'


Doesn't work, as this way attrbute 'b' gets the wrong boolean value. I couldn't find a way to invert the boolean value.

I also tried:

A: ... some other attributes and stuff... (b?=|'notb')


Here I want to recognize no input to assign 'true' using the boolean assignment operator. Alternatively, 'notb' is parsed, and the 'b' feature keeps its value of 'false'. Xtext doesn't allow this.

I tried the same with a terminal that can be either empty or the 'notb' keyword, but that was not allowed either.

Note that I can't change the syntax, as it is in production already (C code, yacc generated parser). I use an imported metamodel. I can change it to rename the 'b' attribute to 'notb'. That works for now. But I don't like the negation being part of the name.

Is there any solution to this problem?
Re: How to get an inverse boolean assignment operator? [message #1736549 is a reply to message #1736535] Thu, 30 June 2016 09:59
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
you can try something like

package org.xtext.example.mydsl8

import org.eclipse.xtext.parser.DefaultEcoreElementFactory
import org.eclipse.emf.ecore.EClassifier
import org.xtext.example.mydsl8.myDsl.Greeting
import org.eclipse.emf.ecore.EObject
import org.eclipse.xtext.nodemodel.INode
import org.eclipse.xtext.conversion.ValueConverterException
import org.xtext.example.mydsl8.myDsl.MyDslPackage

class MyDslEcoreElementFactory extends DefaultEcoreElementFactory {
	
	override create(EClassifier classifier) {
		val result = super.create(classifier)
		if (result instanceof Greeting) {
			result.flag = true
		}
		result
	}
	
	override set(EObject object, String feature, Object value, String ruleName, INode node) throws ValueConverterException {
		if (object instanceof Greeting && feature == MyDslPackage.Literals.GREETING__FLAG.name) {
			super.set(object, feature, false, ruleName, node)
		} else {
			super.set(object, feature, value, ruleName, node)
		}
		
	}
	
}


class MyDslRuntimeModule extends AbstractMyDslRuntimeModule {
	
	override bindIAstFactory() {
		MyDslEcoreElementFactory
	}
	
}


or switch to a manually maintained metamodel with default value = true and a grammar like (flag="flag")? with a valueConverter turning "flag" into false


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
 Topic: xtext A conflict occurred for ALT+CTRL+H error
xtext A conflict occurred for ALT+CTRL+H error [message #1736544] Thu, 30 June 2016 09:35
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 99
Registered: April 2016
Member
Hi,

Can anyone tell me what is the error?

!SESSION 2016-06-30 15:04:00.556 -----------------------------------------------
eclipse.buildId=4.3.2.M20140221-1700
java.version=1.7.0_60
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.platform.ide
Command-line arguments: -product org.eclipse.platform.ide -data E:\EclipseIDE\KeplerDslWorkSpace/../runtime-EclipseApplication -dev file:E:/EclipseIDE/KeplerDslWorkSpace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY org.eclipse.jface 2 0 2016-06-30 15:04:15.968
!MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
!SUBENTRY 1 org.eclipse.jface 2 0 2016-06-30 15:04:15.968
!MESSAGE A conflict occurred for ALT+CTRL+H:
Binding(ALT+CTRL+H,
ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.open.call.hierarchy,Open Call Hierarchy,
Open a call hierarchy on the selected element,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@46e1f84b,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.ui.contexts.window,,,system)
Binding(ALT+CTRL+H,
ParameterizedCommand(Command(org.eclipse.xtext.xbase.ui.hierarchy.OpenCallHierarchy,Open Call Hierarchy,
Open a call hierarchy on the selected element,
Category(org.eclipse.core.commands.categories.autogenerated,Uncategorized,Commands that were either auto-generated or have no category,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1d742848,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.xtext.ui.XtextEditorScope,,,system)
Binding(ALT+CTRL+H,
ParameterizedCommand(Command(org.eclipse.xtext.ui.editor.OpenCallHierarchy,Open Call Hierarchy,
Open call hierarchy for the selected element,
Category(org.eclipse.ui.category.navigate,Navigate,null,true),
org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@35009e13,
,,true),null),
org.eclipse.ui.defaultAcceleratorConfiguration,
org.eclipse.xtext.ui.XtextEditorScope,,,system)
Re: xtext A conflict occurred for ALT+CTRL+H error [message #1736547 is a reply to message #1736544] Thu, 30 June 2016 09:48
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
can you please file a bug for that

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xtext A conflict occurred for ALT+CTRL+H error [message #1736550 is a reply to message #1736547] Thu, 30 June 2016 10:04
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 99
Registered: April 2016
Member
Sure.

Could you please tell me is it error generated by my code or anything else?
Re: xtext A conflict occurred for ALT+CTRL+H error [message #1736552 is a reply to message #1736550] Thu, 30 June 2016 10:11
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
Sachin Samaram <forums-noreply@xxxxxxxx> wrote:
> Sure.
>
> Could you please tell me is it error generated by my code or anything else?
>

No it is nothing you caused


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xtext A conflict occurred for ALT+CTRL+H error [message #1736557 is a reply to message #1736547] Thu, 30 June 2016 10:25
Ed Willink is currently offline Ed WillinkFriend
Messages: 4801
Registered: July 2009
Senior Member
Hi Christian

This is a bit too complicated for most users to get a grip of.

I've been seeing this benign problem for a long time and have assumed
that the Xtext team would see it too and resolve it.

It is not clear to me whether:

a) Xtext is naughty in registering duplicate short cuts
b) The platform is unhelpful in now registering shortcuts that Xtext
previously registered
c) stale Xtext-generated editors register shortcuts that they should not
d) the platform has developed a bug

It would help if an Xtext expert raised the bug after first triaging the
origin.

Regards

Ed Willink

On 30/06/2016 10:48, Christian Dietrich wrote:
> can you please file a bug for that
Re: xtext A conflict occurred for ALT+CTRL+H error [message #1736558 is a reply to message #1736557] Thu, 30 June 2016 10:26
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
Well I am not an xtext expert regarding this

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
 Topic: DSL tools from Eclipse Site
DSL tools from Eclipse Site [message #1736533] Thu, 30 June 2016 08:54
Alex Gor is currently offline Alex GorFriend
Messages: 96
Registered: November 2014
Location: Russia
Member
Hello

I download latest version of DSL tools from Eclipse site. I follow to link that located at your site. I observed that i canhnot install some required extension (Oracle Database Tool) , due to fatal error. NullPointerException. Log file has been attached. Small one from 64 bits distribution. Large one from 32-bits distribution

Sometimes ago we can download eclipse+with xtext from Itemis site. Seems to that distribution was more stable then distribution from Eclipse site. Where can I find stable version of xtext platform

Thanks
Alex
  • Attachment: .log
    (Size: 7.71KB, Downloaded 2 times)
  • Attachment: .log
    (Size: 24.83KB, Downloaded 1 time)
Re: DSL tools from Eclipse Site [message #1736538 is a reply to message #1736533] Thu, 30 June 2016 09:19
Alex Gor is currently offline Alex GorFriend
Messages: 96
Registered: November 2014
Location: Russia
Member
I tried to download previous version of DSL TOOLS from eclipse site (Mars) In this distribution ORacle Database tool was installed with success
Re: DSL tools from Eclipse Site [message #1736546 is a reply to message #1736538] Thu, 30 June 2016 09:47
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
i had no problem with

- downloading a pain eclipse (e.g. 4 java devs)
- install emf and xtext
- install other stuff


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: DSL tools from Eclipse Site [message #1736564 is a reply to message #1736546] Thu, 30 June 2016 11:16
Alex Gor is currently offline Alex GorFriend
Messages: 96
Registered: November 2014
Location: Russia
Member
I tried to install xtext in my current JDT instance(MARS) and I found out that there are incompatible component. I Select EMF Core and MDT XSD check box. See screeschot in atachement.
Actually EMF Core and MDT XSD is needed for Xtext development
Re: DSL tools from Eclipse Site [message #1736565 is a reply to message #1736564] Thu, 30 June 2016 11:19
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
hmmm and what happens if you continue?

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: DSL tools from Eclipse Site [message #1736567 is a reply to message #1736564] Thu, 30 June 2016 11:30
Ed Willink is currently offline Ed WillinkFriend
Messages: 4801
Registered: July 2009
Senior Member
Hi

"EMF Core + MDT XSD" has unfortunately grown to include all the good
things that EMF offers, even though some of them are mutually incompatible.

Never try to install "EMF Core + MDT XSD", rather tunnel down. I install
"EMF - EMF Modeling Framework" and "XSD - XML Schema Definition SDK".

Regards

Ed Willink


On 30/06/2016 12:16, Alex Gor wrote:
> I tried to install xtext in my current JDT instance(MARS) and I found out that there are incompatible component. I Select EMF Core and MDT XSD check box. See screeschot in atachement.
> Actually EMF Core and MDT XSD is needed for Xtext development
Re: DSL tools from Eclipse Site [message #1736568 is a reply to message #1736565] Thu, 30 June 2016 11:35
Alex Gor is currently offline Alex GorFriend
Messages: 96
Registered: November 2014
Location: Russia
Member
I cancel operation. I don't have large time for investigation.
I have the very urgent situation, early next week I have to make handover of next version of our DSL to test team. But right now I cannot build something. Due to strange proble that discussed yesterday

Now I re-install from scratch Mars version generate new project and now I try to apply my source code to new project

[Updated on: Thu, 30 June 2016 11:37]

Report message to a moderator

 Topic: Log4J problems in xtext plugins
Re: Log4J problems in xtext plugins [message #1736584 is a reply to message #1736492] Thu, 30 June 2016 12:58
Alex Gor is currently offline Alex GorFriend
Messages: 96
Registered: November 2014
Location: Russia
Member
I resolve this problem via installing Eclipse Mars from scratch and aply my project again. Seems to me reason is incorrect update of current version of Eclipse. I could not find out which update is destroy eclipse distribition. History of installation does not contains significal update last week.
 Topic: Obtainign the classpath from a XtextResource
Obtainign the classpath from a XtextResource [message #1736573] Thu, 30 June 2016 11:51
Stephane Galland is currently offline Stephane GallandFriend
Messages: 34
Registered: July 2014
Location: Belfort, France
Member
Dear all,

I would like to obtain the classpath associated to a XtextResource in order to extract additional information from the Manifests when they are available.

Is a way to retreive the list of elements in the classpath that is used for resolving types for a specific XtextResource?

All the best.
Stéphane.


Author of the SARL agent oriented programming language http://www.sarl.io
Re: Obtainign the classpath from a XtextResource [message #1736576 is a reply to message #1736573] Thu, 30 June 2016 12:29
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
Xtext uses jdt to do this. Can you give some hints what exactly want to do

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Obtainign the classpath from a XtextResource [message #1736583 is a reply to message #1736576] Thu, 30 June 2016 12:57
Stephane Galland is currently offline Stephane GallandFriend
Messages: 34
Registered: July 2014
Location: Belfort, France
Member
Dear Christian.
Thank you for your quick reply.

I have a jar file, says "math.jar" that contains extension types for my DSL, similar to *Extensions provided by Xtext, but for mathematical primitives.
This jar file in the classpath of the currently compiled project.
The extension are currently included with an import in the code.

Now my question is related to the fact that I want to never explicit the import of the extension types. In other words, I would like to implicitly import them when the jar file is in the classpath.

I know about ImplicityImportedFeatures; and I have already one defined as:
@Singleton
public class SARLImplicitlyImportedFeatures extends ImplicitlyImportedFeatures {

	/** Construct the provider.
	 */
	public SARLImplicitlyImportedFeatures() {
		super();
	}

	@Override
	protected List<Class<?>> getExtensionClasses() {
		final List<Class<?>> xtextList = super.getExtensionClasses();
		// Insert at the beginning for ensuring the SARL extension is selected before any Xtext extension.
		xtextList.add(0, SARLMapExtensions.class);
		xtextList.add(0, SARLTimeExtensions.class);
		return xtextList;
	}

}


I would like to update it in order to obtain something similar to:
@Singleton
public class SARLImplicitlyImportedFeatures extends ImplicitlyImportedFeatures {

	/** Construct the provider.
	 */
	public SARLImplicitlyImportedFeatures() {
		super();
	}

	@Override
	protected List<Class<?>> getExtensionClasses() {
		final List<Class<?>> xtextList = super.getExtensionClasses();
		// Insert at the beginning for ensuring the SARL extension is selected before any Xtext extension.
		xtextList.add(0, SARLMapExtensions.class);
		xtextList.add(0, SARLTimeExtensions.class);
		return xtextList;
	}
	
	/** {@inheritDoc}
	 */
	@Override
	public List<JvmType> getExtensionClasses(Resource context) {
		final List<JvmType> types = super.getExtensionClasses(context);
		getExtensionClassesFromClasspath(types, context);
		return types;
	}
	
	private void getExtensionClassesFromClasspath(List<JvmType> types, Resource context) {
		// TODO
	}

}


The question is: how to retreive the classpath entries from the context?
Indeed, I would like to put some information in the jar's manifest for definition the extension that are provided by the jar file.
The TypeReferences object provided by Xtext does not provide access to the classpath.
Should I access to the classpath by directly using the JDT API?

Stéphane.


Author of the SARL agent oriented programming language http://www.sarl.io

[Updated on: Thu, 30 June 2016 12:59]

Report message to a moderator

Re: Obtainign the classpath from a XtextResource [message #1736588 is a reply to message #1736583] Thu, 30 June 2016 13:25
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
Hi,

you may start digging around org.eclipse.xtext.ui.resource.Storage2UriMapperJavaImpl
if you can look the information up inside its data


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: Obtainign the classpath from a XtextResource [message #1736590 is a reply to message #1736588] Thu, 30 June 2016 13:36
Stephane Galland is currently offline Stephane GallandFriend
Messages: 34
Registered: July 2014
Location: Belfort, France
Member
Thank you, Christian. I will explore on this direction.

Author of the SARL agent oriented programming language http://www.sarl.io
 Topic: Custom External Lexer xText 2.10
Custom External Lexer xText 2.10 [message #1736592] Thu, 30 June 2016 13:40
yanick servant is currently offline yanick servantFriend
Messages: 1
Registered: June 2016
Junior Member
Hi !

First of all : sorry for my poor English...

I have a 2.4 xtext project which I'm trying to migrate to a maven 2.10 xtext project. Everything seems to work except one thing...

I had an external custom lexer like this :
                        fragment = org.eclipse.xtext.generator.parser.antlr.ex.rt.AntlrGeneratorFragment {
				antlrParam = "-Xconversiontimeout"
				antlrParam = "30000"
			    options = {
			        backtrack = true
			        backtrackLexer = false
			    }
			}
			
			// Uses ANTLR Tools to compile a custom lexer and will also add a binding in the runtime module to use the Lexer
			fragment = parser.antlr.ex.ExternalAntlrLexerFragment {
			    // A grammar file with .g will be expected in this package (should be stored in src folder)
			    lexerGrammar = "com.group.xxx.xtext.customlexer.CustomEditorLexer"
			    runtime = true
			    antlrParam = "-lib"
			    // This is the folder where the lexer will be created
			    antlrParam = "${runtimeProject}/src-gen/com/group/xxx/xtext/customlexer"


But with the new xtext generator i don't know how to go...
I try something like this :

                  language = StandardLanguage {
			name = "com.group.xxx.xtext.Editor"
			fileExtensions = "xxx"

			serializer = {
				generateStub = false
			}
			
			parserGenerator = {
				combinedGrammar = false
			    antlrParam = "com.group.xxx.xtext/src/com/group/xxx/xtext/customlexer"
				options = {
					backtrack = true
			        backtrackLexer = false
				}
			}
}


That well divides parser and lexer in the gen-folder but the reference of my external lexer not seem to work
Can you advise me on this plz ?
 Topic: Cyclic linking detected when building in maven
Cyclic linking detected when building in maven [message #1736601] Thu, 30 June 2016 14:20
Peter Luthardt is currently offline Peter LuthardtFriend
Messages: 10
Registered: February 2014
Junior Member
Hello,

I am stuck. My DSL provides a scoping which works nice in Eclipse, but when I try to build the project with maven it fails with:
DefaultComponentFeatureDotRef.right->DefaultComponentFeatureDotRef.right
What is the difference between the maven build and the Eclipse build?
Why does it fails with maven?
Any help, hint welcome.

Thanks
Re: Cyclic linking detected when building in maven [message #1736605 is a reply to message #1736601] Thu, 30 June 2016 14:25
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
there should not be any difference. can you come up with a small reproducing example?

the error says basically you have a cycle in scoping / access scope at wrong places e.g. nameprovider


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
 Topic: Detecting the end of validation?
Re: Detecting the end of validation? [message #1736615 is a reply to message #1735062] Thu, 30 June 2016 15:03
Akos Kitta is currently offline Akos KittaFriend
Messages: 3
Registered: November 2015
Junior Member
Cannot you just check whether the build job is finished or not? As far as I know validation is run as part of the build, more precisely when building the new state of the Xtext index during the build.

org.eclipse.xtext.builder.builderState.AbstractBuilderState.updateMarkers(Delta, ResourceSet, IProgressMonitor)


So I would wait for the build job. You can find some examples here:

org.eclipse.xtext.junit4.ui.util.IResourcesSetupUtil.reallyWaitForAutoBuild()
org.eclipse.xtext.junit4.ui.util.IResourcesSetupUtil.waitForBuild(IProgressMonitor)


I hope it helps.
 Topic: Using ImportURIScopingFragment instead of ImportNamespacesScopingFragment with the new MWE2
Re: Using ImportURIScopingFragment instead of ImportNamespacesScopingFragment with the new MWE2 [message #1736616 is a reply to message #1736389] Thu, 30 June 2016 15:04
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 10
Registered: June 2016
Junior Member
Thanks a lot for your help
 Topic: xtext editor hanging for long time
xtext editor hanging for long time [message #1736560] Thu, 30 June 2016 10:38
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 99
Registered: April 2016
Member
Hi,

When I am copying 100 my dsl files in a project, xtext runtime application taking so much time to copying the dsl files in a directory. Why?

I assume that, while copying it is parsing the code inside dsl file. Is there any way to speed up the copying?
Re: xtext editor hanging for long time [message #1736562 is a reply to message #1736560] Thu, 30 June 2016 10:41
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
You should use a profiler to see what happens.
Is it better is you disable auto build before copying


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xtext editor hanging for long time [message #1736599 is a reply to message #1736562] Thu, 30 June 2016 14:14
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 99
Registered: April 2016
Member
Hi,

I Did it but no luck. When I edit my dsl file and on saving screen is hanging.
index.php/fa/26309/0/
Re: xtext editor hanging for long time [message #1736600 is a reply to message #1736599] Thu, 30 June 2016 14:19
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
this looks like your parser is running amok (e.g. ragarding all the backtracking stuff you may have ...)

Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xtext editor hanging for long time [message #1736604 is a reply to message #1736600] Thu, 30 June 2016 14:24
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 99
Registered: April 2016
Member
I set backtrack=true in Workflow. So it is causing this hanging right? Now what should I do now to get rid of it without removing backtrack=true.
Re: xtext editor hanging for long time [message #1736606 is a reply to message #1736604] Thu, 30 June 2016 14:28
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
you cannot. if xtext parsing / indexing takes too long it takes to long. you can use a profiler to find out which part of it but ...


what happens if you read the 100 files with a java main ?


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: xtext editor hanging for long time [message #1736622 is a reply to message #1736606] Thu, 30 June 2016 15:37
Sachin Samaram is currently offline Sachin SamaramFriend
Messages: 99
Registered: April 2016
Member
Yes. You are right. I am looking into the issue
 Topic: how to override and bind ImportUriResolver
how to override and bind ImportUriResolver [message #1736617] Thu, 30 June 2016 15:08
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 10
Registered: June 2016
Junior Member
I would like to implement different (in house) resolution protocols for the URIs used by the ImportUriGlobalScopeProvider.

I overrided ImportUriGlobalScopeProvider and bound it in my RuntimeModule. However, I do not see how to provide a custom ImportUriResolver to my custom ImportUriGlobalScopeProvider.

thanks in advance for your help
Re: how to override and bind ImportUriResolver [message #1736618 is a reply to message #1736617] Thu, 30 June 2016 15:15
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
adding a simple binding does not work ?


public Class<? extends ImportUriResolver> bindImportUriResolver() {
return MyImportUriResolver.class;
}


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: how to override and bind ImportUriResolver [message #1736619 is a reply to message #1736618] Thu, 30 June 2016 15:20
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 10
Registered: June 2016
Junior Member
Hi, thanks for your help,


Do you mean in the RuntimeModule? If so, there is no method bindImportUriResolver in the superclasses of "AbstractMyDslruntimeModule"

Steve
Re: how to override and bind ImportUriResolver [message #1736620 is a reply to message #1736619] Thu, 30 June 2016 15:26
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 9220
Registered: July 2009
Senior Member
there does not need to be a superclass method

you can add a

public Class<? extends IYourService> bindIYourService() {
return YourServiceImpl.class;
}

as well.

see the docs on the conventions https://www.eclipse.org/Xtext/documentation/302_configuration.html#dependency-injection


Need professional support for Xtext, Xpand, EMF?
Go to: http://xtext.itemis.com
Twitter : @chrdietrich
Blog : christiandietrich.wordpress.com
Re: how to override and bind ImportUriResolver [message #1736625 is a reply to message #1736620] Thu, 30 June 2016 16:05
Steve Hostettler is currently offline Steve HostettlerFriend
Messages: 10
Registered: June 2016
Junior Member
Thanks a lot it did the trick.
Forum: Papyrus
 Topic: How to use the Container Configuration in an ElementTypeSetConfiguration?
How to use the Container Configuration in an ElementTypeSetConfiguration? [message #1736521] Thu, 30 June 2016 07:26
Patrik Nandorf is currently offline Patrik NandorfFriend
Messages: 89
Registered: January 2013
Location: Sweden
Member
I'm trying to understand how to use the Container Configuration in an ElementTypeSetConfiguration?

The only property of a Container Configuration is EContainment Feature which I assume specified in which containment feature of the parent to store this elementType.
What I don't understand is how to restrict in which parent element types that can store the SpecializationType in the first place.

I have tree element types (A,B,C) based on UML Package, I'd like to express that only A can contain C. Can I do this with a Container Configuration (or something similar)?

Another odd thing is this. When I add one under a SpecializationType and open the dialog for its EContainment Feature property there is nothing to select. The Choices list isn't populated.

If I edit the configuration manually adding e.g. the choices are avialble the next time I add another Container Configuration.
    <containerConfiguration
        xmi:id="_tgfvMJgmEeSbPLBxcMMcNg">
      <eContainmentFeatures
          href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/>
    </containerConfiguration>




Re: How to use the Container Configuration in an ElementTypeSetConfiguration? [message #1736540 is a reply to message #1736521] Thu, 30 June 2016 09:21
florian noyrit is currently offline florian noyritFriend
Messages: 1
Registered: February 2016
Junior Member
The Container Configuration is used to specify what ECore::EReference to use when multiple containing features are possible on the same metaclass.
For instance, when one want to create a UML::Behavior to a UML::State, there are three possible containing features: UML::State::entry, UML::State::exit, UML::State::doActivity. In this case, one could use the Container Configuration to force its ElementType to use one of this three. If not specified, the ElementType Framework will look for possible containing features and use the first it founds.
Therefore, this won't address your need. What you most probably need to do is to look at the rule-based elementtypes. You'll find usage of these in org.eclipse.papyrus.infra.types.tests\model\elementtypetest.elementtypesconfigurations.
Regarding the empty dialog, it is the expected behavior. Indeed, to populate this dialog, EMF seeks for all Ecore::EReference available in the ResourceSet. Therefore, if none is found (because the UML metamodel is not loaded) the dialog is empty. By defining the EReference manually in the elementtypeconfiguration model you indirectly added the UML metamodel to be loaded in the ResourceSet. Instead, you could just use the "Load Resource..." menu item available in the context menu when you right click in the editor.
HTH
Re: How to use the Container Configuration in an ElementTypeSetConfiguration? [message #1736559 is a reply to message #1736521] Thu, 30 June 2016 10:33
Patrik Nandorf is currently offline Patrik NandorfFriend
Messages: 89
Registered: January 2013
Location: Sweden
Member
I figured out a way to do it.

Instead of using Specialization Type Configurations I use Type Configurations which can have rules set up. By having a combination of And Rule Configuration, Invariant Container Rule Configuration and Hierarchy Permission I got it to work

    <ruleConfiguration xsi:type="rulebased:AndRuleConfiguration">
      <composedRules xsi:type="invariantcontainerrule:InvariantContainerRuleConfiguration">
        <permissions containerType="<my.container.type>" permitted="true"/>
      </composedRules>
    </ruleConfiguration>
 Topic: Is it possible to develop a XMI to Java Code converter plugin?
Re: Is it possible to develop a XMI to Java Code converter plugin? [message #1736626 is a reply to message #1736244] Thu, 30 June 2016 16:10
Carsten Pitz is currently online Carsten PitzFriend
Messages: 3
Registered: May 2015
Location: Germany
Junior Member
Hi,

if the Java generator mentioned by Benoit does not fit your needs, you can build custom generators with Acceleo (http://www.eclipse.org/acceleo) or Xpand (https://projects.eclipse.org/projects/modeling.m2t.xpand).

Acceleo is an OMG MOF Model to Text Transformation
Language (http://www.omg.org/spec/MOFM2T) implementation and may generate any textual format (including Java source code) out of XMI files.

Xpand is a statically-typed template language based on EMF (http://www.eclipse.org/modeling/emf/) the XMI implementation of Eclipse.

/Carsten



Current Time: Thu Jun 30 16:11:01 GMT 2016

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

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