Menu

#56 class collision crash - jrex

closed-wont-fix
nobody
None
5
2008-08-24
2008-07-24
No

i've got a small application that i'm using for researching capabilities of different java-embedded browsers and i came upon a crash the is fairly consistent.

if i open up a window with a BrowserPanel, the application runs fine.

if i open up a window with jrex embedded, it mostly runs fine.

if i open up 2 windows, 1 jrex, 1 browserpanel, it runs ok, until i try to navigate to a url.

i've inspected the jars and found that both jrex and lobo include some org.w3c packages and jars, and some conflict, they start conflicting at org.w3c.dom.html2

where can i get an org.w3c package, so that i can remove the classes from both projects on my test environment? it might be good practice to not include these classes in that jar in the future since other projects may also need some and versions may collide.

Discussion

  • Miguel De Anda

    Miguel De Anda - 2008-07-24

    hs_error file generated by vm crash

     
  • Miguel De Anda

    Miguel De Anda - 2008-07-24

    Logged In: YES
    user_id=833568
    Originator: YES

    File Added: hs_err_pid16264.log

     
  • Lobo Project Lead

    Logged In: YES
    user_id=1837185
    Originator: NO

    Hmm, I'm guessing JRex is using a different version. The ones Cobra uses should be the Java bindings located here:

    http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/java-binding.zip

    A JVM crash is unexpected, though. I would think it's either a JVM bug, or some issue with JRex's native code.

    The classes are needed, though. They are not part of the standard libraries. At best, they could be included in a separate JAR.

     
  • Lobo Project Lead

    • status: open --> closed-wont-fix
     

Log in to post a comment.