Hi Martin-

looks like a pretty cool app.

Tried to connect it to my magnolia repo, without success though. :(

Error message from the log:

2006-01-14 01:31:57 [main] ERROR : java.lang.reflect.InvocationTargetException
        at 
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:357)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291)
        at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:830)
        at 
org.jlibrary.client.ui.repository.wizard.OpenRepositoryWizard2.performFinish(OpenRepositoryWizard2.java:156)
        at 
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:676)
        at 
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:349)
        at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
        at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
        at org.eclipse.jface.window.Window.open(Window.java:787)
        at 
org.jlibrary.client.ui.repository.actions.OpenRepositoryAction.run(OpenRepositoryAction.java:77)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
        at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
        at 
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at 
org.jlibrary.client.JLibraryApplication.run(JLibraryApplication.java:27)
        at 
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        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.core.launcher.Main.invokeFramework(Main.java:315)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:268)
        at org.eclipse.core.launcher.Main.run(Main.java:942)
        at org.eclipse.core.launcher.Main.main(Main.java:926)
Caused by: java.lang.NullPointerException
        at 
org.jlibrary.core.jcr.JCRSecurityService.login(JCRSecurityService.java:1329)
        at 
org.jlibrary.client.ui.repository.wizard.OpenRepositoryWizard2$1.run(OpenRepositoryWizard2.java:96)
        at 
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346)
        ... 38 more


Using:
jackrabbit-bdb-1.0-20050928.220303-1.jar
geronimo-spec-jta-1.0.1B-rc4.jar
je-1.7.1.jar

I also tried and replaced the Jackrabbit version with the one used to create 
the repository, which is
jackrabbit-1.0-20051017.140921.jar
Same error.

Regards,

-markus

(Martin Perez) wrote:
Alexandre.

Could you forward me the exception messages?

Also, are you using the same libraries that I used on the example? And
very important, is the Magnolia version you are using the same version
that is stored on the repository? I say this because you know that a
little change on jackrabbit libraries can make all the things go
wrong. This boys are really getting a great job done, but we can
expect backwards compatibility. So a little change on the libraries
can be very decisive for getting exceptions.

On 1/13/06, [email protected] <[email protected]> wrote:
Hi!

I've noticed your announcement on Jackrabbit list, but just now I have found 
the time to play with
it. I was very interested to browse a custom Magnolia repository I am working 
on. Unfortunately
following the steps on your link isn't enough. I keep getting some weird 
exceptions. Even the UI
isn't looking the same as per your post. Can you pls guide?


I would like to hear from you,


./alex
--
.w( the_mindstorm )p.

ps: one single difference that I had to do was to replace jLibrary provided 
jackrabbit jar with one
of the latest builds.

#:  (Martin Perez) changed the world a bit at a time by saying (astral date: 
1/13/2006 8:21 PM) :#
Well, sorry for the spam :-)

I have written a little article in response to Boris comments on
TheServerSide. Is easier to write to this list that find his email.
:-) In this article, I explain how you can browse Magnolia
repositories using a desktop tool like jLibrary. Maybe someone could
find it useful, and also maybe someone could be interested on what I
said within.

Here is the link: http://jlibrary.sourceforge.net/11/magnolia.html

Kind regards,

Martin

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to