This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 120540 - NPE from insync.java.ReadTaskWrapper.execute
Summary: NPE from insync.java.ReadTaskWrapper.execute
Status: RESOLVED DUPLICATE of bug 120458
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ sandipchitale
URL: http://deadlock.netbeans.org/hudson/j...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2007-10-30 18:50 UTC by Jesse Glick
Modified: 2007-10-30 18:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-10-30 18:50:51 UTC
Thrown during commit validation every build now. See URL for example.

java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
	at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:261)
	at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:242)
	at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:209)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.reflect.InvocationTargetException
	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:494)
	at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:257)
	... 3 more
Caused by: java.lang.NullPointerException
	at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:80)
	at org.netbeans.modules.visualweb.insync.java.ReadTaskWrapper.execute(ReadTaskWrapper.java:88)
	at org.netbeans.modules.visualweb.insync.java.JavaClass.getJavaClass(JavaClass.java:719)
	at org.netbeans.modules.visualweb.insync.java.JavaUnit.getJavaClass(JavaUnit.java:211)
	at org.netbeans.modules.visualweb.insync.models.FacesModel.openJavaUnits(FacesModel.java:809)
	at org.netbeans.modules.visualweb.insync.models.FacesModel.syncImpl(FacesModel.java:1051)
	at org.netbeans.modules.visualweb.insync.Model.sync(Model.java:219)
	at org.netbeans.modules.visualweb.insync.ModelSet.syncAll(ModelSet.java:646)
	at org.netbeans.modules.visualweb.insync.models.FacesModelSet.syncAll(FacesModelSet.java:1379)
	at org.netbeans.modules.visualweb.insync.models.FacesModelSet.doModeling(FacesModelSet.java:434)
	at org.netbeans.modules.visualweb.insync.models.FacesModelSet.<init>(FacesModelSet.java:405)
	... 8 more
Comment 1 Petr Blaha 2007-10-30 18:52:47 UTC

*** This issue has been marked as a duplicate of 120458 ***