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 231047 - NullPointerException at org.netbeans.modules.j2ee.persistence.provider.ProviderUtil.getVersion
Summary: NullPointerException at org.netbeans.modules.j2ee.persistence.provider.Provid...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-10 19:40 UTC by rodrigorsantos
Modified: 2013-06-21 02:31 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201297


Attachments
stacktrace (1.04 KB, text/plain)
2013-06-10 19:40 UTC, rodrigorsantos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rodrigorsantos 2013-06-10 19:40:44 UTC
This bug was originally marked as duplicate of bug 225500, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 20130606-c60b01b53234)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
rodrigorsantos: <Please provide a description of the problem or the steps to reproduce>

rodrigorsantos: <Please provide a description of the problem or the steps to reproduce>




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.persistence.provider.ProviderUtil.getVersion(ProviderUtil.java:624)
   at org.netbeans.modules.j2ee.persistence.editor.completion.PUCompletor$PersistencePropertyValueCompletor.doCompletion(PUCompletor.java:399)
   at org.netbeans.modules.j2ee.persistence.editor.completion.PUCompletionManager.completeAttributeValues(PUCompletionManager.java:117)
   at org.netbeans.modules.j2ee.persistence.editor.completion.PUCompletionProvider$PUCompletionQuery.getCompletionItems(PUCompletionProvider.java:155)
   at org.netbeans.modules.j2ee.persistence.editor.completion.PUCompletionProvider$PUCompletionQuery.query(PUCompletionProvider.java:134)
   at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223)
Comment 1 rodrigorsantos 2013-06-10 19:40:47 UTC
Created attachment 135604 [details]
stacktrace
Comment 2 Sergey Petrov 2013-06-20 14:59:09 UTC
http://hg.netbeans.org/web-main/rev/f190c2a0c6c2
Comment 3 Quality Engineering 2013-06-21 02:31:10 UTC
Integrated into 'main-golden', will be available in build *201306202301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f190c2a0c6c2
User: Sergey B. Petrov <sj-nb@netbeans.org>
Log: #231047 fix possible null in two places