List Info

Thread: DO NOT REPLY New: - dependset throws NullPointerException




DO NOT REPLY New: - dependset throws NullPointerException
user name
2007-01-04 00:12:57
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41284

           Summary: dependset throws NullPointerException
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: devant.apache.org
        ReportedBy: joe.thompsonlmco.com


dependset throws a NullPointerException.  The failure
appears to occur at the
point where DependSet.uptodate() sorts the list of sources,
and gets the first
element of the list. (line 233 in DependSet.java). 
This works correctly in Version 1.6.5.

Stack trace from log:
--- Nested Exception ---
java.lang.NullPointerException
	at
org.apache.tools.ant.types.resources.Sort$SortedBag$MutableI
nt.access$100(Sort.java:44)
	at
org.apache.tools.ant.types.resources.Sort$SortedBag$MyIterat
or.next(Sort.java:60)
	at
org.apache.tools.ant.types.resources.FailFast.next(FailFast.
java:115)
	at
org.apache.tools.ant.taskdefs.DependSet.uptodate(DependSet.j
ava:233)
	at
org.apache.tools.ant.taskdefs.DependSet.execute(DependSet.ja
va:202)
	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.j
ava:288)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce
ssorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
thodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch
Utils.java:105)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at
org.apache.tools.ant.Target.performTasks(Target.java:385)
	at
org.apache.tools.ant.Project.executeSortedTargets(Project.ja
va:1329)
	at
org.apache.tools.ant.Project.executeTarget(Project.java:1298
)
	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D
efaultExecutor.java:41)
	at
org.apache.tools.ant.Project.executeTargets(Project.java:118
1)
	at org.apache.tools.ant.Main.runBuild(Main.java:698)
	at org.apache.tools.ant.Main.startAnt(Main.java:199)
	at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
	at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org

DO NOT REPLY - dependset throws NullPointerException
user name
2007-01-27 16:41:37
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41284





------- Additional Comments From jkfapache.org  2007-01-27
14:41 -------
In an artificial environment where I have only tested the
SortedBag I am able to
reproduce this error, that is the same error occurs in case
the object in the
TreeMap is changed, so that its position in the map changes.
Because of this the
key retrieved using the key iterator cannot be found anymore
in the map (because
its position according to its ordering has changed.)

In this case it probably implies that the Newest File isn't
the Newest anymore...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


DO NOT REPLY - dependset throws NullPointerException
user name
2007-01-27 17:43:15
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41284


jkfapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.7.1




------- Additional Comments From jkfapache.org  2007-01-27
15:43 -------
If this was the cause it is fixed in head now, please
verify.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


DO NOT REPLY - dependset throws NullPointerException
user name
2007-01-29 16:10:21
DO NOT REPLY - dependset throws NullPointerException
user name
2007-01-30 14:09:30
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41284





------- Additional Comments From jkfapache.org  2007-01-30
12:09 -------
The nightly builds do not seem to pick up the recent
changes, (also this bug is
not fixed in the nightly build of the 29th) these builds
still contain the wrong
classes. The behaviour you observed is described in another
report.

(Bugzilla report 41411)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


DO NOT REPLY - dependset throws NullPointerException
user name
2007-01-30 14:20:09
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41284





------- Additional Comments From jkfapache.org  2007-01-30
12:20 -------
I have put a manual build (on windows, unix permission will
be wrong!) on:

http://people.apache.org/~jkf/apache-ant-20070130-bin.t
gz

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


DO NOT REPLY - dependset throws NullPointerException
user name
2007-01-30 15:29:33
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41
284>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41284





------- Additional Comments From joe.thompsonlmco.com 
2007-01-30 13:29 -------
The manual build supplied (apache-ant-20070130-bin.tgz) does
appear to fix the
problem. 

Thanks, guys!

Joe T.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribeant.apache.org
For additional commands, e-mail: dev-helpant.apache.org


[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )