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 237751 - JIRA task repository connector malfunction
Summary: JIRA task repository connector malfunction
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Jira (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-29 11:44 UTC by stwr
Modified: 2014-04-25 14:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot shows how the affected issue is shown in the IDE (39.47 KB, image/png)
2013-10-29 11:44 UTC, stwr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stwr 2013-10-29 11:44:41 UTC
Created attachment 141628 [details]
Screenshot shows how the affected issue is shown in the IDE

I configured JIRA plugin against my JIRA task repository. The plugin has recognized correctly all issues (total amount > 300) and made the offline cache of them. For one issue it didn't create the cache correctly:

From IDE log:
INFO [org.netbeans.modules.mylyn.util.MylynSupport]
org.eclipse.core.runtime.CoreException: Task data at "C:\Users\install\AppData\Roaming\NetBeans\7.4\var\tasks\mylyn\tasks\jira-https%3A%2F%2Fssp.ptc.com%2Fjira\offline\233637.zip" not found
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager$1.execute(TaskDataManager.java:124)
	at org.eclipse.mylyn.internal.tasks.core.TaskList.run(TaskList.java:673)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.getWorkingCopy(TaskDataManager.java:119)
	at org.eclipse.mylyn.internal.tasks.core.data.TaskDataManager.getWorkingCopy(TaskDataManager.java:110)
	at org.netbeans.modules.mylyn.util.MylynSupport.getTaskDataModel(MylynSupport.java:796)
	at org.netbeans.modules.mylyn.util.NbTask.getTaskDataModel(NbTask.java:200)
	at org.netbeans.modules.mylyn.util.AbstractNbTaskWrapper.editorOpened(AbstractNbTaskWrapper.java:202)
	at org.netbeans.modules.jira.issue.NbJiraIssue.access$500(NbJiraIssue.java:125)
	at org.netbeans.modules.jira.issue.NbJiraIssue$3.run(NbJiraIssue.java:414)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
INFO [org.netbeans.modules.autoupdate.services.UpdateUnitFactory]: For input string: ""
java.lang.NumberFormatException: For input string: ""
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:504)
	at java.lang.Integer.parseInt(Integer.java:527)
	at org.netbeans.modules.autoupdate.updateprovider.ModuleItem.getDownloadSize(ModuleItem.java:148)
	at org.netbeans.modules.autoupdate.services.ModuleUpdateElementImpl.<init>(ModuleUpdateElementImpl.java:99)
	at org.netbeans.modules.autoupdate.services.KitModuleUpdateElementImpl.<init>(KitModuleUpdateElementImpl.java:57)
[catch] at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:206)
	at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:143)
	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:271)
	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:231)
	at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:100)
	at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:103)
	at org.netbeans.modules.team.ide.IDEServicesImpl.getPluginUpdates(IDEServicesImpl.java:146)
	at org.netbeans.modules.bugtracking.util.AutoupdateSupport.checkNewPluginAvailable(AutoupdateSupport.java:153)
	at org.netbeans.modules.bugtracking.util.AutoupdateSupport.checkAndNotify(AutoupdateSupport.java:134)
	at org.netbeans.modules.jira.autoupdate.JiraAutoupdate.checkAndNotify(JiraAutoupdate.java:97)
	at org.netbeans.modules.jira.commands.JiraExecutor.checkAutoupdate(JiraExecutor.java:206)
	at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:116)
	at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:102)
	at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:98)
	at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:94)
	at org.netbeans.modules.jira.issue.NbJiraIssue.synchronizeTask(NbJiraIssue.java:264)
	at org.netbeans.modules.mylyn.util.AbstractNbTaskWrapper.editorOpened(AbstractNbTaskWrapper.java:204)
	at org.netbeans.modules.jira.issue.NbJiraIssue.access$500(NbJiraIssue.java:125)
	at org.netbeans.modules.jira.issue.NbJiraIssue$3.run(NbJiraIssue.java:414)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)

The affected issue is still marked as 'changed'.
When trying to open it I'm getting:

java.lang.NullPointerException
	at org.netbeans.modules.mylyn.util.AbstractNbTaskWrapper.editorOpened(AbstractNbTaskWrapper.java:209)
	at org.netbeans.modules.jira.issue.NbJiraIssue.access$500(NbJiraIssue.java:125)
	at org.netbeans.modules.jira.issue.NbJiraIssue$3.run(NbJiraIssue.java:414)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
Comment 1 Tomas Stupka 2014-03-21 12:21:41 UTC
not sure what happened, but does the problem still prevail?
Comment 2 Tomas Stupka 2014-04-25 14:31:27 UTC
any update on this?