7 Replies Latest reply on Sep 22, 2012 7:25 AM by olivier smadja

    Problem while trying to install hibernate-tools on MacOs

    olivier smadja Newbie

      Hello,

      I wanted to try the forge scaffolding feature using  database reverse engineering (http://www.mastertheboss.com/forge/reverse-engineer-your-db-schema-using-jboss-forge) but I get the following error while trying to install the hibernate-tools:

       

      [forgedemodb] forgedemodb $ forge install-plugin hibernate-tools

      ***INFO*** Preparing to install plugin: hibernate-tools

      ***INFO*** Checking out plugin source files to [/var/folders/1l/d_qs0qrs0tgg4m8l756wpzxc0000gp/T/forgetemp8266130633960431362/repo] via 'git'

      ***INFO*** Switching to branch/tag [refs/heads/master]

      ? The project does not appear to be a Forge Plugin Project, install anyway? [y/N] y

      ***ERROR*** Exception encountered: (type "set VERBOSE false" to disable stack traces)

      java.lang.NullPointerException

                at org.jboss.forge.shell.plugins.builtin.ForgePlugin.buildFromCurrentProject(ForgePlugin.java:616)

                at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromGit(ForgePlugin.java:398)

                at org.jboss.forge.shell.plugins.builtin.ForgePlugin.installFromIndex(ForgePlugin.java:239)

                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 org.jboss.forge.shell.command.Execution.perform(Execution.java:134)

                at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109)

                at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47)

                at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:818)

                at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:841)

                at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:631)

                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 org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48)

                at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125)

                at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java)

                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 org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305)

                at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)

                at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)

                at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299)

                at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188)

                at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59)

                at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198)

                at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282)

                at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265)

                at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234)

                at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635)

                at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622)

                at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616)

                at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172)

                at java.lang.Thread.run(Thread.java:680)

       

      I use MacOs 10.7.4, Java 1.6.35 and Forge 1.1.0.Final

       

      Anyone faced this issue ?

       

      Thanks,

      Olivier