Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 158142 - NPE thrown when importing a log from a remote host into database
Summary: NPE thrown when importing a log from a remote host into database
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Alex Nan CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on: 157905
Blocks:
  Show dependency tree
 
Reported: 2006-09-21 09:43 EDT by Jane Fang CLA
Modified: 2016-05-05 10:51 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jane Fang CLA 2006-09-21 09:43:05 EDT
1. enable large log support
2. import one apache access log from local host, one apache access log from a remote host (security disabled)
3. the local log goes into the database, but the remote log seems not (its icon shows the log is imported in XMI mode).
4. in the .log, a NPE is thrown


!ENTRY org.eclipse.tptp.monitoring.logui 4 2 2006-09-21 09:34:30.540
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.tptp.monitoring.logui".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.tptp.monitoring.logui.internal.wizards.ImportLogWizard$LogImportJobListener.done(ImportLogWizard.java:2247)
	at org.eclipse.core.internal.jobs.JobListeners$3.notify(JobListeners.java:39)
	at org.eclipse.core.internal.jobs.JobListeners.doNotify(JobListeners.java:112)
	at org.eclipse.core.internal.jobs.JobListeners.done(JobListeners.java:152)
	at org.eclipse.core.internal.jobs.JobManager.endJob(JobManager.java:540)
	at org.eclipse.core.internal.jobs.WorkerPool.endJob(WorkerPool.java:100)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:74)
Comment 1 Alex Nan CLA 2006-09-21 11:57:03 EDT
This defect is related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=157905. We already know about the problem with remote log files that are imported inot XMI instead of RDB. The agent proxy is not set on the agent that is used by the import job, this is the reason why the exception occurs. Need more investigation to see why although the wizard creates an RDB agent the CBEs end up in an XMI agen.
Comment 2 Alex Nan CLA 2006-11-03 12:37:22 EST
Moving to 4.4, cannot be contained in 4.3.
Comment 3 Alex Nan CLA 2007-01-12 19:23:13 EST
Once 157905 is fixed I believe this oen will be fixed too. 
Estimate testing the 157905 fix and verifying that it solves the problem: 8h. 
Comment 4 Eric Labadie CLA 2007-08-09 15:50:53 EDT
This is required from AC perspective.
Comment 5 Alex Nan CLA 2007-09-13 22:40:01 EDT
The fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=157905 has also resolved this problem. Cannot reproduce with TPTP-4.4.1-200708280100.
Comment 6 Paul Slauenwhite CLA 2009-06-30 13:19:43 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.