Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] the problem of merge grouper xml

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] the problem of merge grouper xml


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: "??" <>
  • Cc:
  • Subject: Re: [grouper-users] the problem of merge grouper xml
  • Date: Sun, 24 Sep 2006 12:54:07 +0100

Hi aifei,

It looks like you also need serializer.jar from the xalan distribution. I just tried it with xalan 2.7 and it worked for me.

Gary

--On 23 September 2006 16:48 +0800 "??"
<>
wrote:

Hi Gary,
I get the xalan.jar in my classpath,but still fails to merg
web.xml.final I install jdk1.4 and merg web.xml ok! May be any
body tell me how to merg web.xml in jdk1.5.

regards!

aifei

----- Original Message -----
From: "GW Brown, Information Systems and Computing"
<>
To: "??"
<>
Cc:
<>
Sent: Friday, September 22, 2006 3:55 PM
Subject: Re: [grouper-users] the problem of merge grouper xml


Hi aifei,

It looks like you don't have xalan.jar on your classpath.

Gary

--On 22 September 2006 11:52 +0800 "=?gb2312?B?sKy3yQ==?="
<>
wrote:

hi:
I build the grouper-ui with yale-cas-auth contribe,but error
happens when merg the web.xml,the build env is :
eclipse3.2+jdk1.5.06.Could any body tell me how to resovle it? the
attach is build.xml and the error details following :
[java] javax.xml.transform.TransformerFactoryConfigurationError:
Provider
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
could not be instantiated: java.lang.NullPointerException [java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:180)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710) [java]
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178) [java]
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84) [java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecu
to r.java:40) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTa
rg ets(EclipseDefaultExecutor.java:32) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAn
tR unner.java:423) [java] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalA
nt Runner.java:137) [java] Caused by:
javax.xml.transform.TransformerFactoryConfigurationError: Provider
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
could not be instantiated: java.lang.NullPointerException [java] at
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.j
av a:109) [java] at
edu.internet2.middleware.grouper.ui.util.MergeWebXmls.transform(MergeWe
bX mls.java:121) [java] at
edu.internet2.middleware.grouper.ui.util.MergeWebXmls.process(MergeWebX
ml s.java:110) [java] at
edu.internet2.middleware.grouper.ui.util.MergeWebXmls.main(MergeWebXmls
.j ava:60) [java] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va :39) [java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rI mpl.java:25) [java] at
java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java] ... 54 more
[java] --- Nested Exception ---
[java] javax.xml.transform.TransformerFactoryConfigurationError:
Provider
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
could not be instantiated: java.lang.NullPointerException [java] at
javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.j
av a:109) [java] at
edu.internet2.middleware.grouper.ui.util.MergeWebXmls.transform(MergeWe
bX mls.java:121) [java] at
edu.internet2.middleware.grouper.ui.util.MergeWebXmls.process(MergeWebX
ml s.java:110) [java] at
edu.internet2.middleware.grouper.ui.util.MergeWebXmls.main(MergeWebXmls
.j ava:60) [java] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
va :39) [java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
rI mpl.java:25) [java] at
java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:202)
[java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:134)
[java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
[java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
[java] at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at
org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCh
ec kExecutor.java:37) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.execu
te Targets(EclipseSingleCheckExecutor.java:30) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
[java] at
org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
[java] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[java] at org.apache.tools.ant.Task.perform(Task.java:364)
[java] at org.apache.tools.ant.Target.execute(Target.java:341)
[java] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[java] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[java] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[java] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecu
to r.java:40) [java] at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTa
rg ets(EclipseDefaultExecutor.java:32) [java] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[java] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAn
tR unner.java:423) [java] at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalA
nt Runner.java:137) [echo] ${mergeOutput}
[echo] Result: 0

regards !

aifei




----------------------
GW Brown, Information Systems and Computing




----------------------
GW Brown, Information Systems and Computing




Archive powered by MHonArc 2.6.16.

Top of Page