cfPassphrase from Peter Boughton and Lucee 5

Hi,
I used cfPassphrase (http://sorcerersisle.com/projects:cfpassphrase.html)
under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael

Hi,

  • For Lucee 5 the cfpassphrase.jar file needs to go into the
    {lucee-server}/context/lib directory instead.Il giorno domenica 17 luglio 2016 17:44:42 UTC+2, Michael Vornkahl ha scritto:

Hi,
I used cfPassphrase (http://sorcerersisle.com/projects:cfpassphrase.html)
under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael

Hi Ivan,
thank you for helping rtfm ( :slight_smile: : Shame on me!).
I move the cfpassphrase.jar into c:\railo\tomcat\lucee-server\context\lib
Now the error message changed to:

Lucee 5.0.1.28-SNAPSHOT Error (java.lang.ClassNotFoundException)

Message
class sorcerersisle.cfpassphrase.lucee.PassphraseHash is invalid or doesn’t
exist
Cause java.lang.ClassNotFoundException

Any further Ideas?

Greetings MichaelAm Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/projects:cfpassphrase.html)
under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thiAm Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/projects:cfpassphrase.html)
under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael

Hi,
after updating my lucee version to 5.2.0.1-SNAPSHOT I got the following
error after callin PassphraseCheck (from cfpassphrase):

lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.exp.NativeException.newInstance(NativeException.java:69)
at lucee.runtime.op.Caster.toPageException(Caster.java:3186)
at lucee.runtime.op.CastImpl.toPageException(CastImpl.java:700)
at
sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(PassphraseHash.java:51)
at
sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(PassphraseHash.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:55)
at lucee.runtime.reflection.Reflector.callStaticMethod(Reflector.java:920)
at lucee.runtime.functions.BIFProxy.invoke(BIFProxy.java:41)
at lucee.runtime.tag.TagUtil.invokeBIF(TagUtil.java:343)
at
hepatitis_c_register990.indexframe_cfm$cf.call(/hepatitis-c-register/indexframe.cfm:49)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at
lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:62)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:891)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Any ideas what could be wrong?

Thank you

MichaelAm Montag, 25. Juli 2016 10:45:18 UTC+2 schrieb Michael Vornkahl:

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thi

Am Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/projects:cfpassphrase.html)
under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael

Are you sure that this is happening in this version? that code line cannot
cause an NPE

MichaOn Sat, Nov 26, 2016 at 9:09 AM, Michael Vornkahl < @Michael_Vornkahl> wrote:

Hi,
after updating my lucee version to 5.2.0.1-SNAPSHOT I got the following
error after callin PassphraseCheck (from cfpassphrase):

lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.exp.NativeException.newInstance(NativeException.java:69)
at lucee.runtime.op.Caster.toPageException(Caster.java:3186)
at lucee.runtime.op.CastImpl.toPageException(CastImpl.java:700)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(
PassphraseHash.java:51)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(
PassphraseHash.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at lucee.runtime.reflection.pairs.MethodInstance.invoke(
MethodInstance.java:55)
at lucee.runtime.reflection.Reflector.callStaticMethod(Reflector.java:920)
at lucee.runtime.functions.BIFProxy.invoke(BIFProxy.java:41)
at lucee.runtime.tag.TagUtil.invokeBIF(TagUtil.java:343)
at hepatitis_c_register990.indexframe_cfm$cf.call(/hepatitis-c-register/
indexframe.cfm:49)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at lucee.runtime.listener.ClassicAppListener._onRequest(
ClassicAppListener.java:62)
at lucee.runtime.listener.MixedAppListener.onRequest(
MixedAppListener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(
CFMLEngineImpl.java:891)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(
CFMLEngineWrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(
StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(
StandardContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(
AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(
StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(
ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(
CoyoteAdapter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at org.apache.coyote.AbstractProcessorLight.process(
AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(
AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
doRun(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(
SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(
ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(
ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(
TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Any ideas what could be wrong?

Thank you

Michael

Am Montag, 25. Juli 2016 10:45:18 UTC+2 schrieb Michael Vornkahl:

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thi

Am Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/projects:cfpassphrase.html)
under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael


Get 10% off of the regular price for this years CFCamp in Munich, Germany
(Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€
instead of 210€. Visit https://ti.to/cfcamp/cfcamp-
2016/discount/Lucee@cfcamp


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

Micha just completed a ticket recently that changes how exceptions thrown
from underlying classes aren’t handled. It’s possible that it’s causing an
unrelated secondary error while handling your original error.

https://luceeserver.atlassian.net/browse/LDEV-454

Can you check and see if this NPE is being thrown prior to 5.1.1.16? If
not, please update that ticket with details on how Micha can reproduce the
issue.

Thanks!

~BradOn Saturday, November 26, 2016 at 2:09:43 AM UTC-6, Michael Vornkahl wrote:

Hi,
after updating my lucee version to 5.2.0.1-SNAPSHOT I got the following
error after callin PassphraseCheck (from cfpassphrase):

lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.exp.NativeException.newInstance(NativeException.java:69)
at lucee.runtime.op.Caster.toPageException(Caster.java:3186)
at lucee.runtime.op.CastImpl.toPageException(CastImpl.java:700)
at
sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(PassphraseHash.java:51)
at
sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(PassphraseHash.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodInstance.java:55)
at lucee.runtime.reflection.Reflector.callStaticMethod(Reflector.java:920)
at lucee.runtime.functions.BIFProxy.invoke(BIFProxy.java:41)
at lucee.runtime.tag.TagUtil.invokeBIF(TagUtil.java:343)
at
hepatitis_c_register990.indexframe_cfm$cf.call(/hepatitis-c-register/indexframe.cfm:49)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at
lucee.runtime.listener.ClassicAppListener._onRequest(ClassicAppListener.java:62)
at
lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:891)
at
lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:802)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1410)
at
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Any ideas what could be wrong?

Thank you

Michael

Am Montag, 25. Juli 2016 10:45:18 UTC+2 schrieb Michael Vornkahl:

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thi

Am Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/projects:cfpassphrase.html)
under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael

first observation, loading the class only fails from FLD file, works fine
with createObject(), so with this code:

1:
dump(createObject(‘java’,‘sorcerersisle.cfpassphrase.lucee.PassphraseHash’));
2: dump(PassphraseHash(“kkk”));

line 1 works, line 2 fails
MichaOn Mon, Nov 28, 2016 at 10:07 AM, Michael Offner <@Michael_Offner> wrote:

i’m digging into this deeper, first of all make sure non OSGi version is
working.

Micha

On Mon, Nov 28, 2016 at 8:43 AM, Michael Offner <@Michael_Offner> wrote:

Are you sure that this is happening in this version? that code line
cannot cause an NPE
https://github.com/lucee/Lucee/blob/5.2.0.1/core/src/main/
java/lucee/runtime/exp/NativeException.java#L69

Micha

On Sat, Nov 26, 2016 at 9:09 AM, Michael Vornkahl < @Michael_Vornkahl> wrote:

Hi,
after updating my lucee version to 5.2.0.1-SNAPSHOT I got the following
error after callin PassphraseCheck (from cfpassphrase):

lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.exp.NativeException.newInstance(NativeExceptio
n.java:69)
at lucee.runtime.op.Caster.toPageException(Caster.java:3186)
at lucee.runtime.op.CastImpl.toPageException(CastImpl.java:700)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:51)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodI
nstance.java:55)
at lucee.runtime.reflection.Reflector.callStaticMethod(Reflecto
r.java:920)
at lucee.runtime.functions.BIFProxy.invoke(BIFProxy.java:41)
at lucee.runtime.tag.TagUtil.invokeBIF(TagUtil.java:343)
at hepatitis_c_register990.indexframe_cfm$cf.call(/hepatitis-c-
register/indexframe.cfm:49)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at lucee.runtime.listener.ClassicAppListener._onRequest(Classic
AppListener.java:62)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppLi
stener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineIm
pl.java:891)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngine
Wrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
r.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
uthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at org.apache.coyote.AbstractProcessorLight.process(AbstractPro
cessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process
(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketPro
cessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
Executor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
lExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.r
un(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Any ideas what could be wrong?

Thank you

Michael

Am Montag, 25. Juli 2016 10:45:18 UTC+2 schrieb Michael Vornkahl:

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very
    much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thi

Am Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/proj
ects:cfpassphrase.html) under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael


Get 10% off of the regular price for this years CFCamp in Munich,
Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp.
189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-20
16/discount/Lucee@cfcamp


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

@Michael Vornkahl i was able to fix the intial issue that was not really an
issue for you anymore because you used an OSGi bundle, what of course is
the best solution anyway.
But i’m still not able to reproduce the NPE, code still works fine for me.

Micha2016-11-28 14:04 GMT+01:00 Michael Vornkahl <@Michael_Vornkahl>:

Hi Micha,
you know, if I can I would help you :-).
But I don’t know how to help? So please (if necessary) define some jobs
for me and describe it please as you would describe it for your dog.
Maybe, I can be help useful …

Greetings Michael

Am Montag, 28. November 2016 10:11:44 UTC+1 schrieb Micha:

first observation, loading the class only fails from FLD file, works fine
with createObject(), so with this code:

1: dump(createObject(‘java’,‘sorcerersisle.cfpassphrase.lucee.
PassphraseHash’));
2: dump(PassphraseHash(“kkk”));

line 1 works, line 2 fails
Micha

On Mon, Nov 28, 2016 at 10:07 AM, Michael Offner mic...@lucee.org wrote:

i’m digging into this deeper, first of all make sure non OSGi version is
working.

Micha

On Mon, Nov 28, 2016 at 8:43 AM, Michael Offner mic...@lucee.org wrote:

Are you sure that this is happening in this version? that code line
cannot cause an NPE
https://github.com/lucee/Lucee/blob/5.2.0.1/core/src/main/
java/lucee/runtime/exp/NativeException.java#L69

Micha

On Sat, Nov 26, 2016 at 9:09 AM, Michael Vornkahl < michael.v...@gmail.com> wrote:

Hi,
after updating my lucee version to 5.2.0.1-SNAPSHOT I got the
following error after callin PassphraseCheck (from cfpassphrase):

lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.exp.NativeException.newInstance(NativeExceptio
n.java:69)
at lucee.runtime.op.Caster.toPageException(Caster.java:3186)
at lucee.runtime.op.CastImpl.toPageException(CastImpl.java:700)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:51)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodI
nstance.java:55)
at lucee.runtime.reflection.Reflector.callStaticMethod(Reflecto
r.java:920)
at lucee.runtime.functions.BIFProxy.invoke(BIFProxy.java:41)
at lucee.runtime.tag.TagUtil.invokeBIF(TagUtil.java:343)
at hepatitis_c_register990.indexframe_cfm$cf.call(/hepatitis-c-
register/indexframe.cfm:49)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at lucee.runtime.listener.ClassicAppListener._onRequest(Classic
AppListener.java:62)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppLi
stener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.ja
va:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineIm
pl.java:891)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngine
Wrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
r.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
uthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at org.apache.coyote.AbstractProcessorLight.process(AbstractPro
cessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.
process(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketPro
cessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
Executor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
lExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.
run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Any ideas what could be wrong?

Thank you

Michael

Am Montag, 25. Juli 2016 10:45:18 UTC+2 schrieb Michael Vornkahl:

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very
    much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thi

Am Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/proj
ects:cfpassphrase.html) under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael


Get 10% off of the regular price for this years CFCamp in Munich,
Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp.
189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-20
16/discount/Lucee@cfcamp


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/6673b70d-a0ed-46ca-
b509-d6ef7625a7ef%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


Get 10% off of the regular price for this years CFCamp in Munich, Germany
(Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€
instead of 210€. Visit https://ti.to/cfcamp/cfcamp-
2016/discount/Lucee@cfcamp


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/3900a3b8-3225-4be9-936a-c4db3300ba3b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3900a3b8-3225-4be9-936a-c4db3300ba3b%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

send out to fast…
so any help to reproduce the issue is welcome.

Micha2016-11-29 9:54 GMT+01:00 Michael Offner <@Michael_Offner1>:

@Michael Vornkahl i was able to fix the intial issue that was not really
an issue for you anymore because you used an OSGi bundle, what of course is
the best solution anyway.
But i’m still not able to reproduce the NPE, code still works fine for me.

Micha

2016-11-28 14:04 GMT+01:00 Michael Vornkahl <@Michael_Vornkahl

:

Hi Micha,
you know, if I can I would help you :-).
But I don’t know how to help? So please (if necessary) define some jobs
for me and describe it please as you would describe it for your dog.
Maybe, I can be help useful …

Greetings Michael

Am Montag, 28. November 2016 10:11:44 UTC+1 schrieb Micha:

first observation, loading the class only fails from FLD file, works
fine with createObject(), so with this code:

1: dump(createObject(‘java’,‘sorcerersisle.cfpassphrase.lucee.P
assphraseHash’));
2: dump(PassphraseHash(“kkk”));

line 1 works, line 2 fails
Micha

On Mon, Nov 28, 2016 at 10:07 AM, Michael Offner mic...@lucee.org wrote:

i’m digging into this deeper, first of all make sure non OSGi version
is working.

Micha

On Mon, Nov 28, 2016 at 8:43 AM, Michael Offner mic...@lucee.org wrote:

Are you sure that this is happening in this version? that code line
cannot cause an NPE
https://github.com/lucee/Lucee/blob/5.2.0.1/core/src/main/ja
va/lucee/runtime/exp/NativeException.java#L69

Micha

On Sat, Nov 26, 2016 at 9:09 AM, Michael Vornkahl < michael.v...@gmail.com> wrote:

Hi,
after updating my lucee version to 5.2.0.1-SNAPSHOT I got the
following error after callin PassphraseCheck (from cfpassphrase):

lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.exp.NativeException.newInstance(NativeExceptio
n.java:69)
at lucee.runtime.op.Caster.toPageException(Caster.java:3186)
at lucee.runtime.op.CastImpl.toPageException(CastImpl.java:700)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:51)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodI
nstance.java:55)
at lucee.runtime.reflection.Reflector.callStaticMethod(Reflecto
r.java:920)
at lucee.runtime.functions.BIFProxy.invoke(BIFProxy.java:41)
at lucee.runtime.tag.TagUtil.invokeBIF(TagUtil.java:343)
at hepatitis_c_register990.indexframe_cfm$cf.call(/hepatitis-c-
register/indexframe.cfm:49)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at lucee.runtime.listener.ClassicAppListener._onRequest(Classic
AppListener.java:62)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppLi
stener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.ja
va:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineIm
pl.java:891)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngine
Wrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
r.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
uthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at org.apache.coyote.AbstractProcessorLight.process(AbstractPro
cessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process
(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketPro
cessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
Executor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
lExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.r
un(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Any ideas what could be wrong?

Thank you

Michael

Am Montag, 25. Juli 2016 10:45:18 UTC+2 schrieb Michael Vornkahl:

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very
    much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thi

Am Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/proj
ects:cfpassphrase.html) under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael


Get 10% off of the regular price for this years CFCamp in Munich,
Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp.
189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-20
16/discount/Lucee@cfcamp


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to lucee+un...@googlegroups.com.
To post to this group, send email to lu...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/6673b70d-a0ed-46ca-b
509-d6ef7625a7ef%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


Get 10% off of the regular price for this years CFCamp in Munich, Germany
(Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€
instead of 210€. Visit https://ti.to/cfcamp/cfcamp-20
16/discount/Lucee@cfcamp


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/3900a3b8-3225-4be9-936a-c4db3300ba3b%40googlegroups.com
https://groups.google.com/d/msgid/lucee/3900a3b8-3225-4be9-936a-c4db3300ba3b%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

I have solved the initial issue of this ticket. So Lucee works now with the
non OSGi jar (version 5.1.1.31-SNAPSHOT).
https://luceeserver.atlassian.net/browse/LDEV-1099

Micha2016-11-28 10:11 GMT+01:00 Michael Offner <@Michael_Offner>:

first observation, loading the class only fails from FLD file, works fine
with createObject(), so with this code:

1: dump(createObject(‘java’,‘sorcerersisle.cfpassphrase.
lucee.PassphraseHash’));
2: dump(PassphraseHash(“kkk”));

line 1 works, line 2 fails
Micha

On Mon, Nov 28, 2016 at 10:07 AM, Michael Offner <@Michael_Offner> wrote:

i’m digging into this deeper, first of all make sure non OSGi version is
working.

Micha

On Mon, Nov 28, 2016 at 8:43 AM, Michael Offner <@Michael_Offner> wrote:

Are you sure that this is happening in this version? that code line
cannot cause an NPE
https://github.com/lucee/Lucee/blob/5.2.0.1/core/src/main/ja
va/lucee/runtime/exp/NativeException.java#L69

Micha

On Sat, Nov 26, 2016 at 9:09 AM, Michael Vornkahl < @Michael_Vornkahl> wrote:

Hi,
after updating my lucee version to 5.2.0.1-SNAPSHOT I got the following
error after callin PassphraseCheck (from cfpassphrase):

lucee.runtime.exp.NativeException: java.lang.NullPointerException
at lucee.runtime.exp.NativeException.newInstance(NativeExceptio
n.java:69)
at lucee.runtime.op.Caster.toPageException(Caster.java:3186)
at lucee.runtime.op.CastImpl.toPageException(CastImpl.java:700)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:51)
at sorcerersisle.cfpassphrase.lucee.PassphraseHash.call(Passphr
aseHash.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at lucee.runtime.reflection.pairs.MethodInstance.invoke(MethodI
nstance.java:55)
at lucee.runtime.reflection.Reflector.callStaticMethod(Reflecto
r.java:920)
at lucee.runtime.functions.BIFProxy.invoke(BIFProxy.java:41)
at lucee.runtime.tag.TagUtil.invokeBIF(TagUtil.java:343)
at hepatitis_c_register990.indexframe_cfm$cf.call(/hepatitis-c-
register/indexframe.cfm:49)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:918)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:833)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:828)
at lucee.runtime.listener.ClassicAppListener._onRequest(Classic
AppListener.java:62)
at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppLi
stener.java:44)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2293)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2284)
at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2252)
at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineIm
pl.java:891)
at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngine
Wrapper.java:102)
at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:230)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilte
r.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:192)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:165)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:108)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(A
uthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:349)
at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:476)
at org.apache.coyote.AbstractProcessorLight.process(AbstractPro
cessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process
(AbstractProtocol.java:802)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
(NioEndpoint.java:1410)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketPro
cessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool
Executor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo
lExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.r
un(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

Any ideas what could be wrong?

Thank you

Michael

Am Montag, 25. Juli 2016 10:45:18 UTC+2 schrieb Michael Vornkahl:

Hi,
now it is working. Andrew helped me to solve it:

  1. I’m using Lucee 5.1.0.17-BETA
  2. Andrew sent me the osgi-Verson of cfpassphrase (thank you very
    much!!!)
  3. I modified the fld-file like Andrew described it here:
    https://github.com/boughtonp/cfpassphrase/issues/18

Bye

Michael

Maybe, Peter Boughton could add thi

Am Sonntag, 17. Juli 2016 17:44:42 UTC+2 schrieb Michael Vornkahl:

Hi,
I used cfPassphrase (http://sorcerersisle.com/proj
ects:cfpassphrase.html) under Lucee 4.5 and it worked very good.

Could someone give me a hint, where to put the files under Lucee 5.
The installation under 4.5 says:

  1. Put cfpassphrase.jar in {lucee-lib} directory.
  2. Put cfpassphrase.fld in {lucee-server}/context/library/fld
    directory.
  3. Put cfpassphrase.tld in {lucee-server}/context/library/tld
    directory.
  4. Restart the server.

I put the jar file into: C:\Railo\tomcat\lib
the fld in: c:\railo\tomcat\lucee-server\context\library\fld
and the tld in c:\railo\tomcat\lucee-server\context\library\fld.

After a restart I got the error:

Message sorcerersisle/cfpassphrase/lucee/PassphraseHash

Cause java.lang.NoClassDefFoundError
Lucee 5.0.1.28-SNAPSHOT
Windows Server 2012

Thanks for your help.

Michael


Get 10% off of the regular price for this years CFCamp in Munich,
Germany (Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp.
189€ instead of 210€. Visit https://ti.to/cfcamp/cfcamp-20
16/discount/Lucee@cfcamp


You received this message because you are subscribed to the Google
Groups “Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com
https://groups.google.com/d/msgid/lucee/6673b70d-a0ed-46ca-b509-d6ef7625a7ef%40googlegroups.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.


Get 10% off of the regular price for this years CFCamp in Munich, Germany
(Oct. 20th & 21st) with the Lucee discount code Lucee@cfcamp. 189€
instead of 210€. Visit https://ti.to/cfcamp/cfcamp-
2016/discount/Lucee@cfcamp

You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/
msgid/lucee/CAG%2BEEBxMpR31Wv%2Bo%2BZYvYR0fEdBhaK5ioDXCdfVb1jArD
eO%3Dqg%40mail.gmail.com
https://groups.google.com/d/msgid/lucee/CAG%2BEEBxMpR31Wv%2Bo%2BZYvYR0fEdBhaK5ioDXCdfVb1jArDeO%3Dqg%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.