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 250783 - DB support was broken by commit b8419a0d6df9 (Bug #249744)
Summary: DB support was broken by commit b8419a0d6df9 (Bug #249744)
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote VCS (show other bugs)
Version: 8.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-28 12:58 UTC by matthias42
Modified: 2015-03-02 20:20 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 matthias42 2015-02-28 12:58:34 UTC
Steps to reproduce (the following is done on main-silver):

1. hg pull 
2. hg update (Brings me to fa7dfe4661de)
3. ant -f nbbuild clean build tryme
4. Switch to Services Tab
5. Expand "Databases Node"
6. Expand "Drivers"

=> The node is empty (this is the problem)

7. hg update -r b8419a0d6df9
8. Repeat steps 3-6

=> The node is still empty

9. hg update -r 8f13a2bb9ec4
8. Repeat steps 3-6

=> The node is filled with the predefined drivers (mysql, postgresql, oracle thin + oci)

The bad changeset is the direct successor of the last good one. Both changessets are the result of a bisect over a few hundred commits in core-main (the result from core-main was verified in main-silver).

Priority was set to P1 as this makes DB support unusable so
P1 - "Blocks another developer's progress, no workaround exists" applies

This was reported against cnd/Remote VCS because of the result of the bisect


If some one tests this and is confronted with this exeption: 

     [exec] WARNING [org.openide.filesystems.FileUtil]: Parameter file was not normalized. Was C:/Program Files/MySQL(class java.io.File) instead of /tmp/C:/Program Files/MySQL(class java.io.File)
     [exec] INFO [org.openide.filesystems.FileUtil]: Parameter file was not normalized. Was C:/Program Files/MySQL(class java.io.File) instead of /tmp/C:/Program Files/MySQL(class java.io.File)
     [exec] java.lang.IllegalArgumentException: Parameter file was not normalized. Was C:/Program Files/MySQL(class java.io.File) instead of /tmp/C:/Program Files/MySQL(class java.io.File)

This is a known problem, but not the cause of this. The above is a message from the mysql support module referring to the installation folder.
Comment 1 Quality Engineering 2015-03-02 03:16:35 UTC
Integrated into 'main-silver', will be available in build *201503020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/6f583885f246
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug #250783 DB support was broken by commit b8419a0d6df9 (Bug #249744)
Comment 2 matthias42 2015-03-02 20:20:41 UTC
Checked in core-main - works now as expected. Thank you for the very quick response (in fact I did a clean build already yesterday)!