ThinkingRock Forum

To go back to http://www.trgtd.com.au
It is currently Thu Nov 27, 2014 9:05 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
PostPosted: Sun May 11, 2008 7:19 pm 
Offline

Joined: Mon Nov 20, 2006 8:16 am
Posts: 16
While closing TR( RC 3 version), the ReviewActions.xml is not saved on the disk properly. It saves a file with 0KB. Next time, while opening TR, it gives error as below:

Quote:
java.lang.LinkageError: JAXB 2.0 API is being loaded from the bootstrap classloader, but this RI (from nbjcl:file:/D:/Tools/TR-2.0.0.rc.3/tr-2.0.0.rc.3/tr/tr/modules/ext/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) needs 2.1 API. Use the endorsed directory mechanism to place jaxb-api.jar in the bootstrap classloader. (See http://java.sun.com/j2se/1.5.0/docs/guide/standards/)
at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:173)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:286)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:368)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522)
at tr.view.actions.screens.dao.ScreensDAOJAXB.restore(ScreensDAOJAXB.java:146)
at tr.view.actions.screens.dao.ScreensDAOProvider.initialiseScreensDAO(ScreensDAOProvider.java:70)
at tr.view.actions.screens.dao.ScreensDAOProvider.provide(ScreensDAOProvider.java:57)
at tr.view.actions.RAAction.actionPerformed(RAAction.java:110)
at tr.view.WindowUtils.openInitialWindow(WindowUtils.java:90)
at tr.data.Installer$1$1.windowOpened(Installer.java:86)
at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:322)
at java.awt.AWTEventMulticaster.windowOpened(AWTEventMulticaster.java:322)
at java.awt.Window.processWindowEvent(Window.java:1813)
at javax.swing.JFrame.processWindowEvent(JFrame.java:279)
at java.awt.Window.processEvent(Window.java:1774)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


If the 0KB ReviewActions.xml file is deleted and TR is restarted, it loads properly till next time TR is closed. I am on jdk1.6( java version "1.6.0_03" Sun jdk) on Windows XP.

Is anybody else facing this problem?

thanks

Anirban


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 8:30 pm 
Offline

Joined: Wed Jul 05, 2006 11:11 am
Posts: 1517
Location: Sydney
Can you try with the latest Java version?

Probably use the Windows "check for updates" thingme or visit http://java.sun.com/javase/downloads/

_________________
Claire
ThinkingRock Analyst and Tester


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 9:40 pm 
Offline

Joined: Mon Nov 20, 2006 8:16 am
Posts: 16
Thanks Claire for the quick response. I've now updated Java to latest from Sun website. On Windows XP, when I check the version I get following:
Code:
C:\>java -version
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)

C:\>


But unfortunately this did not resolve the problem. Still ReviewActions.xml is not written to disk properly while exiting TR.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 10:27 pm 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
Hi

Are you still getting the JAXB exception message?

_________________
ThinkingRock Developer


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 10:30 pm 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
And can you make sure TR is actually using the new Java version.
You can do this in TR with View menu, IDE Log. At the top it shows the Java version used.

If not you will need to use the jdkhome setting in the config file.


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 10:48 pm 
Offline

Joined: Mon Nov 20, 2006 8:16 am
Posts: 16
THIS IS RESOLVED.

Jeremy wrote:
And can you make sure TR is actually using the new Java version.
You can do this in TR with View menu, IDE Log. At the top it shows the Java version used.

If not you will need to use the jdkhome setting in the config file.


Thanks a lot Jeremy! The IDE Error Log really came handy. I had updated Java, but TR was linking to the older JRE version. Now with latest Java version, this is working fine on Windows XP. So the problem would happen only when JRE is older than 1.6.0_05.

Thanks once again! TR RC 3 is working great on my Windows now and all my changes on Action screen (Tabs, Filters) are getting saved and reloaded as expected!!


Top
 Profile  
 
PostPosted: Mon May 12, 2008 8:01 am 
Offline

Joined: Mon Apr 14, 2008 9:06 am
Posts: 10
Location: England
I think I have the same problem. I need a walktrhough of how to fix it, its no use simply telling me its fixed.... not all of us are as computer savvy to bne able to just change a config file......


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 8:09 am 
Offline

Joined: Fri May 25, 2007 9:38 am
Posts: 23
Location: Warsaw, Poland
I had a similar problem RC3 threw exception always when I entered the "Actions" screen. Upgrading from jre1.6.0_03 to 1.6.0_06 solved the problem.

This may be a serious issue for the new TR users, because not everybody has the new JRE version and not everybody is able to upgrade it (you need admin rights etc).


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 8:26 am 
Offline

Joined: Mon Apr 14, 2008 9:06 am
Posts: 10
Location: England
Vroobelek wrote:
I had a similar problem RC3 threw exception always when I entered the "Actions" screen. Upgrading from jre1.6.0_03 to 1.6.0_06 solved the problem.

This may be a serious issue for the new TR users, because not everybody has the new JRE version and not everybody is able to upgrade it (you need admin rights etc).


Upgrading has solved the problem for me, but that was because I was able to on my work machine as I have full priveleges there (unusual). However I use my USB pen for TR as a portable app and we need this sorted so we have portability for this version.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 12, 2008 9:44 am 
Offline

Joined: Wed Jul 05, 2006 10:51 am
Posts: 898
Location: Sydney, Australia
Yes we will get this fixed for the final release.

_________________
ThinkingRock Developer


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group