directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FC-22) Switch to junit 4.11
Date Tue, 28 Oct 2014 17:05:34 GMT

    [ https://issues.apache.org/jira/browse/FC-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14187105#comment-14187105
] 

Emmanuel Lecharny commented on FC-22:
-------------------------------------

When I move to static

Pattern safeTextPattern = Pattern.compile(safeTextPatternStr);

Get this exception at runtime. Not opposed to moving away from regx to attribute type notation.
How would that work here?

nt]
startAnt BUILD FAILED
startAnt /home/smckinn/GIT/fortressDev/openldap-fortress-core/ldap/setup/refreshLDAPData.xml:11:
java.lang.ExceptionInInitiFortressAdmin 2014-04-27 09:55:47,507 (INFO ) DEBUG MODE 1
startAnt FortressAdmin 2014-04-27 09:55:47,507 (INFO ) addSuffixes name=jts description=JoshuaTree
Software
startAnt alizerError
startAnt at org.openldap.fortress.util.attr.VUtil.safeText(VUtil.java:173)
startAnt at org.openldap.fortress.ldap.suffix.SuffixP.validate(SuffixP.java:135)
startAnt at org.openldap.fortress.ldap.suffix.SuffixP.add(SuffixP.java:70)
startAnt at org.openldap.fortress.ant.FortressAntTask.addSuffixes(FortressAntTask.java:1602)
startAnt at org.openldap.fortress.ant.FortressAntTask.execute(FortressAntTask.java:802)
startAnt at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
startAnt at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
startAnt at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
startAnt at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
startAnt at java.lang.reflect.Method.invoke(Method.java:601)
startAnt at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
startAnt at org.apache.tools.ant.Task.perform(Task.java:348)
startAnt at org.apache.tools.ant.Target.execute(Target.java:390)
startAnt at org.apache.tools.ant.Target.performTasks(Target.java:411)
startAnt at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
startAnt at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
startAnt at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
startAnt at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
startAnt at org.apache.tools.ant.Main.runBuild(Main.java:809)
startAnt at org.apache.tools.ant.Main.startAnt(Main.java:217)
startAnt at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
startAnt at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
startAnt Caused by: java.lang.NullPointerException
startAnt at java.util.regex.Pattern.<init>(Pattern.java:1336)
startAnt at java.util.regex.Pattern.compile(Pattern.java:1022)
startAnt at org.openldap.fortress.util.attr.RegExUtil.<clinit>(RegExUtil.java:37)
startAnt ... 22 more
startAnt


> Switch to junit 4.11
> --------------------
>
>                 Key: FC-22
>                 URL: https://issues.apache.org/jira/browse/FC-22
>             Project: FORTRESS-CORE
>          Issue Type: Improvement
>            Reporter: Emmanuel Lecharny
>
> fortress to use junit 4.11



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message