java.lang.IllegalStateException: XMLList I worked to re-implement E4X support for the 1.6R7 release, removing the dependency on XMLBeans. When I was working on this, I had trouble managing the state for the LazilyLoadedCtor stuff; I believe I ended up having to use some sort of hack in the end. If no one has been in there recently, it's quite possible that there was some sort of precondition or set of possible

Google Groups | Merten Schumann | 7 years ago
  1. 0

    1.7R2 instead of 1.6R1, sealing an object leads to IllegalStateException: XMLList

    Google Groups | 7 years ago | Merten Schumann
    java.lang.IllegalStateException: XMLList I worked to re-implement E4X support for the 1.6R7 release, removing the dependency on XMLBeans. When I was working on this, I had trouble managing the state for the LazilyLoadedCtor stuff; I believe I ended up having to use some sort of hack in the end. If no one has been in there recently, it's quite possible that there was some sort of precondition or set of possible
  2. 0

    Eclipse Community Forums: Remote Application Platform (RAP) » Problem with RWTLifeCycle / disposed context and Jaas Example implemetation

    eclipse.org | 1 year ago
    java.lang.IllegalStateException: The context has been disposed. >>>> >>>> but only if i try to refresh a browser window after more than >>>> 30sekonds (session timeout?) >>>> i think its a wrong approach in my app but i do not know where. >>>> >>>> thanks for any suggestions >>>> phil >>>> >>>> Philipp Mohrenweiser schrieb: >>>>> Ok a little bit reading and i got it myself. i was using a >>>>> singleton i implemented myself... so it did not create another one >>>>> but used the same.. using SessionSingletonBase solved the problem. >>>>> >>>>> >>>>> public class MySingleton extends SessionSingletonBase { >>>>> public static MySingleton getInstance() { >>>>> return (MySingleton)getInstance(MySingleton.class); >>>>> } >>>>> // all the other stuff comes here >>>>> } >>>>> >>>>> I found it in the book Eclipse Rich Ajax Platform but nowhere in >>>>> the web, could someone tell me where to find such things ? i would >>>>> also like to collect and publish them in some wiki, the rap wiki >>>>> seems to be a good idea? >>>>> >>>>> thanks phil >>>>> >>>>> >>>>> >>>>> Philipp Mohrenweiser schrieb: Hello, I tried to implement a simple JAAS Callback Handler from the JAAS Tutorial with RAP. I got many things working. But i have a stange behavior if i try to open a second browser window (another session): The first time i request the URI i yust get a blank workbench, the second time the server goes into a exception loop (see end of post) I am not sure what i did wrong i think it is no bug in rwt i think its the way i am working with it. as far as i understand i should try to make sure aother session gets created for the other browser window. i thought its done but if i change the asyncexec call into an synced exec call i got other exceptions. Can you tell me where the new session is created, so i could try to do this explicitly and the display i use to show my jaashandlerdialog would perhabs use the right one. And is there any further documentation where i could find such topics? sincerely philipp a. mohrenweiser. async run: Authentication failed: org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadTerm inatedError at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLif eCycle.java:303)
  3. 0

    Eclipse Community Forums: Remote Application Platform (RAP) » Problem with RWTLifeCycle / disposed context and Jaas Example implemetation

    eclipse.org | 1 year ago
    java.lang.IllegalStateException: The context has been disposed. but only if i try to refresh a browser window after more than 30sekonds (session timeout?) i think its a wrong approach in my app but i do not know where. thanks for any suggestions phil Philipp Mohrenweiser schrieb: > Ok a little bit reading and i got it myself. i was using a singleton i > implemented myself... so it did not create another one but used the > same.. using SessionSingletonBase solved the problem. > > > public class MySingleton extends SessionSingletonBase { > public static MySingleton getInstance() { > return (MySingleton)getInstance(MySingleton.class); > } > // all the other stuff comes here > } > > I found it in the book Eclipse Rich Ajax Platform but nowhere in the > web, could someone tell me where to find such things ? i would also like > to collect and publish them in some wiki, the rap wiki seems to be a > good idea? > > thanks phil > > > > Philipp Mohrenweiser schrieb: Hello, I tried to implement a simple JAAS Callback Handler from the JAAS Tutorial with RAP. I got many things working. But i have a stange behavior if i try to open a second browser window (another session): The first time i request the URI i yust get a blank workbench, the second time the server goes into a exception loop (see end of post) I am not sure what i did wrong i think it is no bug in rwt i think its the way i am working with it. as far as i understand i should try to make sure aother session gets created for the other browser window. i thought its done but if i change the asyncexec call into an synced exec call i got other exceptions. Can you tell me where the new session is created, so i could try to do this explicitly and the display i use to show my jaashandlerdialog would perhabs use the right one. And is there any further documentation where i could find such topics? sincerely philipp a. mohrenweiser. async run: Authentication failed: org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadTerm inatedError at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLif eCycle.java:303)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Eclipse Community Forums: Remote Application Platform (RAP) » Problem with RWTLifeCycle / disposed context and Jaas Example implemetation

    eclipse.org | 1 year ago
    java.lang.IllegalStateException: The context has been disposed. >>> >>> but only if i try to refresh a browser window after more than >>> 30sekonds (session timeout?) >>> i think its a wrong approach in my app but i do not know where. >>> >>> thanks for any suggestions >>> phil >>> >>> Philipp Mohrenweiser schrieb: >>>> Ok a little bit reading and i got it myself. i was using a singleton >>>> i implemented myself... so it did not create another one but used >>>> the same.. using SessionSingletonBase solved the problem. >>>> >>>> >>>> public class MySingleton extends SessionSingletonBase { >>>> public static MySingleton getInstance() { >>>> return (MySingleton)getInstance(MySingleton.class); >>>> } >>>> // all the other stuff comes here >>>> } >>>> >>>> I found it in the book Eclipse Rich Ajax Platform but nowhere in the >>>> web, could someone tell me where to find such things ? i would also >>>> like to collect and publish them in some wiki, the rap wiki seems to >>>> be a good idea? >>>> >>>> thanks phil >>>> >>>> >>>> >>>> Philipp Mohrenweiser schrieb: Hello, I tried to implement a simple JAAS Callback Handler from the JAAS Tutorial with RAP. I got many things working. But i have a stange behavior if i try to open a second browser window (another session): The first time i request the URI i yust get a blank workbench, the second time the server goes into a exception loop (see end of post) I am not sure what i did wrong i think it is no bug in rwt i think its the way i am working with it. as far as i understand i should try to make sure aother session gets created for the other browser window. i thought its done but if i change the asyncexec call into an synced exec call i got other exceptions. Can you tell me where the new session is created, so i could try to do this explicitly and the display i use to show my jaashandlerdialog would perhabs use the right one. And is there any further documentation where i could find such topics? sincerely philipp a. mohrenweiser. async run: Authentication failed: org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadTerm inatedError at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLif eCycle.java:303)
  6. 0

    Eclipse Community Forums: Remote Application Platform (RAP) » Problem with RWTLifeCycle / disposed context and Jaas Example implemetation

    eclipse.org | 1 year ago
    java.lang.IllegalStateException: The context has been disposed. > > but only if i try to refresh a browser window after more than 30sekonds > (session timeout?) > i think its a wrong approach in my app but i do not know where. > > thanks for any suggestions > phil > > Philipp Mohrenweiser schrieb: >> Ok a little bit reading and i got it myself. i was using a singleton i >> implemented myself... so it did not create another one but used the >> same.. using SessionSingletonBase solved the problem. >> >> >> public class MySingleton extends SessionSingletonBase { >> public static MySingleton getInstance() { >> return (MySingleton)getInstance(MySingleton.class); >> } >> // all the other stuff comes here >> } >> >> I found it in the book Eclipse Rich Ajax Platform but nowhere in the >> web, could someone tell me where to find such things ? i would also >> like to collect and publish them in some wiki, the rap wiki seems to >> be a good idea? >> >> thanks phil >> >> >> >> Philipp Mohrenweiser schrieb: Hello, I tried to implement a simple JAAS Callback Handler from the JAAS Tutorial with RAP. I got many things working. But i have a stange behavior if i try to open a second browser window (another session): The first time i request the URI i yust get a blank workbench, the second time the server goes into a exception loop (see end of post) I am not sure what i did wrong i think it is no bug in rwt i think its the way i am working with it. as far as i understand i should try to make sure aother session gets created for the other browser window. i thought its done but if i change the asyncexec call into an synced exec call i got other exceptions. Can you tell me where the new session is created, so i could try to do this explicitly and the display i use to show my jaashandlerdialog would perhabs use the right one. And is there any further documentation where i could find such topics? sincerely philipp a. mohrenweiser. async run: Authentication failed: org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadTerm inatedError at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.sleep(RWTLif eCycle.java:303)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      XMLList I worked to re-implement E4X support for the 1.6R7 release, removing the dependency on XMLBeans. When I was working on this, I had trouble managing the state for the LazilyLoadedCtor stuff; I believe I ended up having to use some sort of hack in the end. If no one has been in there recently, it's quite possible that there was some sort of precondition or set of possible

      at happens.<init>()
    2. Unknown
      happens.<init>
      1. happens.<init>(2)
      1 frame