What steps will reproduce the problem?
1. Download latest JNLP
2.
3.
What is the expected output? What do you see instead?
Problem is that it can't get the User information. User.getDefaultUser()
seems to be the cause of the problem.
WARNING: got the response back from the server 51 ms.
java.lang.RuntimeException:
Unable to retrieve data for current user.
Check your connection and try again.
at
org.wholebrainproject.wbc.app.Application.getCurrentUser(Application.java:1
16)
at
org.wholebrainproject.wbc.scene.Scene.quickInstantiateAvailableTangibles(Sc
ene.java:354)
at org.wholebrainproject.wbc.scene.Scene.initialize(Scene.java:131)
at
org.wholebrainproject.wbc.app.Application.initialization(Application.java:1
40)
at
org.wholebrainproject.wbc.app.WholeBrainCatalog.main(WholeBrainCatalog.java
:325)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
9)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1528)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1466)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1277)
at com.sun.javaws.Launcher.run(Launcher.java:117)
at java.lang.Thread.run(Thread.java:637)
Caused by:
org.wholebrainproject.wbc.util.exception.WBCDataUnavailableException: No
data available for default user.
at org.wholebrainproject.wbc.data.User.getDefaultUser(User.java:64)
at
org.wholebrainproject.wbc.app.Application.getCurrentUser(Application.java:1
10)
... 13 more
Caused by:
org.wholebrainproject.wbc.util.exception.WBCDataUnavailableException:
Trouble getting object: http://data.wholebraincatalog.org/users/default
at
org.wholebrainproject.wbc.data.LocalDataRepository.getViaRestlet(LocalDataR
epository.java:272)
at
org.wholebrainproject.wbc.data.LocalDataRepository.getObjectByURI(LocalData
Repository.java:158)
at org.wholebrainproject.wbc.data.User.getDefaultUser(User.java:57)
... 14 more
Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission accessDeclaredMembers)
at
java.security.AccessControlContext.checkPermission(AccessControlContext.jav
a:323)
at
java.security.AccessController.checkPermission(AccessController.java:546)
at
java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at
java.lang.SecurityManager.checkMemberAccess(SecurityManager.java:1662)
at java.lang.Class.checkMemberAccess(Class.java:2157)
at java.lang.Class.getDeclaredConstructor(Class.java:1984)
at com.sun.xml.bind.v2.ClassFactory.create0(ClassFactory.java:94)
at com.sun.xml.bind.v2.ClassFactory.create(ClassFactory.java:132)
at
com.sun.xml.bind.v2.runtime.Coordinator.getAdapter(Coordinator.java:98)
at
com.sun.xml.bind.v2.runtime.reflect.AdaptedAccessor.getAdapter(AdaptedAcces
sor.java:105)
at
com.sun.xml.bind.v2.runtime.reflect.AdaptedAccessor.set(AdaptedAccessor.jav
a:79)
at
com.sun.xml.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedA
ccessorImpl.parse(TransducedAccessor.java:241)
at
com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(Struc
tureLoader.java:202)
at
com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader.startElement(ProxyLoad
er.java:55)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement
(UnmarshallingContext.java:449)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(
UnmarshallingContext.java:427)
at
com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConne
ctor.java:137)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRoo
tElementHook(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispat
cher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unmars
hallerImpl.java:211)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unmarsh
allerImpl.java:190)
at
com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unmarsh
allerImpl.java:238)
at
org.wholebrainproject.wbc.data.LocalDataRepository.getViaRestlet(LocalDataR
epository.java:262)
... 16 more
Please use labels and text to provide additional information.
Original issue reported on code.google.com by piperfl...@gmail.com on 19 May 2010 at 6:52
Original issue reported on code.google.com by
piperfl...@gmail.com
on 19 May 2010 at 6:52