I had similar issue with this. I found out the reason was I had changed the JVM  while Forge had cashed jansi-1.5.dll in the directory reported in the error. SOLUTION. I deleted that file and Forge generated a new file and all good.

Regards
-------------------
Tawi.

On Mar 28, 2011, at 3:52 AM, Gerry Tan <gerry.g.tan@gmail.com> wrote:

Hello, thanks a lot for your reply.

Yes the problem happen consistenly,

And unfortunately no, the problem also happen on version:
forge-distribution-1.0.0-20110326.060657-64.zip

The error exception stack is attached.

My env variables:

C:\gerry>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_24

C:\gerry>echo %FORGE_HOME%
C:\gerry\forge\forge-distribution-1.0.0-20110326.060657-64\forge-1.0.0-SNAPSHOT

C:\gerry>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jd
k1.6.0_24\bin;C:\gerry\maven\apache-maven-3.0.3\bin;C:\gerry\ant\apache-ant-1.8.
2\bin;C:\Program Files\QuickTime\QTSystem\;C:\gerry\forge\forge-distribution-1.0
.0-20110326.060657-64\forge-1.0.0-SNAPSHOT\bin;C:\gerry\md5


On 28 March 2011 04:12, Lincoln Baxter, III <lincolnbaxter@gmail.com> wrote:
Oh shoot. I spelled your name wrong. Sorry!

On Sun, Mar 27, 2011 at 2:11 PM, Lincoln Baxter, III
<lincolnbaxter@gmail.com> wrote:

Hi Jerry,

Sorry for the late reply. I'm not immediately sure what would cause this
kind of issue. Does it happen consistently, or is Forge sometimes able to
start up?

Could you try downloading and installing the following SNAPSHOT build of
Forge and see if the problem persists?


http://repository.jboss.org/nexus/content/groups/public/org/jboss/seam/forge/forge-distribution/1.0.0-SNAPSHOT/forge-distribution-1.0.0-20110326.060657-64.zip

Thanks~!
Lincoln

On Mon, Mar 21, 2011 at 6:43 AM, Gerry Tan <gerry.g.tan@gmail.com> wrote:

Hello,

I have the following exception message related to jansi-1.5 when
running forge, does anyone know more about this?

Forge version: 1.0.0-Alpha2
JDK version: 1.6.0_24
OS: Windows XP SP3

C:\gerry\workspace>echo %FORGE_HOME%
C:\gerry\forge\forge-1.0.0.Alpha2

C:\gerry\workspace>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_24

C:\gerry\workspace>forge
Exception in thread "main" javax.enterprise.event.ObserverException
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
       at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
       at java.lang.Class.newInstance0(Class.java:355)
       at java.lang.Class.newInstance(Class.java:308)
       at
org.jboss.weld.util.reflection.SecureReflections$16.work(SecureReflections.java:395)
       at
org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
       at
org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInstantiation(SecureReflectionAccess.java:216)
       at
org.jboss.weld.util.reflection.SecureReflections.newInstance(SecureReflections.java:390)
       at
org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:40)
       at
org.jboss.weld.injection.Exceptions.rethrowException(Exceptions.java:92)
       at
org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:214)
       at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:270)
       at
org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:253)
       at
org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:222)
       at
org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:632)
       at
org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:619)
       at
org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:613)
       at org.jboss.seam.forge.shell.Bootstrap.init(Bootstrap.java:74)
       at org.jboss.seam.forge.shell.Bootstrap.main(Bootstrap.java:63)
Caused by: java.lang.UnsatisfiedLinkError: Could not load library.
Reasons: [no jansi-1.5 in java.library.path, no jansi in
java.library.path, C:\Documents and Settings\Gerry Tan\Local
Settings\Temp\jansi-1.5.dll: This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem]
       at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
       at org.fusesource.hawtjni.runtime.Library.load(Library.java:142)
       at
org.fusesource.jansi.internal.Kernel32.<clinit>(Kernel32.java:40)
       at
org.fusesource.jansi.internal.WindowsSupport.getConsoleMode(WindowsSupport.java:48)
       at jline.WindowsTerminal.getConsoleMode(WindowsTerminal.java:259)
       at jline.WindowsTerminal.init(WindowsTerminal.java:96)
       at jline.TerminalFactory.create(TerminalFactory.java:96)
       at jline.TerminalFactory.get(TerminalFactory.java:154)
       at jline.console.ConsoleReader.<init>(ConsoleReader.java:84)
       at jline.console.ConsoleReader.<init>(ConsoleReader.java:95)
       at
org.jboss.seam.forge.shell.ShellImpl.initStreams(ShellImpl.java:484)
       at org.jboss.seam.forge.shell.ShellImpl.init(ShellImpl.java:295)
       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.seam.forge.shell.org$jboss$weld$bean-classpath-ManagedBean-class_org$jboss$seam$forge$shell$ShellImpl_$$_WeldClientProxy.init(org$jboss$weld$bean-classpath-ManagedBean-class_org$jboss$seam$forge$shell$ShellImpl_$$_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)
       ... 8 more
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users



--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"



--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"

<forge_error_forge-distribution-1.0.0-20110326.060657-64.txt>
_______________________________________________
forge-users mailing list
forge-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/forge-users